ResourceAnalyticsInstanceClientCompositeOperations¶
-
class
oci.resource_analytics.
ResourceAnalyticsInstanceClientCompositeOperations
(client, **kwargs)¶ This class provides a wrapper around
ResourceAnalyticsInstanceClient
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 ResourceAnalyticsInstanceClientCompositeOperations object
Parameters: client (ResourceAnalyticsInstanceClient) – The service client which will be wrapped by this object
-
change_resource_analytics_instance_compartment_and_wait_for_state
(resource_analytics_instance_id, change_resource_analytics_instance_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_resource_analytics_instance_compartment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - resource_analytics_instance_id (str) –
(required) The OCID of the ResourceAnalyticsInstance.
- change_resource_analytics_instance_compartment_details (oci.resource_analytics.models.ChangeResourceAnalyticsInstanceCompartmentDetails) – (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_resource_analytics_instance_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
- resource_analytics_instance_id (str) –
-
create_resource_analytics_instance_and_wait_for_state
(create_resource_analytics_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_resource_analytics_instance()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_resource_analytics_instance_details (oci.resource_analytics.models.CreateResourceAnalyticsInstanceDetails) – (required) Details for the new ResourceAnalyticsInstance.
- 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_resource_analytics_instance()
- 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_resource_analytics_instance_and_wait_for_state
(resource_analytics_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_resource_analytics_instance()
and waits for theWorkRequest
to enter the given state(s).Parameters: - resource_analytics_instance_id (str) –
(required) The OCID of the ResourceAnalyticsInstance.
- 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_resource_analytics_instance()
- 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
- resource_analytics_instance_id (str) –
-
resource_analytics_instance_disable_oac_and_wait_for_state
(resource_analytics_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
resource_analytics_instance_disable_oac()
and waits for theWorkRequest
to enter the given state(s).Parameters: - resource_analytics_instance_id (str) –
(required) The OCID of the ResourceAnalyticsInstance.
- 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
resource_analytics_instance_disable_oac()
- 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
- resource_analytics_instance_id (str) –
-
resource_analytics_instance_enable_oac_and_wait_for_state
(resource_analytics_instance_id, resource_analytics_instance_enable_oac_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
resource_analytics_instance_enable_oac()
and waits for theWorkRequest
to enter the given state(s).Parameters: - resource_analytics_instance_id (str) –
(required) The OCID of the ResourceAnalyticsInstance.
- resource_analytics_instance_enable_oac_details (oci.resource_analytics.models.ResourceAnalyticsInstanceEnableOacDetails) – (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
resource_analytics_instance_enable_oac()
- 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
- resource_analytics_instance_id (str) –
-
update_resource_analytics_instance_and_wait_for_state
(resource_analytics_instance_id, update_resource_analytics_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_resource_analytics_instance()
and waits for theWorkRequest
to enter the given state(s).Parameters: - resource_analytics_instance_id (str) –
(required) The OCID of the ResourceAnalyticsInstance.
- update_resource_analytics_instance_details (oci.resource_analytics.models.UpdateResourceAnalyticsInstanceDetails) – (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_resource_analytics_instance()
- 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
- resource_analytics_instance_id (str) –
-