StackMonitoringClientCompositeOperations

class oci.stack_monitoring.StackMonitoringClientCompositeOperations(client, **kwargs)

This class provides a wrapper around StackMonitoringClient 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 StackMonitoringClientCompositeOperations object

apply_monitoring_template_and_wait_for_state(...)

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

change_monitored_resource_compartment_and_wait_for_state(...)

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

create_alarm_condition_and_wait_for_state(...)

Calls create_alarm_condition() and waits for the AlarmCondition acted upon to enter the given state(s).

create_baselineable_metric_and_wait_for_state(...)

Calls create_baselineable_metric() and waits for the BaselineableMetric acted upon to enter the given state(s).

create_config_and_wait_for_state(...[, ...])

Calls create_config() and waits for the Config acted upon to enter the given state(s).

create_discovery_job_and_wait_for_state(...)

Calls create_discovery_job() and waits for the DiscoveryJob acted upon to enter the given state(s).

create_maintenance_window_and_wait_for_state(...)

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

create_metric_extension_and_wait_for_state(...)

Calls create_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

create_monitored_resource_and_wait_for_state(...)

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

create_monitored_resource_task_and_wait_for_state(...)

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

create_monitored_resource_type_and_wait_for_state(...)

Calls create_monitored_resource_type() and waits for the MonitoredResourceType acted upon to enter the given state(s).

create_monitoring_template_and_wait_for_state(...)

Calls create_monitoring_template() and waits for the MonitoringTemplate acted upon to enter the given state(s).

create_process_set_and_wait_for_state(...[, ...])

Calls create_process_set() and waits for the ProcessSet acted upon to enter the given state(s).

delete_baselineable_metric_and_wait_for_state(...)

Calls delete_baselineable_metric() and waits for the BaselineableMetric acted upon to enter the given state(s).

delete_config_and_wait_for_state(config_id)

Calls delete_config() and waits for the Config acted upon to enter the given state(s).

delete_discovery_job_and_wait_for_state(...)

Calls delete_discovery_job() and waits for the DiscoveryJob acted upon to enter the given state(s).

delete_maintenance_window_and_wait_for_state(...)

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

delete_metric_extension_and_wait_for_state(...)

Calls delete_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

delete_monitored_resource_and_wait_for_state(...)

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

delete_monitored_resource_type_and_wait_for_state(...)

Calls delete_monitored_resource_type() and waits for the MonitoredResourceType acted upon to enter the given state(s).

delete_monitoring_template_and_wait_for_state(...)

Calls delete_monitoring_template() and waits for the MonitoringTemplate acted upon to enter the given state(s).

delete_process_set_and_wait_for_state(...[, ...])

Calls delete_process_set() and waits for the ProcessSet acted upon to enter the given state(s).

disable_external_database_and_wait_for_state(...)

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

disable_metric_extension_and_wait_for_state(...)

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

enable_metric_extension_and_wait_for_state(...)

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

publish_metric_extension_and_wait_for_state(...)

Calls publish_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

retry_failed_maintenance_window_operation_and_wait_for_state(...)

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

stop_maintenance_window_and_wait_for_state(...)

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

test_metric_extension_and_wait_for_state(...)

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

unapply_monitoring_template_and_wait_for_state(...)

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

update_alarm_condition_and_wait_for_state(...)

Calls update_alarm_condition() and waits for the AlarmCondition acted upon to enter the given state(s).

update_and_propagate_tags_and_wait_for_state(...)

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

update_baselineable_metric_and_wait_for_state(...)

Calls update_baselineable_metric() and waits for the BaselineableMetric acted upon to enter the given state(s).

update_config_and_wait_for_state(config_id, ...)

Calls update_config() and waits for the Config acted upon to enter the given state(s).

update_maintenance_window_and_wait_for_state(...)

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

update_metric_extension_and_wait_for_state(...)

Calls update_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

update_monitored_resource_and_wait_for_state(...)

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

update_monitored_resource_task_and_wait_for_state(...)

Calls update_monitored_resource_task() and waits for the MonitoredResourceTask acted upon to enter the given state(s).

update_monitored_resource_type_and_wait_for_state(...)

Calls update_monitored_resource_type() and waits for the MonitoredResourceType acted upon to enter the given state(s).

update_monitoring_template_and_wait_for_state(...)

Calls update_monitoring_template() and waits for the MonitoringTemplate acted upon to enter the given state(s).

update_process_set_and_wait_for_state(...[, ...])

Calls update_process_set() and waits for the ProcessSet acted upon to enter the given state(s).

__init__(client, **kwargs)

Creates a new StackMonitoringClientCompositeOperations object

Parameters

client (StackMonitoringClient) – The service client which will be wrapped by this object

apply_monitoring_template_and_wait_for_state(monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • monitoring_template_id (str) –

    (required) The OCID of the monitoring template.

  • 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 apply_monitoring_template()

  • 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_monitored_resource_compartment_and_wait_for_state(monitored_resource_id, change_monitored_resource_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • monitored_resource_id (str) –

    (required) The OCID of monitored resource.

  • change_monitored_resource_compartment_details (oci.stack_monitoring.models.ChangeMonitoredResourceCompartmentDetails) – (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_monitored_resource_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_alarm_condition_and_wait_for_state(create_alarm_condition_details, monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_alarm_condition() and waits for the AlarmCondition acted upon to enter the given state(s).

Parameters
  • create_alarm_condition_details (oci.stack_monitoring.models.CreateAlarmConditionDetails) – (required) Details required for creating a new alarm condition

  • monitoring_template_id (str) –

    (required) The OCID of the monitoring template.

  • 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_alarm_condition()

  • 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_baselineable_metric_and_wait_for_state(create_baselineable_metric_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_baselineable_metric() and waits for the BaselineableMetric acted upon to enter the given state(s).

Parameters
  • create_baselineable_metric_details (oci.stack_monitoring.models.CreateBaselineableMetricDetails) – (required) Baseline metric

  • 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_baselineable_metric()

  • 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_config_and_wait_for_state(create_config_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_config() and waits for the Config acted upon to enter the given state(s).

Parameters
  • create_config_details (oci.stack_monitoring.models.CreateConfigDetails) – (required) Details for the new configuration.

  • 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_config()

  • 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_discovery_job_and_wait_for_state(create_discovery_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_discovery_job() and waits for the DiscoveryJob acted upon to enter the given state(s).

Parameters
  • create_discovery_job_details (oci.stack_monitoring.models.CreateDiscoveryJobDetails) – (required) Summary of source and credential discovery details.

  • 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_discovery_job()

  • 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_maintenance_window_and_wait_for_state(create_maintenance_window_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • create_maintenance_window_details (oci.stack_monitoring.models.CreateMaintenanceWindowDetails) – (required) Details to create the Maintenance Window

  • 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_maintenance_window()

  • 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_metric_extension_and_wait_for_state(create_metric_extension_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

Parameters
  • create_metric_extension_details (oci.stack_monitoring.models.CreateMetricExtensionDetails) – (required) Details required for creating new Metric Extension

  • 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_metric_extension()

  • 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_monitored_resource_and_wait_for_state(create_monitored_resource_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • create_monitored_resource_details (oci.stack_monitoring.models.CreateMonitoredResourceDetails) – (required) Details for the new monitored resource.

  • 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_monitored_resource()

  • 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_monitored_resource_task_and_wait_for_state(create_monitored_resource_task_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • create_monitored_resource_task_details (oci.stack_monitoring.models.CreateMonitoredResourceTaskDetails) – (required) Details to create the new stack monitoring resource task.

  • 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_monitored_resource_task()

  • 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_monitored_resource_type_and_wait_for_state(create_monitored_resource_type_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_monitored_resource_type() and waits for the MonitoredResourceType acted upon to enter the given state(s).

Parameters
  • create_monitored_resource_type_details (oci.stack_monitoring.models.CreateMonitoredResourceTypeDetails) – (required) Details for the new monitored resource type.

  • 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_monitored_resource_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_monitoring_template_and_wait_for_state(create_monitoring_template_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_monitoring_template() and waits for the MonitoringTemplate acted upon to enter the given state(s).

Parameters
  • create_monitoring_template_details (oci.stack_monitoring.models.CreateMonitoringTemplateDetails) – (required) Details required for creating a new monitoring template.

  • 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_monitoring_template()

  • 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_process_set_and_wait_for_state(create_process_set_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_process_set() and waits for the ProcessSet acted upon to enter the given state(s).

Parameters
  • create_process_set_details (oci.stack_monitoring.models.CreateProcessSetDetails) – (required) Summary of process set details.

  • 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_process_set()

  • 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_baselineable_metric_and_wait_for_state(baselineable_metric_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_baselineable_metric() and waits for the BaselineableMetric acted upon to enter the given state(s).

Parameters
  • baselineable_metric_id (str) – (required) Identifier for the metric

  • 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_baselineable_metric()

  • 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_config_and_wait_for_state(config_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_config() and waits for the Config acted upon to enter the given state(s).

Parameters
  • config_id (str) – (required) Unique Config identifier.

  • 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_config()

  • 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_discovery_job_and_wait_for_state(discovery_job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_discovery_job() and waits for the DiscoveryJob acted upon to enter the given state(s).

Parameters
  • discovery_job_id (str) – (required) The Discovery Job ID

  • 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_discovery_job()

  • 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_maintenance_window_and_wait_for_state(maintenance_window_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • maintenance_window_id (str) –

    (required) The OCID of maintenance window.

  • 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_maintenance_window()

  • 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_metric_extension_and_wait_for_state(metric_extension_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

Parameters
  • metric_extension_id (str) –

    (required) The OCID of the metric extension 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 delete_metric_extension()

  • 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_monitored_resource_and_wait_for_state(monitored_resource_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • monitored_resource_id (str) –

    (required) The OCID of monitored resource.

  • 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_monitored_resource()

  • 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_monitored_resource_type_and_wait_for_state(monitored_resource_type_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_monitored_resource_type() and waits for the MonitoredResourceType acted upon to enter the given state(s).

Parameters
  • monitored_resource_type_id (str) –

    (required) The OCID of monitored resource type.

  • 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_monitored_resource_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

delete_monitoring_template_and_wait_for_state(monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_monitoring_template() and waits for the MonitoringTemplate acted upon to enter the given state(s).

Parameters
  • monitoring_template_id (str) –

    (required) The OCID of the monitoring template.

  • 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_monitoring_template()

  • 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_process_set_and_wait_for_state(process_set_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_process_set() and waits for the ProcessSet acted upon to enter the given state(s).

Parameters
  • process_set_id (str) – (required) The Process Set ID

  • 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_process_set()

  • 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_external_database_and_wait_for_state(monitored_resource_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • monitored_resource_id (str) –

    (required) The OCID of monitored resource.

  • 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_external_database()

  • 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_metric_extension_and_wait_for_state(metric_extension_id, disable_metric_extension_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • metric_extension_id (str) –

    (required) The OCID of the metric extension resource.

  • disable_metric_extension_details (oci.stack_monitoring.models.DisableMetricExtensionDetails) – (required) The list of Resource IDs for which given metric extension needs to be disabled

  • 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_metric_extension()

  • 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_metric_extension_and_wait_for_state(metric_extension_id, enable_metric_extension_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • metric_extension_id (str) –

    (required) The OCID of the metric extension resource.

  • enable_metric_extension_details (oci.stack_monitoring.models.EnableMetricExtensionDetails) – (required) The list of Resource IDs for which given metric extension needs to be enabled

  • 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_metric_extension()

  • 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

publish_metric_extension_and_wait_for_state(metric_extension_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls publish_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

Parameters
  • metric_extension_id (str) –

    (required) The OCID of the metric extension 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 publish_metric_extension()

  • 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

retry_failed_maintenance_window_operation_and_wait_for_state(maintenance_window_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • maintenance_window_id (str) –

    (required) The OCID of maintenance window.

  • 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 retry_failed_maintenance_window_operation()

  • 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

stop_maintenance_window_and_wait_for_state(maintenance_window_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • maintenance_window_id (str) –

    (required) The OCID of maintenance window.

  • 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 stop_maintenance_window()

  • 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

test_metric_extension_and_wait_for_state(metric_extension_id, test_metric_extension_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • metric_extension_id (str) –

    (required) The OCID of the metric extension resource.

  • test_metric_extension_details (oci.stack_monitoring.models.TestMetricExtensionDetails) – (required) It contains OCID of resource.

  • 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 test_metric_extension()

  • 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

unapply_monitoring_template_and_wait_for_state(monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • monitoring_template_id (str) –

    (required) The OCID of the monitoring template.

  • 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 unapply_monitoring_template()

  • 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_alarm_condition_and_wait_for_state(update_alarm_condition_details, alarm_condition_id, monitoring_template_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_alarm_condition() and waits for the AlarmCondition acted upon to enter the given state(s).

Parameters
  • update_alarm_condition_details (oci.stack_monitoring.models.UpdateAlarmConditionDetails) – (required) Details required for updating a new alarm condition

  • alarm_condition_id (str) –

    (required) The OCID of the alarm condition.

  • monitoring_template_id (str) –

    (required) The OCID of the monitoring template.

  • 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_alarm_condition()

  • 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_and_propagate_tags_and_wait_for_state(monitored_resource_id, update_and_propagate_tags_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • monitored_resource_id (str) –

    (required) The OCID of monitored resource.

  • update_and_propagate_tags_details (oci.stack_monitoring.models.UpdateAndPropagateTagsDetails) – (required) The tags 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_and_propagate_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

update_baselineable_metric_and_wait_for_state(update_baselineable_metric_details, baselineable_metric_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_baselineable_metric() and waits for the BaselineableMetric acted upon to enter the given state(s).

Parameters
  • update_baselineable_metric_details (oci.stack_monitoring.models.UpdateBaselineableMetricDetails) – (required) Baseline metric

  • baselineable_metric_id (str) – (required) Identifier for the metric

  • 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_baselineable_metric()

  • 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_config_and_wait_for_state(config_id, update_config_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_config() and waits for the Config acted upon to enter the given state(s).

Parameters
  • config_id (str) – (required) Unique Config identifier.

  • update_config_details (oci.stack_monitoring.models.UpdateConfigDetails) – (required) The details of the configuration to be updated.

  • 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_config()

  • 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_maintenance_window_and_wait_for_state(maintenance_window_id, update_maintenance_window_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • maintenance_window_id (str) –

    (required) The OCID of maintenance window.

  • update_maintenance_window_details (oci.stack_monitoring.models.UpdateMaintenanceWindowDetails) – (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_maintenance_window()

  • 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_metric_extension_and_wait_for_state(metric_extension_id, update_metric_extension_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_metric_extension() and waits for the MetricExtension acted upon to enter the given state(s).

Parameters
  • metric_extension_id (str) –

    (required) The OCID of the metric extension resource.

  • update_metric_extension_details (oci.stack_monitoring.models.UpdateMetricExtensionDetails) – (required) The information to be updated.

  • 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_metric_extension()

  • 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_monitored_resource_and_wait_for_state(monitored_resource_id, update_monitored_resource_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters
  • monitored_resource_id (str) –

    (required) The OCID of monitored resource.

  • update_monitored_resource_details (oci.stack_monitoring.models.UpdateMonitoredResourceDetails) – (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_monitored_resource()

  • 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_monitored_resource_task_and_wait_for_state(monitored_resource_task_id, update_monitored_resource_task_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_monitored_resource_task() and waits for the MonitoredResourceTask acted upon to enter the given state(s).

Parameters
  • monitored_resource_task_id (str) –

    (required) The OCID of stack monitoring resource task.

  • update_monitored_resource_task_details (oci.stack_monitoring.models.UpdateMonitoredResourceTaskDetails) – (required) The information to be updated.

  • 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_monitored_resource_task()

  • 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_monitored_resource_type_and_wait_for_state(monitored_resource_type_id, update_monitored_resource_type_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_monitored_resource_type() and waits for the MonitoredResourceType acted upon to enter the given state(s).

Parameters
  • monitored_resource_type_id (str) –

    (required) The OCID of monitored resource type.

  • update_monitored_resource_type_details (oci.stack_monitoring.models.UpdateMonitoredResourceTypeDetails) – (required) The information to be updated for the given resource type id.

  • 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_monitored_resource_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

update_monitoring_template_and_wait_for_state(monitoring_template_id, update_monitoring_template_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_monitoring_template() and waits for the MonitoringTemplate acted upon to enter the given state(s).

Parameters
  • monitoring_template_id (str) –

    (required) The OCID of the monitoring template.

  • update_monitoring_template_details (oci.stack_monitoring.models.UpdateMonitoringTemplateDetails) – (required) The information to be updated.

  • 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_monitoring_template()

  • 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_process_set_and_wait_for_state(process_set_id, update_process_set_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_process_set() and waits for the ProcessSet acted upon to enter the given state(s).

Parameters
  • process_set_id (str) – (required) The Process Set ID

  • update_process_set_details (oci.stack_monitoring.models.UpdateProcessSetDetails) – (required) The updated Process Set details.

  • 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_process_set()

  • 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