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 functionality

Methods

__init__(client, **kwargs) Creates a new JavaManagementServiceClientCompositeOperations object
add_fleet_installation_sites_and_wait_for_state(…) Calls add_fleet_installation_sites() and waits for the WorkRequest to enter the given state(s).
change_fleet_compartment_and_wait_for_state(…) Calls change_fleet_compartment() and waits for the WorkRequest to enter the given state(s).
create_drs_file_and_wait_for_state(fleet_id, …) Calls create_drs_file() and waits for the WorkRequest to enter the given state(s).
create_fleet_and_wait_for_state(…[, …]) Calls create_fleet() and waits for the WorkRequest to enter the given state(s).
delete_crypto_analysis_result_and_wait_for_state(…) Calls delete_crypto_analysis_result() and waits for the WorkRequest to enter the given state(s).
delete_drs_file_and_wait_for_state(fleet_id, …) Calls delete_drs_file() and waits for the WorkRequest to enter the given state(s).
delete_fleet_and_wait_for_state(fleet_id[, …]) Calls delete_fleet() and waits for the WorkRequest to enter the given state(s).
delete_java_migration_analysis_result_and_wait_for_state(…) Calls delete_java_migration_analysis_result() and waits for the WorkRequest to enter the given state(s).
delete_performance_tuning_analysis_result_and_wait_for_state(…) Calls delete_performance_tuning_analysis_result() and waits for the WorkRequest to enter the given state(s).
disable_drs_and_wait_for_state(fleet_id, …) Calls disable_drs() and waits for the WorkRequest to enter the given state(s).
enable_drs_and_wait_for_state(fleet_id, …) Calls enable_drs() and waits for the WorkRequest to enter the given state(s).
remove_fleet_installation_sites_and_wait_for_state(…) Calls remove_fleet_installation_sites() and waits for the WorkRequest to enter the given state(s).
request_crypto_analyses_and_wait_for_state(…) Calls request_crypto_analyses() and waits for the WorkRequest to enter the given state(s).
request_java_migration_analyses_and_wait_for_state(…) Calls request_java_migration_analyses() and waits for the WorkRequest to enter the given state(s).
request_jfr_recordings_and_wait_for_state(…) Calls request_jfr_recordings() and waits for the WorkRequest to enter the given state(s).
request_performance_tuning_analyses_and_wait_for_state(…) Calls request_performance_tuning_analyses() and waits for the WorkRequest to enter the given state(s).
scan_java_server_usage_and_wait_for_state(…) Calls scan_java_server_usage() and waits for the WorkRequest to enter the given state(s).
scan_library_usage_and_wait_for_state(…[, …]) Calls scan_library_usage() and waits for the WorkRequest to enter the given state(s).
update_drs_file_and_wait_for_state(fleet_id, …) Calls update_drs_file() and waits for the WorkRequest to enter the given state(s).
update_fleet_agent_configuration_and_wait_for_state(…) Calls update_fleet_agent_configuration() and waits for the WorkRequest to enter the given state(s).
update_fleet_and_wait_for_state(fleet_id, …) Calls update_fleet() and waits for the WorkRequest 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 the WorkRequest 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 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_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 the WorkRequest 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 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_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 the WorkRequest 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 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_fleet_and_wait_for_state(create_fleet_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_fleet() and waits for the WorkRequest 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 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_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 the WorkRequest 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 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_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 the WorkRequest 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 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_fleet_and_wait_for_state(fleet_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_fleet() and waits for the WorkRequest 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 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_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 the WorkRequest 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 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_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 the WorkRequest 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 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
disable_drs_and_wait_for_state(fleet_id, disable_drs_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls disable_drs() and waits for the WorkRequest 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 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
enable_drs_and_wait_for_state(fleet_id, enable_drs_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls enable_drs() and waits for the WorkRequest 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 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_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 the WorkRequest 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 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
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 the WorkRequest 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 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
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 the WorkRequest 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 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
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 the WorkRequest 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 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
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 the WorkRequest 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 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
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 the WorkRequest 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 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
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 the WorkRequest 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 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_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 the WorkRequest 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 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_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 the WorkRequest 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 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_fleet_and_wait_for_state(fleet_id, update_fleet_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_fleet() and waits for the WorkRequest 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 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