DelegateAccessControlClientCompositeOperations

class oci.delegate_access_control.DelegateAccessControlClientCompositeOperations(client, **kwargs)

This class provides a wrapper around DelegateAccessControlClient and offers convenience methods for operations that would otherwise need to be chained together. For example, instead of performing an action on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource to enter a given state, you can call a single method in this class to accomplish the same functionality

Methods

__init__(client, **kwargs) Creates a new DelegateAccessControlClientCompositeOperations object
approve_delegated_resource_access_request_and_wait_for_state(…) Calls approve_delegated_resource_access_request() and waits for the WorkRequest to enter the given state(s).
change_delegation_control_compartment_and_wait_for_state(…) Calls change_delegation_control_compartment() and waits for the WorkRequest to enter the given state(s).
change_delegation_subscription_compartment_and_wait_for_state(…) Calls change_delegation_subscription_compartment() and waits for the WorkRequest to enter the given state(s).
create_delegation_control_and_wait_for_state(…) Calls create_delegation_control() and waits for the WorkRequest to enter the given state(s).
create_delegation_subscription_and_wait_for_state(…) Calls create_delegation_subscription() and waits for the WorkRequest to enter the given state(s).
delete_delegation_control_and_wait_for_state(…) Calls delete_delegation_control() and waits for the WorkRequest to enter the given state(s).
delete_delegation_subscription_and_wait_for_state(…) Calls delete_delegation_subscription() and waits for the WorkRequest to enter the given state(s).
reject_delegated_resource_access_request_and_wait_for_state(…) Calls reject_delegated_resource_access_request() and waits for the WorkRequest to enter the given state(s).
revoke_delegated_resource_access_request_and_wait_for_state(…) Calls revoke_delegated_resource_access_request() and waits for the WorkRequest to enter the given state(s).
update_delegation_control_and_wait_for_state(…) Calls update_delegation_control() and waits for the WorkRequest to enter the given state(s).
update_delegation_subscription_and_wait_for_state(…) Calls update_delegation_subscription() and waits for the WorkRequest to enter the given state(s).
__init__(client, **kwargs)

Creates a new DelegateAccessControlClientCompositeOperations object

Parameters:client (DelegateAccessControlClient) – The service client which will be wrapped by this object
approve_delegated_resource_access_request_and_wait_for_state(delegated_resource_access_request_id, approve_delegated_resource_access_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls approve_delegated_resource_access_request() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegated_resource_access_request_id (str) – (required) Unique Delegated Resource Access Request identifier
  • approve_delegated_resource_access_request_details (oci.delegate_access_control.models.ApproveDelegatedResourceAccessRequestDetails) – (required) Details regarding the approval of a Delegated Resource Access Request created by the support operator.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to approve_delegated_resource_access_request()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
change_delegation_control_compartment_and_wait_for_state(delegation_control_id, change_delegation_control_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls change_delegation_control_compartment() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegation_control_id (str) – (required) unique Delegation Control identifier
  • change_delegation_control_compartment_details (oci.delegate_access_control.models.ChangeDelegationControlCompartmentDetails) – (required) Moves the Delegation Control resource into a different compartment.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to change_delegation_control_compartment()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
change_delegation_subscription_compartment_and_wait_for_state(delegation_subscription_id, change_delegation_subscription_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls change_delegation_subscription_compartment() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegation_subscription_id (str) – (required) unique Delegation Subscription identifier
  • change_delegation_subscription_compartment_details (oci.delegate_access_control.models.ChangeDelegationSubscriptionCompartmentDetails) – (required) Moves the Delegation Subscription resource into a different compartment.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to change_delegation_subscription_compartment()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
create_delegation_control_and_wait_for_state(create_delegation_control_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_delegation_control() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_delegation_control_details (oci.delegate_access_control.models.CreateDelegationControlDetails) – (required) Details for the new Delegation Control.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_delegation_control()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
create_delegation_subscription_and_wait_for_state(create_delegation_subscription_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_delegation_subscription() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_delegation_subscription_details (oci.delegate_access_control.models.CreateDelegationSubscriptionDetails) – (required) Details for creating Delegation Subscription in Delegation Control.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_delegation_subscription()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_delegation_control_and_wait_for_state(delegation_control_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_delegation_control() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegation_control_id (str) – (required) unique Delegation Control identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_delegation_control()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_delegation_subscription_and_wait_for_state(delegation_subscription_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_delegation_subscription() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegation_subscription_id (str) – (required) unique Delegation Subscription identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_delegation_subscription()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
reject_delegated_resource_access_request_and_wait_for_state(delegated_resource_access_request_id, reject_delegated_resource_access_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls reject_delegated_resource_access_request() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegated_resource_access_request_id (str) – (required) Unique Delegated Resource Access Request identifier
  • reject_delegated_resource_access_request_details (oci.delegate_access_control.models.RejectDelegatedResourceAccessRequestDetails) – (required) Details regarding the rejection of a Delegated Resource Access Request created by the support operator.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to reject_delegated_resource_access_request()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
revoke_delegated_resource_access_request_and_wait_for_state(delegated_resource_access_request_id, revoke_delegated_resource_access_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls revoke_delegated_resource_access_request() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegated_resource_access_request_id (str) – (required) Unique Delegated Resource Access Request identifier
  • revoke_delegated_resource_access_request_details (oci.delegate_access_control.models.RevokeDelegatedResourceAccessRequestDetails) – (required) Details regarding the revocation of a Delegated Resource Access Request created by the support operator.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to revoke_delegated_resource_access_request()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
update_delegation_control_and_wait_for_state(delegation_control_id, update_delegation_control_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_delegation_control() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegation_control_id (str) – (required) unique Delegation Control identifier
  • update_delegation_control_details (oci.delegate_access_control.models.UpdateDelegationControlDetails) – (required) Details for the new DelegationControl.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_delegation_control()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
update_delegation_subscription_and_wait_for_state(delegation_subscription_id, update_delegation_subscription_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_delegation_subscription() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • delegation_subscription_id (str) – (required) unique Delegation Subscription identifier
  • update_delegation_subscription_details (oci.delegate_access_control.models.UpdateDelegationSubscriptionDetails) – (required) Details for the DelegationSubscription to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_delegation_subscription()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait