JavaManagementServiceClientCompositeOperations¶
-
class
oci.jms.
JavaManagementServiceClientCompositeOperations
(client, **kwargs)¶ This class provides a wrapper around
JavaManagementServiceClient
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 JavaManagementServiceClientCompositeOperations object add_fleet_installation_sites_and_wait_for_state
(…)Calls add_fleet_installation_sites()
and waits for theWorkRequest
to enter the given state(s).change_fleet_compartment_and_wait_for_state
(…)Calls change_fleet_compartment()
and waits for theWorkRequest
to enter the given state(s).create_fleet_and_wait_for_state
(…[, …])Calls create_fleet()
and waits for theWorkRequest
to enter the given state(s).delete_fleet_and_wait_for_state
(fleet_id[, …])Calls delete_fleet()
and waits for theWorkRequest
to enter the given state(s).remove_fleet_installation_sites_and_wait_for_state
(…)Calls remove_fleet_installation_sites()
and waits for theWorkRequest
to enter the given state(s).update_fleet_agent_configuration_and_wait_for_state
(…)Calls update_fleet_agent_configuration()
and waits for theWorkRequest
to enter the given state(s).update_fleet_and_wait_for_state
(fleet_id, …)Calls update_fleet()
and waits for theWorkRequest
to enter the given state(s).-
__init__
(client, **kwargs)¶ Creates a new JavaManagementServiceClientCompositeOperations object
Parameters: client (JavaManagementServiceClient) – The service client which will be wrapped by this object
-
add_fleet_installation_sites_and_wait_for_state
(fleet_id, add_fleet_installation_sites_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
add_fleet_installation_sites()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- add_fleet_installation_sites_details (oci.jms.models.AddFleetInstallationSitesDetails) – (required) List of installation sites to be added.
- 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_fleet_installation_sites()
- 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
- fleet_id (str) –
-
change_fleet_compartment_and_wait_for_state
(fleet_id, change_fleet_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_fleet_compartment()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- change_fleet_compartment_details (oci.jms.models.ChangeFleetCompartmentDetails) – (required) Compartment 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
change_fleet_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
- fleet_id (str) –
-
create_fleet_and_wait_for_state
(create_fleet_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_fleet()
and waits for theWorkRequest
to enter the given state(s).Parameters: - create_fleet_details (oci.jms.models.CreateFleetDetails) – (required) Details for the new Fleet.
- 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_fleet()
- 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_fleet_and_wait_for_state
(fleet_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_fleet()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- 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_fleet()
- 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
- fleet_id (str) –
-
remove_fleet_installation_sites_and_wait_for_state
(fleet_id, remove_fleet_installation_sites_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
remove_fleet_installation_sites()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- remove_fleet_installation_sites_details (oci.jms.models.RemoveFleetInstallationSitesDetails) – (required) List of installation sites to be deleted.
- 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_fleet_installation_sites()
- 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
- fleet_id (str) –
-
update_fleet_agent_configuration_and_wait_for_state
(fleet_id, update_fleet_agent_configuration_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_fleet_agent_configuration()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- update_fleet_agent_configuration_details (oci.jms.models.UpdateFleetAgentConfigurationDetails) – (required) The new details for the Fleet Agent Configuration.
- 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_fleet_agent_configuration()
- 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
- fleet_id (str) –
-
update_fleet_and_wait_for_state
(fleet_id, update_fleet_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_fleet()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- update_fleet_details (oci.jms.models.UpdateFleetDetails) – (required) The new details for the Fleet.
- 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_fleet()
- 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
- fleet_id (str) –
-