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
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_drs_file_and_wait_for_state
(fleet_id, create_drs_file_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_drs_file()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- create_drs_file_details (oci.jms.models.CreateDrsFileDetails) – (required) Detail information to create DRS
- 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_drs_file()
- 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
-
create_jms_plugin_and_wait_for_state
(create_jms_plugin_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_jms_plugin()
and waits for theJmsPlugin
acted upon to enter the given state(s).Parameters: - create_jms_plugin_details (oci.jms.models.CreateJmsPluginDetails) – (required) Details for the new JmsPlugin.
- 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_jms_plugin()
- 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_crypto_analysis_result_and_wait_for_state
(fleet_id, crypto_analysis_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_crypto_analysis_result()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- crypto_analysis_result_id (str) – (required) The OCID of the analysis result.
- 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_crypto_analysis_result()
- 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) –
-
delete_drs_file_and_wait_for_state
(fleet_id, drs_file_key, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_drs_file()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- drs_file_key (str) – (required) The unique identifier of the DRS File in Object Storage.
- 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_drs_file()
- 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) –
-
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) –
-
delete_java_migration_analysis_result_and_wait_for_state
(fleet_id, java_migration_analysis_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_java_migration_analysis_result()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- java_migration_analysis_result_id (str) – (required) The OCID of the analysis result.
- 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_java_migration_analysis_result()
- 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) –
-
delete_jms_plugin_and_wait_for_state
(jms_plugin_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_jms_plugin()
and waits for theJmsPlugin
acted upon to enter the given state(s).Parameters: - jms_plugin_id (str) –
(required) The OCID of the JmsPlugin.
- 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_jms_plugin()
- 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
- jms_plugin_id (str) –
-
delete_performance_tuning_analysis_result_and_wait_for_state
(fleet_id, performance_tuning_analysis_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_performance_tuning_analysis_result()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- performance_tuning_analysis_result_id (str) – (required) The OCID of the performance tuning analysis result.
- 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_performance_tuning_analysis_result()
- 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) –
-
disable_drs_and_wait_for_state
(fleet_id, disable_drs_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
disable_drs()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- disable_drs_details (oci.jms.models.DisableDrsDetails) – (required) Detail information to disable DRS
- 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_drs()
- 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) –
-
enable_drs_and_wait_for_state
(fleet_id, enable_drs_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
enable_drs()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- enable_drs_details (oci.jms.models.EnableDrsDetails) – (required) Detail information to enable DRS
- 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_drs()
- 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) –
-
request_crypto_analyses_and_wait_for_state
(fleet_id, request_crypto_analyses_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
request_crypto_analyses()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- request_crypto_analyses_details (oci.jms.models.RequestCryptoAnalysesDetails) – (required) Detail information to start Crypto Analyses
- 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
request_crypto_analyses()
- 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) –
-
request_deployed_application_migration_analyses_and_wait_for_state
(fleet_id, request_deployed_application_migration_analyses_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
request_deployed_application_migration_analyses()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- request_deployed_application_migration_analyses_details (oci.jms.models.RequestDeployedApplicationMigrationAnalysesDetails) – (required) Detail information that starts the deployed Java migration analyses
- 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
request_deployed_application_migration_analyses()
- 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) –
-
request_java_migration_analyses_and_wait_for_state
(fleet_id, request_java_migration_analyses_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
request_java_migration_analyses()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- request_java_migration_analyses_details (oci.jms.models.RequestJavaMigrationAnalysesDetails) – (required) Detail information that starts the Java migration analysis
- 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
request_java_migration_analyses()
- 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) –
-
request_jfr_recordings_and_wait_for_state
(fleet_id, request_jfr_recordings_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
request_jfr_recordings()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- request_jfr_recordings_details (oci.jms.models.RequestJfrRecordingsDetails) – (required) Detail information to start JFR recordings.
- 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
request_jfr_recordings()
- 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) –
-
request_performance_tuning_analyses_and_wait_for_state
(fleet_id, request_performance_tuning_analyses_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
request_performance_tuning_analyses()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- request_performance_tuning_analyses_details (oci.jms.models.RequestPerformanceTuningAnalysesDetails) – (required) Detail information to start Performance Tuning Analyses
- 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
request_performance_tuning_analyses()
- 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) –
-
scan_java_server_usage_and_wait_for_state
(fleet_id, scan_java_server_usage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
scan_java_server_usage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- scan_java_server_usage_details (oci.jms.models.ScanJavaServerUsageDetails) – (required) List of managed instances to be scanned.
- 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
scan_java_server_usage()
- 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) –
-
scan_library_usage_and_wait_for_state
(fleet_id, scan_library_usage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
scan_library_usage()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- scan_library_usage_details (oci.jms.models.ScanLibraryUsageDetails) – (required) List of managed instances to be scanned.
- 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
scan_library_usage()
- 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_drs_file_and_wait_for_state
(fleet_id, update_drs_file_details, drs_file_key, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_drs_file()
and waits for theWorkRequest
to enter the given state(s).Parameters: - fleet_id (str) –
(required) The OCID of the Fleet.
- update_drs_file_details (oci.jms.models.UpdateDrsFileDetails) – (required) Detail information to update DRS
- drs_file_key (str) – (required) The unique identifier of the DRS File in Object Storage.
- 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_drs_file()
- 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) –
-
update_jms_plugin_and_wait_for_state
(jms_plugin_id, update_jms_plugin_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_jms_plugin()
and waits for theJmsPlugin
acted upon to enter the given state(s).Parameters: - jms_plugin_id (str) –
(required) The OCID of the JmsPlugin.
- update_jms_plugin_details (oci.jms.models.UpdateJmsPluginDetails) – (required) The new details for the JmsPlugin.
- 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_jms_plugin()
- 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
- jms_plugin_id (str) –
-