ComputeCloudAtCustomerClientCompositeOperations¶
-
class
oci.compute_cloud_at_customer.ComputeCloudAtCustomerClientCompositeOperations(client, **kwargs)¶ This class provides a wrapper around
ComputeCloudAtCustomerClientand 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 ComputeCloudAtCustomerClientCompositeOperations object
Parameters: client (ComputeCloudAtCustomerClient) – The service client which will be wrapped by this object
-
create_ccc_infrastructure_and_wait_for_state(create_ccc_infrastructure_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_ccc_infrastructure()and waits for theCccInfrastructureacted upon to enter the given state(s).Parameters: - create_ccc_infrastructure_details (oci.compute_cloud_at_customer.models.CreateCccInfrastructureDetails) – (required) Details for the new CccInfrastructure.
- 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_ccc_infrastructure() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_ccc_upgrade_schedule_and_wait_for_state(create_ccc_upgrade_schedule_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_ccc_upgrade_schedule()and waits for theCccUpgradeScheduleacted upon to enter the given state(s).Parameters: - create_ccc_upgrade_schedule_details (oci.compute_cloud_at_customer.models.CreateCccUpgradeScheduleDetails) – (required) Details for the new CCC Upgrade Schedule.
- 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_ccc_upgrade_schedule() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_ccc_infrastructure_and_wait_for_state(ccc_infrastructure_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_ccc_infrastructure()and waits for theCccInfrastructureacted upon to enter the given state(s).Parameters: - ccc_infrastructure_id (str) –
(required) An OCID for a Compute Cloud@Customer Infrastructure.
- 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_ccc_infrastructure() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- ccc_infrastructure_id (str) –
-
delete_ccc_upgrade_schedule_and_wait_for_state(ccc_upgrade_schedule_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_ccc_upgrade_schedule()and waits for theCccUpgradeScheduleacted upon to enter the given state(s).Parameters: - ccc_upgrade_schedule_id (str) –
(required) Compute Cloud@Customer upgrade schedule OCID.
- 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_ccc_upgrade_schedule() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- ccc_upgrade_schedule_id (str) –
-
update_ccc_infrastructure_and_wait_for_state(ccc_infrastructure_id, update_ccc_infrastructure_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_ccc_infrastructure()and waits for theCccInfrastructureacted upon to enter the given state(s).Parameters: - ccc_infrastructure_id (str) –
(required) An OCID for a Compute Cloud@Customer Infrastructure.
- update_ccc_infrastructure_details (oci.compute_cloud_at_customer.models.UpdateCccInfrastructureDetails) – (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_ccc_infrastructure() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- ccc_infrastructure_id (str) –
-
update_ccc_upgrade_schedule_and_wait_for_state(ccc_upgrade_schedule_id, update_ccc_upgrade_schedule_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_ccc_upgrade_schedule()and waits for theCccUpgradeScheduleacted upon to enter the given state(s).Parameters: - ccc_upgrade_schedule_id (str) –
(required) Compute Cloud@Customer upgrade schedule OCID.
- update_ccc_upgrade_schedule_details (oci.compute_cloud_at_customer.models.UpdateCccUpgradeScheduleDetails) – (required) The information to be updated in the Compute Cloud@Customer upgrade schedule.
- 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_ccc_upgrade_schedule() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- ccc_upgrade_schedule_id (str) –
-