PrivilegedApiControlClientCompositeOperations¶
-
class
oci.apiaccesscontrol.
PrivilegedApiControlClientCompositeOperations
(client, **kwargs)¶ This class provides a wrapper around
PrivilegedApiControlClient
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 functionalityMethods
__init__
(client, **kwargs)Creates a new PrivilegedApiControlClientCompositeOperations object change_privileged_api_control_compartment_and_wait_for_state
(…)Calls change_privileged_api_control_compartment()
and waits for theWorkRequest
to enter the given state(s).create_privileged_api_control_and_wait_for_state
(…)Calls create_privileged_api_control()
and waits for theWorkRequest
to enter the given state(s).delete_privileged_api_control_and_wait_for_state
(…)Calls delete_privileged_api_control()
and waits for theWorkRequest
to enter the given state(s).update_privileged_api_control_and_wait_for_state
(…)Calls update_privileged_api_control()
and waits for theWorkRequest
to enter the given state(s).-
__init__
(client, **kwargs)¶ Creates a new PrivilegedApiControlClientCompositeOperations object
Parameters: client (PrivilegedApiControlClient) – The service client which will be wrapped by this object
-
change_privileged_api_control_compartment_and_wait_for_state
(privileged_api_control_id, change_privileged_api_control_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_privileged_api_control_compartment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - privileged_api_control_id (str) –
(required) The OCID of the PrivilegedApiControl.
- change_privileged_api_control_compartment_details (oci.apiaccesscontrol.models.ChangePrivilegedApiControlCompartmentDetails) – (required) The information 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
change_privileged_api_control_compartment()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_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
- privileged_api_control_id (str) –
-
create_privileged_api_control_and_wait_for_state
(create_privileged_api_control_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_privileged_api_control()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_privileged_api_control_details (oci.apiaccesscontrol.models.CreatePrivilegedApiControlDetails) – (required) Details for the new PrivilegedApiControl.
- 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_privileged_api_control()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_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_privileged_api_control_and_wait_for_state
(privileged_api_control_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_privileged_api_control()
and waits for theWorkRequest
to enter the given state(s).Parameters: - privileged_api_control_id (str) –
(required) The OCID of the PrivilegedApiControl.
- 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_privileged_api_control()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_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
- privileged_api_control_id (str) –
-
update_privileged_api_control_and_wait_for_state
(privileged_api_control_id, update_privileged_api_control_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_privileged_api_control()
and waits for theWorkRequest
to enter the given state(s).Parameters: - privileged_api_control_id (str) –
(required) The OCID of the PrivilegedApiControl.
- update_privileged_api_control_details (oci.apiaccesscontrol.models.UpdatePrivilegedApiControlDetails) – (required) The information 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_privileged_api_control()
- waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()
function. For example, you could passmax_interval_seconds
ormax_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
- privileged_api_control_id (str) –
-