OperationsInsightsClientCompositeOperations

class oci.opsi.OperationsInsightsClientCompositeOperations(client, **kwargs)

This class provides a wrapper around OperationsInsightsClient 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 OperationsInsightsClientCompositeOperations object
change_database_insight_compartment_and_wait_for_state(…) Calls change_database_insight_compartment() and waits for the WorkRequest to enter the given state(s).
change_enterprise_manager_bridge_compartment_and_wait_for_state(…) Calls change_enterprise_manager_bridge_compartment() and waits for the WorkRequest to enter the given state(s).
change_host_insight_compartment_and_wait_for_state(…) Calls change_host_insight_compartment() and waits for the WorkRequest to enter the given state(s).
create_database_insight_and_wait_for_state(…) Calls create_database_insight() and waits for the WorkRequest to enter the given state(s).
create_enterprise_manager_bridge_and_wait_for_state(…) Calls create_enterprise_manager_bridge() and waits for the WorkRequest to enter the given state(s).
create_host_insight_and_wait_for_state(…) Calls create_host_insight() and waits for the WorkRequest to enter the given state(s).
delete_database_insight_and_wait_for_state(…) Calls delete_database_insight() and waits for the WorkRequest to enter the given state(s).
delete_enterprise_manager_bridge_and_wait_for_state(…) Calls delete_enterprise_manager_bridge() and waits for the WorkRequest to enter the given state(s).
delete_host_insight_and_wait_for_state(…) Calls delete_host_insight() and waits for the WorkRequest to enter the given state(s).
disable_database_insight_and_wait_for_state(…) Calls disable_database_insight() and waits for the WorkRequest to enter the given state(s).
disable_host_insight_and_wait_for_state(…) Calls disable_host_insight() and waits for the WorkRequest to enter the given state(s).
enable_database_insight_and_wait_for_state(…) Calls enable_database_insight() and waits for the WorkRequest to enter the given state(s).
enable_host_insight_and_wait_for_state(…) Calls enable_host_insight() and waits for the WorkRequest to enter the given state(s).
update_database_insight_and_wait_for_state(…) Calls update_database_insight() and waits for the WorkRequest to enter the given state(s).
update_enterprise_manager_bridge_and_wait_for_state(…) Calls update_enterprise_manager_bridge() and waits for the WorkRequest to enter the given state(s).
update_host_insight_and_wait_for_state(…) Calls update_host_insight() and waits for the WorkRequest to enter the given state(s).
__init__(client, **kwargs)

Creates a new OperationsInsightsClientCompositeOperations object

Parameters:client (OperationsInsightsClient) – The service client which will be wrapped by this object
change_database_insight_compartment_and_wait_for_state(database_insight_id, change_database_insight_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • database_insight_id (str) – (required) Unique database insight identifier
  • change_database_insight_compartment_details (oci.opsi.models.ChangeDatabaseInsightCompartmentDetails) – (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_database_insight_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_enterprise_manager_bridge_compartment_and_wait_for_state(enterprise_manager_bridge_id, change_enterprise_manager_bridge_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • enterprise_manager_bridge_id (str) – (required) Unique Enterprise Manager bridge identifier
  • change_enterprise_manager_bridge_compartment_details (oci.opsi.models.ChangeEnterpriseManagerBridgeCompartmentDetails) – (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_enterprise_manager_bridge_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_host_insight_compartment_and_wait_for_state(host_insight_id, change_host_insight_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • host_insight_id (str) – (required) Unique host insight identifier
  • change_host_insight_compartment_details (oci.opsi.models.ChangeHostInsightCompartmentDetails) – (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_host_insight_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_database_insight_and_wait_for_state(create_database_insight_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_database_insight_details (oci.opsi.models.CreateDatabaseInsightDetails) – (required) Details for the database for which a Database Insight resource will be created in Operations Insights.
  • 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_database_insight()
  • 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_enterprise_manager_bridge_and_wait_for_state(create_enterprise_manager_bridge_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_enterprise_manager_bridge_details (oci.opsi.models.CreateEnterpriseManagerBridgeDetails) – (required) Details for the Enterprise Manager bridge to be created in Operations Insights.
  • 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_enterprise_manager_bridge()
  • 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_host_insight_and_wait_for_state(create_host_insight_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_host_insight_details (oci.opsi.models.CreateHostInsightDetails) – (required) Details for the host for which a Host Insight resource will be created in Operations Insights.
  • 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_host_insight()
  • 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_database_insight_and_wait_for_state(database_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • database_insight_id (str) – (required) Unique database insight 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_database_insight()
  • 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_enterprise_manager_bridge_and_wait_for_state(enterprise_manager_bridge_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • enterprise_manager_bridge_id (str) – (required) Unique Enterprise Manager bridge 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_enterprise_manager_bridge()
  • 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_host_insight_and_wait_for_state(host_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • host_insight_id (str) – (required) Unique host insight 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_host_insight()
  • 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
disable_database_insight_and_wait_for_state(database_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • database_insight_id (str) – (required) Unique database insight 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 disable_database_insight()
  • 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
disable_host_insight_and_wait_for_state(host_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • host_insight_id (str) – (required) Unique host insight 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 disable_host_insight()
  • 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_database_insight_and_wait_for_state(enable_database_insight_details, database_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • enable_database_insight_details (oci.opsi.models.EnableDatabaseInsightDetails) – (required) Details for the database to be enabled in Operations Insights.
  • database_insight_id (str) – (required) Unique database insight 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 enable_database_insight()
  • 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_host_insight_and_wait_for_state(enable_host_insight_details, host_insight_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • enable_host_insight_details (oci.opsi.models.EnableHostInsightDetails) – (required) Details for the host to be enabled in Operations Insights.
  • host_insight_id (str) – (required) Unique host insight 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 enable_host_insight()
  • 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_database_insight_and_wait_for_state(database_insight_id, update_database_insight_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • database_insight_id (str) – (required) Unique database insight identifier
  • update_database_insight_details (oci.opsi.models.UpdateDatabaseInsightDetails) – (required) The configuration 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_database_insight()
  • 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_enterprise_manager_bridge_and_wait_for_state(enterprise_manager_bridge_id, update_enterprise_manager_bridge_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • enterprise_manager_bridge_id (str) – (required) Unique Enterprise Manager bridge identifier
  • update_enterprise_manager_bridge_details (oci.opsi.models.UpdateEnterpriseManagerBridgeDetails) – (required) The configuration 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_enterprise_manager_bridge()
  • 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_host_insight_and_wait_for_state(host_insight_id, update_host_insight_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • host_insight_id (str) – (required) Unique host insight identifier
  • update_host_insight_details (oci.opsi.models.UpdateHostInsightDetails) – (required) The configuration 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_host_insight()
  • 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