FleetSoftwareUpdateClientCompositeOperations

class oci.fleet_software_update.FleetSoftwareUpdateClientCompositeOperations(client, **kwargs)

This class provides a wrapper around FleetSoftwareUpdateClient 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 FleetSoftwareUpdateClientCompositeOperations object
add_fsu_collection_targets_and_wait_for_state(…) Calls add_fsu_collection_targets() and waits for the WorkRequest to enter the given state(s).
change_fsu_action_compartment_and_wait_for_state(…) Calls change_fsu_action_compartment() and waits for the WorkRequest to enter the given state(s).
change_fsu_collection_compartment_and_wait_for_state(…) Calls change_fsu_collection_compartment() and waits for the WorkRequest to enter the given state(s).
change_fsu_cycle_compartment_and_wait_for_state(…) Calls change_fsu_cycle_compartment() and waits for the WorkRequest to enter the given state(s).
clone_fsu_cycle_and_wait_for_state(…[, …]) Calls clone_fsu_cycle() and waits for the WorkRequest to enter the given state(s).
create_fsu_action_and_wait_for_state(…[, …]) Calls create_fsu_action() and waits for the WorkRequest to enter the given state(s).
create_fsu_collection_and_wait_for_state(…) Calls create_fsu_collection() and waits for the WorkRequest to enter the given state(s).
create_fsu_cycle_and_wait_for_state(…[, …]) Calls create_fsu_cycle() and waits for the WorkRequest to enter the given state(s).
create_fsu_discovery_and_wait_for_state(…) Calls create_fsu_discovery() and waits for the WorkRequest to enter the given state(s).
delete_fsu_action_and_wait_for_state(…[, …]) Calls delete_fsu_action() and waits for the WorkRequest to enter the given state(s).
delete_fsu_collection_and_wait_for_state(…) Calls delete_fsu_collection() and waits for the WorkRequest to enter the given state(s).
delete_fsu_collection_target_and_wait_for_state(…) Calls delete_fsu_collection_target() and waits for the WorkRequest to enter the given state(s).
delete_fsu_cycle_and_wait_for_state(fsu_cycle_id) Calls delete_fsu_cycle() and waits for the WorkRequest to enter the given state(s).
delete_fsu_discovery_and_wait_for_state(…) Calls delete_fsu_discovery() and waits for the WorkRequest to enter the given state(s).
delete_fsu_job_and_wait_for_state(fsu_job_id) Calls delete_fsu_job() and waits for the FsuJob acted upon to enter the given state(s).
remove_fsu_collection_targets_and_wait_for_state(…) Calls remove_fsu_collection_targets() and waits for the WorkRequest to enter the given state(s).
update_fsu_action_and_wait_for_state(…[, …]) Calls update_fsu_action() and waits for the WorkRequest to enter the given state(s).
update_fsu_collection_and_wait_for_state(…) Calls update_fsu_collection() and waits for the WorkRequest to enter the given state(s).
update_fsu_cycle_and_wait_for_state(…[, …]) Calls update_fsu_cycle() and waits for the WorkRequest to enter the given state(s).
update_fsu_job_and_wait_for_state(…[, …]) Calls update_fsu_job() and waits for the FsuJob acted upon to enter the given state(s).
__init__(client, **kwargs)

Creates a new FleetSoftwareUpdateClientCompositeOperations object

Parameters:client (FleetSoftwareUpdateClient) – The service client which will be wrapped by this object
add_fsu_collection_targets_and_wait_for_state(fsu_collection_id, add_fsu_collection_targets_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_collection_id (str) – (required) Unique Exadata Fleet Update Collection identifier.
  • add_fsu_collection_targets_details (oci.fleet_software_update.models.AddFsuCollectionTargetsDetails) – (required) The Targets to be added into the Exadata Fleet Update Collection.
  • 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 add_fsu_collection_targets()
  • 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_fsu_action_compartment_and_wait_for_state(fsu_action_id, change_fsu_action_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_action_id (str) – (required) Unique Exadata Fleet Update Action identifier.
  • change_fsu_action_compartment_details (oci.fleet_software_update.models.ChangeFsuActionCompartmentDetails) – (required) The compartment where the Exadata Fleet Update Action will be moved to.
  • 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_fsu_action_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_fsu_collection_compartment_and_wait_for_state(fsu_collection_id, change_fsu_collection_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_collection_id (str) – (required) Unique Exadata Fleet Update Collection identifier.
  • change_fsu_collection_compartment_details (oci.fleet_software_update.models.ChangeFsuCollectionCompartmentDetails) – (required) The compartment where the Exadata Fleet Update Collection will be moved to.
  • 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_fsu_collection_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_fsu_cycle_compartment_and_wait_for_state(fsu_cycle_id, change_fsu_cycle_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_cycle_id (str) – (required) Unique Exadata Fleet Update Cycle identifier.
  • change_fsu_cycle_compartment_details (oci.fleet_software_update.models.ChangeFsuCycleCompartmentDetails) – (required) The compartment where the Exadata Fleet Update Cycle will be moved to.
  • 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_fsu_cycle_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
clone_fsu_cycle_and_wait_for_state(fsu_cycle_id, clone_fsu_cycle_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_cycle_id (str) – (required) Unique Exadata Fleet Update Cycle identifier.
  • clone_fsu_cycle_details (oci.fleet_software_update.models.CloneFsuCycleDetails) – (required) The Exadata Fleet Update Cycle properties to be updated in the cloned Cycle instead of using the existing values.
  • 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 clone_fsu_cycle()
  • 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_fsu_action_and_wait_for_state(create_fsu_action_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_fsu_action_details (oci.fleet_software_update.models.CreateFsuActionDetails) – (required) Details for the new Exadata Fleet Update Action.
  • 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_fsu_action()
  • 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_fsu_collection_and_wait_for_state(create_fsu_collection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_fsu_collection_details (oci.fleet_software_update.models.CreateFsuCollectionDetails) – (required) Details for the new Exadata Fleet Update Collection.
  • 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_fsu_collection()
  • 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_fsu_cycle_and_wait_for_state(create_fsu_cycle_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_fsu_cycle_details (oci.fleet_software_update.models.CreateFsuCycleDetails) – (required) Details for the new Exadata Fleet Update Maintenance Cycle. Targets can only exist in one active Fleet Software Update Maintenance Cycle.
  • 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_fsu_cycle()
  • 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_fsu_discovery_and_wait_for_state(create_fsu_discovery_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • create_fsu_discovery_details (oci.fleet_software_update.models.CreateFsuDiscoveryDetails) – (required) Details for the new Exadata Fleet Update Discovery.
  • 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_fsu_discovery()
  • 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_fsu_action_and_wait_for_state(fsu_action_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_action_id (str) – (required) Unique Exadata Fleet Update Action 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_fsu_action()
  • 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_fsu_collection_and_wait_for_state(fsu_collection_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_collection_id (str) – (required) Unique Exadata Fleet Update Collection 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_fsu_collection()
  • 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_fsu_collection_target_and_wait_for_state(fsu_collection_id, target_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_collection_id (str) – (required) Unique Exadata Fleet Update Collection identifier.
  • target_id (str) – (required) Target resource OCID.
  • 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_fsu_collection_target()
  • 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_fsu_cycle_and_wait_for_state(fsu_cycle_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_cycle_id (str) – (required) Unique Exadata Fleet Update Cycle 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_fsu_cycle()
  • 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_fsu_discovery_and_wait_for_state(fsu_discovery_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_discovery_id (str) – (required) Unique Exadata Fleet Update Discovery 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_fsu_discovery()
  • 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_fsu_job_and_wait_for_state(fsu_job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_fsu_job() and waits for the FsuJob acted upon to enter the given state(s).

Parameters:
  • fsu_job_id (str) – (required) The OCID of the Exadata Fleet Update Job.
  • 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_fsu_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
remove_fsu_collection_targets_and_wait_for_state(fsu_collection_id, remove_fsu_collection_targets_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_collection_id (str) – (required) Unique Exadata Fleet Update Collection identifier.
  • remove_fsu_collection_targets_details (oci.fleet_software_update.models.RemoveFsuCollectionTargetsDetails) – (required) The Targets to be removed from the Exadata Fleet Update Collection.
  • 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 remove_fsu_collection_targets()
  • 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_fsu_action_and_wait_for_state(fsu_action_id, update_fsu_action_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_action_id (str) – (required) Unique Exadata Fleet Update Action identifier.
  • update_fsu_action_details (oci.fleet_software_update.models.UpdateFsuActionDetails) – (required) The Exadata Fleet Update Action details 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_fsu_action()
  • 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_fsu_collection_and_wait_for_state(fsu_collection_id, update_fsu_collection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_collection_id (str) – (required) Unique Exadata Fleet Update Collection identifier.
  • update_fsu_collection_details (oci.fleet_software_update.models.UpdateFsuCollectionDetails) – (required) The Exadata Fleet Update Collection details 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_fsu_collection()
  • 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_fsu_cycle_and_wait_for_state(fsu_cycle_id, update_fsu_cycle_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • fsu_cycle_id (str) – (required) Unique Exadata Fleet Update Cycle identifier.
  • update_fsu_cycle_details (oci.fleet_software_update.models.UpdateFsuCycleDetails) – (required) The Exadata Fleet Update Cycle details 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_fsu_cycle()
  • 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_fsu_job_and_wait_for_state(fsu_job_id, update_fsu_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_fsu_job() and waits for the FsuJob acted upon to enter the given state(s).

Parameters:
  • fsu_job_id (str) – (required) The OCID of the Exadata Fleet Update Job.
  • update_fsu_job_details (oci.fleet_software_update.models.UpdateFsuJobDetails) – (required) The Exadata Fleet Update Job details 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_fsu_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