AnomalyDetectionClientCompositeOperations¶
-
class
oci.ai_anomaly_detection.
AnomalyDetectionClientCompositeOperations
(client, **kwargs)¶ This class provides a wrapper around
AnomalyDetectionClient
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 AnomalyDetectionClientCompositeOperations object
Parameters: client (AnomalyDetectionClient) – The service client which will be wrapped by this object
-
change_ai_private_endpoint_compartment_and_wait_for_state
(ai_private_endpoint_id, change_ai_private_endpoint_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_ai_private_endpoint_compartment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - ai_private_endpoint_id (str) – (required) Unique private reverse connection identifier.
- change_ai_private_endpoint_compartment_details (oci.ai_anomaly_detection.models.ChangeAiPrivateEndpointCompartmentDetails) – (required) Details for the target 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_ai_private_endpoint_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
-
change_data_asset_compartment_and_wait_for_state
(data_asset_id, change_data_asset_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_data_asset_compartment()
and waits for theDataAsset
acted upon to enter the given state(s).Parameters: - data_asset_id (str) – (required) The OCID of the Data Asset.
- change_data_asset_compartment_details (oci.ai_anomaly_detection.models.ChangeDataAssetCompartmentDetails) – (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
change_data_asset_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
-
create_ai_private_endpoint_and_wait_for_state
(create_ai_private_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_ai_private_endpoint()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_ai_private_endpoint_details (oci.ai_anomaly_detection.models.CreateAiPrivateEndpointDetails) – (required) The information used to create the private reverse connection.
- 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_ai_private_endpoint()
- 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
-
create_data_asset_and_wait_for_state
(create_data_asset_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_data_asset()
and waits for theDataAsset
acted upon to enter the given state(s).Parameters: - create_data_asset_details (oci.ai_anomaly_detection.models.CreateDataAssetDetails) – (required) Details for the new DataAsset.
- 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_data_asset()
- 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
-
create_detect_anomaly_job_and_wait_for_state
(create_detect_anomaly_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_detect_anomaly_job()
and waits for theDetectAnomalyJob
acted upon to enter the given state(s).Parameters: - create_detect_anomaly_job_details (oci.ai_anomaly_detection.models.CreateDetectAnomalyJobDetails) –
(required) The input is either:
- JSON object in the request. This object is defined, and the SDK generates the object for it.
- Data embedded as Base64 string in format of either: - CSV - JSON If this option is used, then you must provide the content of specified CSV or JSON in Base64 encoded string. The Embedded JSON has to be in the same format as the inline request JSON.
- 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_detect_anomaly_job()
- 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
- create_detect_anomaly_job_details (oci.ai_anomaly_detection.models.CreateDetectAnomalyJobDetails) –
-
create_model_and_wait_for_state
(create_model_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_model()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_model_details (oci.ai_anomaly_detection.models.CreateModelDetails) – (required) Details for the new Model.
- 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_model()
- 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
-
create_project_and_wait_for_state
(create_project_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_project()
and waits for theProject
acted upon to enter the given state(s).Parameters: - create_project_details (oci.ai_anomaly_detection.models.CreateProjectDetails) – (required) Details for the new Project.
- 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_project()
- 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_ai_private_endpoint_and_wait_for_state
(ai_private_endpoint_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_ai_private_endpoint()
and waits for theWorkRequest
to enter the given state(s).Parameters: - ai_private_endpoint_id (str) – (required) Unique private reverse connection 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_ai_private_endpoint()
- 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_data_asset_and_wait_for_state
(data_asset_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_data_asset()
and waits for theDataAsset
acted upon to enter the given state(s).Parameters: - data_asset_id (str) – (required) The OCID of the Data Asset.
- 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_data_asset()
- 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_detect_anomaly_job_and_wait_for_state
(detect_anomaly_job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_detect_anomaly_job()
and waits for theDetectAnomalyJob
acted upon to enter the given state(s).Parameters: - detect_anomaly_job_id (str) – (required) Unique asynchronous job 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_detect_anomaly_job()
- 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_model_and_wait_for_state
(model_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_model()
and waits for theWorkRequest
to enter the given state(s).Parameters: - model_id (str) – (required) The OCID of the Model.
- 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_model()
- 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_project_and_wait_for_state
(project_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_project()
and waits for theWorkRequest
to enter the given state(s).Parameters: - project_id (str) – (required) The OCID of the Project.
- 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_project()
- 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
-
update_ai_private_endpoint_and_wait_for_state
(ai_private_endpoint_id, update_ai_private_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_ai_private_endpoint()
and waits for theWorkRequest
to enter the given state(s).Parameters: - ai_private_endpoint_id (str) – (required) Unique private reverse connection identifier.
- update_ai_private_endpoint_details (oci.ai_anomaly_detection.models.UpdateAiPrivateEndpointDetails) – (required) The information to be updated in private reverse connection
- 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_ai_private_endpoint()
- 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
-
update_data_asset_and_wait_for_state
(data_asset_id, update_data_asset_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_data_asset()
and waits for theDataAsset
acted upon to enter the given state(s).Parameters: - data_asset_id (str) – (required) The OCID of the Data Asset.
- update_data_asset_details (oci.ai_anomaly_detection.models.UpdateDataAssetDetails) – (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_data_asset()
- 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
-
update_detect_anomaly_job_and_wait_for_state
(detect_anomaly_job_id, update_detect_anomaly_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_detect_anomaly_job()
and waits for theDetectAnomalyJob
acted upon to enter the given state(s).Parameters: - detect_anomaly_job_id (str) – (required) Unique asynchronous job identifier.
- update_detect_anomaly_job_details (oci.ai_anomaly_detection.models.UpdateDetectAnomalyJobDetails) – (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_detect_anomaly_job()
- 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
-
update_model_and_wait_for_state
(model_id, update_model_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_model()
and waits for theWorkRequest
to enter the given state(s).Parameters: - model_id (str) – (required) The OCID of the Model.
- update_model_details (oci.ai_anomaly_detection.models.UpdateModelDetails) – (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_model()
- 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
-
update_project_and_wait_for_state
(project_id, update_project_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_project()
and waits for theProject
acted upon to enter the given state(s).Parameters: - project_id (str) – (required) The OCID of the Project.
- update_project_details (oci.ai_anomaly_detection.models.UpdateProjectDetails) – (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_project()
- 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
-