IdentityClientCompositeOperations

class oci.identity.IdentityClientCompositeOperations(client, **kwargs)

This class provides a wrapper around IdentityClient 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 IdentityClientCompositeOperations object
activate_domain_and_wait_for_state(domain_id) Calls activate_domain() and waits for the WorkRequest to enter the given state(s).
add_tag_default_lock_and_wait_for_state(…) Calls add_tag_default_lock() and waits for the TagDefault acted upon to enter the given state(s).
add_tag_namespace_lock_and_wait_for_state(…) Calls add_tag_namespace_lock() and waits for the TagNamespace acted upon to enter the given state(s).
add_user_to_group_and_wait_for_state(…[, …]) Calls add_user_to_group() and waits for the UserGroupMembership acted upon to enter the given state(s).
bulk_delete_resources_and_wait_for_state(…) Calls bulk_delete_resources() and waits for the WorkRequest to enter the given state(s).
bulk_delete_tags_and_wait_for_state(…[, …]) Calls bulk_delete_tags() and waits for the WorkRequest to enter the given state(s).
bulk_edit_tags_and_wait_for_state([…]) Calls bulk_edit_tags() and waits for the WorkRequest to enter the given state(s).
bulk_move_resources_and_wait_for_state(…) Calls bulk_move_resources() and waits for the WorkRequest to enter the given state(s).
cascade_delete_tag_namespace_and_wait_for_state(…) Calls cascade_delete_tag_namespace() and waits for the WorkRequest to enter the given state(s).
change_domain_compartment_and_wait_for_state(…) Calls change_domain_compartment() and waits for the WorkRequest to enter the given state(s).
change_domain_license_type_and_wait_for_state(…) Calls change_domain_license_type() and waits for the WorkRequest to enter the given state(s).
create_compartment_and_wait_for_state(…[, …]) Calls create_compartment() and waits for the Compartment acted upon to enter the given state(s).
create_domain_and_wait_for_state(…[, …]) Calls create_domain() and waits for the WorkRequest to enter the given state(s).
create_dynamic_group_and_wait_for_state(…) Calls create_dynamic_group() and waits for the DynamicGroup acted upon to enter the given state(s).
create_group_and_wait_for_state(…[, …]) Calls create_group() and waits for the Group acted upon to enter the given state(s).
create_identity_provider_and_wait_for_state(…) Calls create_identity_provider() and waits for the IdentityProvider acted upon to enter the given state(s).
create_idp_group_mapping_and_wait_for_state(…) Calls create_idp_group_mapping() and waits for the IdpGroupMapping acted upon to enter the given state(s).
create_mfa_totp_device_and_wait_for_state(user_id) Calls create_mfa_totp_device() and waits for the MfaTotpDevice acted upon to enter the given state(s).
create_policy_and_wait_for_state(…[, …]) Calls create_policy() and waits for the Policy acted upon to enter the given state(s).
create_tag_and_wait_for_state(…[, …]) Calls create_tag() and waits for the Tag acted upon to enter the given state(s).
create_tag_default_and_wait_for_state(…[, …]) Calls create_tag_default() and waits for the TagDefault acted upon to enter the given state(s).
create_tag_namespace_and_wait_for_state(…) Calls create_tag_namespace() and waits for the TagNamespace acted upon to enter the given state(s).
create_user_and_wait_for_state(…[, …]) Calls create_user() and waits for the User acted upon to enter the given state(s).
deactivate_domain_and_wait_for_state(domain_id) Calls deactivate_domain() and waits for the WorkRequest to enter the given state(s).
delete_compartment_and_wait_for_state(…[, …]) Calls delete_compartment() and waits for the WorkRequest to enter the given state(s).
delete_domain_and_wait_for_state(domain_id) Calls delete_domain() and waits for the WorkRequest to enter the given state(s).
delete_dynamic_group_and_wait_for_state(…) Calls delete_dynamic_group() and waits for the DynamicGroup acted upon to enter the given state(s).
delete_group_and_wait_for_state(group_id[, …]) Calls delete_group() and waits for the Group acted upon to enter the given state(s).
delete_identity_provider_and_wait_for_state(…) Calls delete_identity_provider() and waits for the IdentityProvider acted upon to enter the given state(s).
delete_policy_and_wait_for_state(policy_id) Calls delete_policy() and waits for the Policy acted upon to enter the given state(s).
delete_tag_and_wait_for_state(…[, …]) Calls delete_tag() and waits for the WorkRequest to enter the given state(s).
delete_tag_default_and_wait_for_state(…[, …]) Calls delete_tag_default() and waits for the TagDefault acted upon to enter the given state(s).
delete_tag_namespace_and_wait_for_state(…) Calls delete_tag_namespace() and waits for the TagNamespace acted upon to enter the given state(s).
delete_user_and_wait_for_state(user_id[, …]) Calls delete_user() and waits for the User acted upon to enter the given state(s).
enable_replication_to_region_and_wait_for_state(…) Calls enable_replication_to_region() and waits for the WorkRequest to enter the given state(s).
generate_totp_seed_and_wait_for_state(…[, …]) Calls generate_totp_seed() and waits for the MfaTotpDevice acted upon to enter the given state(s).
import_standard_tags_and_wait_for_state([…]) Calls import_standard_tags() and waits for the WorkRequest to enter the given state(s).
move_compartment_and_wait_for_state(…[, …]) Calls move_compartment() and waits for the WorkRequest to enter the given state(s).
recover_compartment_and_wait_for_state(…) Calls recover_compartment() and waits for the Compartment acted upon to enter the given state(s).
remove_tag_default_lock_and_wait_for_state(…) Calls remove_tag_default_lock() and waits for the TagDefault acted upon to enter the given state(s).
remove_tag_namespace_lock_and_wait_for_state(…) Calls remove_tag_namespace_lock() and waits for the TagNamespace acted upon to enter the given state(s).
update_compartment_and_wait_for_state(…[, …]) Calls update_compartment() and waits for the Compartment acted upon to enter the given state(s).
update_domain_and_wait_for_state(domain_id, …) Calls update_domain() and waits for the WorkRequest to enter the given state(s).
update_dynamic_group_and_wait_for_state(…) Calls update_dynamic_group() and waits for the DynamicGroup acted upon to enter the given state(s).
update_group_and_wait_for_state(group_id, …) Calls update_group() and waits for the Group acted upon to enter the given state(s).
update_identity_provider_and_wait_for_state(…) Calls update_identity_provider() and waits for the IdentityProvider acted upon to enter the given state(s).
update_idp_group_mapping_and_wait_for_state(…) Calls update_idp_group_mapping() and waits for the IdpGroupMapping acted upon to enter the given state(s).
update_policy_and_wait_for_state(policy_id, …) Calls update_policy() and waits for the Policy acted upon to enter the given state(s).
update_tag_and_wait_for_state(…[, …]) Calls update_tag() and waits for the Tag acted upon to enter the given state(s).
update_tag_default_and_wait_for_state(…[, …]) Calls update_tag_default() and waits for the TagDefault acted upon to enter the given state(s).
update_tag_namespace_and_wait_for_state(…) Calls update_tag_namespace() and waits for the TagNamespace acted upon to enter the given state(s).
update_user_and_wait_for_state(user_id, …) Calls update_user() and waits for the User acted upon to enter the given state(s).
update_user_capabilities_and_wait_for_state(…) Calls update_user_capabilities() and waits for the User acted upon to enter the given state(s).
update_user_state_and_wait_for_state(…[, …]) Calls update_user_state() and waits for the User acted upon to enter the given state(s).
__init__(client, **kwargs)

Creates a new IdentityClientCompositeOperations object

Parameters:client (IdentityClient) – The service client which will be wrapped by this object
activate_domain_and_wait_for_state(domain_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • domain_id (str) – (required) The OCID of the identity domain.
  • 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 activate_domain()
  • 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
add_tag_default_lock_and_wait_for_state(tag_default_id, add_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls add_tag_default_lock() and waits for the TagDefault acted upon to enter the given state(s).

Parameters:
  • tag_default_id (str) – (required) The OCID of the tag default.
  • add_lock_details (oci.identity.models.AddLockDetails) – (required) Lock that is going to be added to resource
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to add_tag_default_lock()
  • 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
add_tag_namespace_lock_and_wait_for_state(tag_namespace_id, add_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls add_tag_namespace_lock() and waits for the TagNamespace acted upon to enter the given state(s).

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • add_lock_details (oci.identity.models.AddLockDetails) – (required) Lock that is going to be added to resource
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to add_tag_namespace_lock()
  • 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
add_user_to_group_and_wait_for_state(add_user_to_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls add_user_to_group() and waits for the UserGroupMembership acted upon to enter the given state(s).

Parameters:
  • add_user_to_group_details (oci.identity.models.AddUserToGroupDetails) – (required) Request object for adding a user to a group.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to add_user_to_group()
  • 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
bulk_delete_resources_and_wait_for_state(compartment_id, bulk_delete_resources_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • compartment_id (str) – (required) The OCID of the compartment.
  • bulk_delete_resources_details (oci.identity.models.BulkDeleteResourcesDetails) – (required) Request object for bulk delete resources in a 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 bulk_delete_resources()
  • 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
bulk_delete_tags_and_wait_for_state(bulk_delete_tags_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • bulk_delete_tags_details (oci.identity.models.BulkDeleteTagsDetails) – (required) Request object for deleting tags in bulk.
  • 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 bulk_delete_tags()
  • 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
bulk_edit_tags_and_wait_for_state(wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • 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 bulk_edit_tags()
  • 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
bulk_move_resources_and_wait_for_state(compartment_id, bulk_move_resources_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • compartment_id (str) – (required) The OCID of the compartment.
  • bulk_move_resources_details (oci.identity.models.BulkMoveResourcesDetails) – (required) Request object for bulk move resources in the 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 bulk_move_resources()
  • 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
cascade_delete_tag_namespace_and_wait_for_state(tag_namespace_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • 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 cascade_delete_tag_namespace()
  • 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_domain_compartment_and_wait_for_state(domain_id, change_domain_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • domain_id (str) – (required) The OCID of the identity domain.
  • change_domain_compartment_details (oci.identity.models.ChangeDomainCompartmentDetails) – (required) The request object for moving the identity domain to 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_domain_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_domain_license_type_and_wait_for_state(domain_id, change_domain_license_type_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • domain_id (str) – (required) The OCID of the identity domain.
  • change_domain_license_type_details (oci.identity.models.ChangeDomainLicenseTypeDetails) – (required) The request object for an update to the license type of the identity domain.
  • 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_domain_license_type()
  • 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_compartment_and_wait_for_state(create_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_compartment() and waits for the Compartment acted upon to enter the given state(s).

Parameters:
  • create_compartment_details (oci.identity.models.CreateCompartmentDetails) – (required) Request object for creating a new compartment.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_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_domain_and_wait_for_state(create_domain_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_domain_details (oci.identity.models.CreateDomainDetails) – (required) The request object for creating a new identity domain.
  • 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_domain()
  • 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_dynamic_group_and_wait_for_state(create_dynamic_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_dynamic_group() and waits for the DynamicGroup acted upon to enter the given state(s).

Parameters:
  • create_dynamic_group_details (oci.identity.models.CreateDynamicGroupDetails) – (required) Request object for creating a new dynamic group.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_dynamic_group()
  • 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_group_and_wait_for_state(create_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_group() and waits for the Group acted upon to enter the given state(s).

Parameters:
  • create_group_details (oci.identity.models.CreateGroupDetails) – (required) Request object for creating a new group.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_group()
  • 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_identity_provider_and_wait_for_state(create_identity_provider_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_identity_provider() and waits for the IdentityProvider acted upon to enter the given state(s).

Parameters:
  • create_identity_provider_details (oci.identity.models.CreateIdentityProviderDetails) – (required) Request object for creating a new SAML2 identity provider.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_identity_provider()
  • 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_idp_group_mapping_and_wait_for_state(create_idp_group_mapping_details, identity_provider_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_idp_group_mapping() and waits for the IdpGroupMapping acted upon to enter the given state(s).

Parameters:
  • create_idp_group_mapping_details (oci.identity.models.CreateIdpGroupMappingDetails) – (required) Add a mapping from an SAML2.0 identity provider group to a BMC group.
  • identity_provider_id (str) – (required) The OCID of the identity provider.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_idp_group_mapping()
  • 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_mfa_totp_device_and_wait_for_state(user_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_mfa_totp_device() and waits for the MfaTotpDevice acted upon to enter the given state(s).

Parameters:
  • user_id (str) – (required) The OCID of the user.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_mfa_totp_device()
  • 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_policy_and_wait_for_state(create_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_policy() and waits for the Policy acted upon to enter the given state(s).

Parameters:
  • create_policy_details (oci.identity.models.CreatePolicyDetails) – (required) Request object for creating a new policy.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_policy()
  • 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_tag_and_wait_for_state(tag_namespace_id, create_tag_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_tag() and waits for the Tag acted upon to enter the given state(s).

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • create_tag_details (oci.identity.models.CreateTagDetails) – (required) Request object for creating a new tag in the specified tag namespace.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_tag()
  • 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_tag_default_and_wait_for_state(create_tag_default_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_tag_default() and waits for the TagDefault acted upon to enter the given state(s).

Parameters:
  • create_tag_default_details (oci.identity.models.CreateTagDefaultDetails) – (required) Request object for creating a new tag default.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_tag_default()
  • 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_tag_namespace_and_wait_for_state(create_tag_namespace_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_tag_namespace() and waits for the TagNamespace acted upon to enter the given state(s).

Parameters:
  • create_tag_namespace_details (oci.identity.models.CreateTagNamespaceDetails) – (required) Request object for creating a new tag namespace.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_tag_namespace()
  • 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_user_and_wait_for_state(create_user_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_user() and waits for the User acted upon to enter the given state(s).

Parameters:
  • create_user_details (oci.identity.models.CreateUserDetails) – (required) Request object for creating a new user.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_user()
  • 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
deactivate_domain_and_wait_for_state(domain_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • domain_id (str) – (required) The OCID of the identity domain.
  • 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 deactivate_domain()
  • 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_compartment_and_wait_for_state(compartment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • compartment_id (str) – (required) The OCID of the 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 delete_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
delete_domain_and_wait_for_state(domain_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • domain_id (str) – (required) The OCID of the identity domain.
  • 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_domain()
  • 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_dynamic_group_and_wait_for_state(dynamic_group_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_dynamic_group() and waits for the DynamicGroup acted upon to enter the given state(s).

Parameters:
  • dynamic_group_id (str) – (required) The OCID of the dynamic group.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_dynamic_group()
  • 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_group_and_wait_for_state(group_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_group() and waits for the Group acted upon to enter the given state(s).

Parameters:
  • group_id (str) – (required) The OCID of the group.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_group()
  • 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_identity_provider_and_wait_for_state(identity_provider_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_identity_provider() and waits for the IdentityProvider acted upon to enter the given state(s).

Parameters:
  • identity_provider_id (str) – (required) The OCID of the identity provider.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_identity_provider()
  • 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_policy_and_wait_for_state(policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_policy() and waits for the Policy acted upon to enter the given state(s).

Parameters:
  • policy_id (str) – (required) The OCID of the policy.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_policy()
  • 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_tag_and_wait_for_state(tag_namespace_id, tag_name, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • tag_name (str) – (required) The name of the tag.
  • 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_tag()
  • 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_tag_default_and_wait_for_state(tag_default_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_tag_default() and waits for the TagDefault acted upon to enter the given state(s).

Parameters:
  • tag_default_id (str) – (required) The OCID of the tag default.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_tag_default()
  • 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_tag_namespace_and_wait_for_state(tag_namespace_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_tag_namespace() and waits for the TagNamespace acted upon to enter the given state(s).

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_tag_namespace()
  • 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_user_and_wait_for_state(user_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_user() and waits for the User acted upon to enter the given state(s).

Parameters:
  • user_id (str) – (required) The OCID of the user.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_user()
  • 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
enable_replication_to_region_and_wait_for_state(domain_id, enable_replication_to_region_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • domain_id (str) – (required) The OCID of the identity domain.
  • enable_replication_to_region_details (oci.identity.models.EnableReplicationToRegionDetails) – (required) The request object for replicating the identity domain to another region.
  • 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 enable_replication_to_region()
  • 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
generate_totp_seed_and_wait_for_state(user_id, mfa_totp_device_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls generate_totp_seed() and waits for the MfaTotpDevice acted upon to enter the given state(s).

Parameters:
  • user_id (str) – (required) The OCID of the user.
  • mfa_totp_device_id (str) – (required) The OCID of the MFA TOTP device.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to generate_totp_seed()
  • 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
import_standard_tags_and_wait_for_state(wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • 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 import_standard_tags()
  • 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
move_compartment_and_wait_for_state(compartment_id, move_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • compartment_id (str) – (required) The OCID of the compartment.
  • move_compartment_details (oci.identity.models.MoveCompartmentDetails) – (required) Request object for moving a 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 move_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
recover_compartment_and_wait_for_state(compartment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls recover_compartment() and waits for the Compartment acted upon to enter the given state(s).

Parameters:
  • compartment_id (str) – (required) The OCID of the compartment.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to recover_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
remove_tag_default_lock_and_wait_for_state(tag_default_id, remove_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls remove_tag_default_lock() and waits for the TagDefault acted upon to enter the given state(s).

Parameters:
  • tag_default_id (str) – (required) The OCID of the tag default.
  • remove_lock_details (oci.identity.models.RemoveLockDetails) – (required) Lock that is going to be removed from resource
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to remove_tag_default_lock()
  • 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
remove_tag_namespace_lock_and_wait_for_state(tag_namespace_id, remove_lock_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls remove_tag_namespace_lock() and waits for the TagNamespace acted upon to enter the given state(s).

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • remove_lock_details (oci.identity.models.RemoveLockDetails) – (required) Lock that is going to be removed from resource
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to remove_tag_namespace_lock()
  • 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_compartment_and_wait_for_state(compartment_id, update_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_compartment() and waits for the Compartment acted upon to enter the given state(s).

Parameters:
  • compartment_id (str) – (required) The OCID of the compartment.
  • update_compartment_details (oci.identity.models.UpdateCompartmentDetails) – (required) Request object for updating a compartment.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_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
update_domain_and_wait_for_state(domain_id, update_domain_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • domain_id (str) – (required) The OCID of the identity domain.
  • update_domain_details (oci.identity.models.UpdateDomainDetails) – (required) Request object for updating the identity domain.
  • 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_domain()
  • 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_dynamic_group_and_wait_for_state(dynamic_group_id, update_dynamic_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_dynamic_group() and waits for the DynamicGroup acted upon to enter the given state(s).

Parameters:
  • dynamic_group_id (str) – (required) The OCID of the dynamic group.
  • update_dynamic_group_details (oci.identity.models.UpdateDynamicGroupDetails) – (required) Request object for updating an dynamic group.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_dynamic_group()
  • 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_group_and_wait_for_state(group_id, update_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_group() and waits for the Group acted upon to enter the given state(s).

Parameters:
  • group_id (str) – (required) The OCID of the group.
  • update_group_details (oci.identity.models.UpdateGroupDetails) – (required) Request object for updating a group.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_group()
  • 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_identity_provider_and_wait_for_state(identity_provider_id, update_identity_provider_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_identity_provider() and waits for the IdentityProvider acted upon to enter the given state(s).

Parameters:
  • identity_provider_id (str) – (required) The OCID of the identity provider.
  • update_identity_provider_details (oci.identity.models.UpdateIdentityProviderDetails) – (required) Request object for updating a identity provider.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_identity_provider()
  • 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_idp_group_mapping_and_wait_for_state(identity_provider_id, mapping_id, update_idp_group_mapping_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_idp_group_mapping() and waits for the IdpGroupMapping acted upon to enter the given state(s).

Parameters:
  • identity_provider_id (str) – (required) The OCID of the identity provider.
  • mapping_id (str) – (required) The OCID of the group mapping.
  • update_idp_group_mapping_details (oci.identity.models.UpdateIdpGroupMappingDetails) – (required) Request object for updating an identity provider group mapping
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_idp_group_mapping()
  • 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_policy_and_wait_for_state(policy_id, update_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_policy() and waits for the Policy acted upon to enter the given state(s).

Parameters:
  • policy_id (str) – (required) The OCID of the policy.
  • update_policy_details (oci.identity.models.UpdatePolicyDetails) – (required) Request object for updating a policy.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_policy()
  • 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_tag_and_wait_for_state(tag_namespace_id, tag_name, update_tag_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_tag() and waits for the Tag acted upon to enter the given state(s).

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • tag_name (str) – (required) The name of the tag.
  • update_tag_details (oci.identity.models.UpdateTagDetails) – (required) Request object for updating a tag.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_tag()
  • 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_tag_default_and_wait_for_state(tag_default_id, update_tag_default_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_tag_default() and waits for the TagDefault acted upon to enter the given state(s).

Parameters:
  • tag_default_id (str) – (required) The OCID of the tag default.
  • update_tag_default_details (oci.identity.models.UpdateTagDefaultDetails) – (required) Request object for updating a tag default.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_tag_default()
  • 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_tag_namespace_and_wait_for_state(tag_namespace_id, update_tag_namespace_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_tag_namespace() and waits for the TagNamespace acted upon to enter the given state(s).

Parameters:
  • tag_namespace_id (str) – (required) The OCID of the tag namespace.
  • update_tag_namespace_details (oci.identity.models.UpdateTagNamespaceDetails) – (required) Request object for updating a namespace.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_tag_namespace()
  • 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_user_and_wait_for_state(user_id, update_user_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_user() and waits for the User acted upon to enter the given state(s).

Parameters:
  • user_id (str) – (required) The OCID of the user.
  • update_user_details (oci.identity.models.UpdateUserDetails) – (required) Request object for updating a user.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_user()
  • 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_user_capabilities_and_wait_for_state(user_id, update_user_capabilities_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_user_capabilities() and waits for the User acted upon to enter the given state(s).

Parameters:
  • user_id (str) – (required) The OCID of the user.
  • update_user_capabilities_details (oci.identity.models.UpdateUserCapabilitiesDetails) – (required) Request object for updating user capabilities.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_user_capabilities()
  • 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_user_state_and_wait_for_state(user_id, update_state_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_user_state() and waits for the User acted upon to enter the given state(s).

Parameters:
  • user_id (str) – (required) The OCID of the user.
  • update_state_details (oci.identity.models.UpdateStateDetails) – (required) Request object for updating a user state.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for lifecycle_state
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_user_state()
  • 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