WeblogicManagementServiceClientCompositeOperations

class oci.wlms.WeblogicManagementServiceClientCompositeOperations(client, **kwargs)

This class provides a wrapper around WeblogicManagementServiceClient 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 WeblogicManagementServiceClientCompositeOperations object
delete_wls_domain_and_wait_for_state(…[, …]) Calls delete_wls_domain() and waits for the WlsDomain acted upon to enter the given state(s).
install_latest_patches_on_wls_domain_and_wait_for_state(…) Calls install_latest_patches_on_wls_domain() and waits for the WorkRequest to enter the given state(s).
restart_wls_domain_and_wait_for_state(…[, …]) Calls restart_wls_domain() and waits for the WorkRequest to enter the given state(s).
restore_wls_domain_and_wait_for_state(…[, …]) Calls restore_wls_domain() and waits for the WorkRequest to enter the given state(s).
scan_managed_instance_and_wait_for_state(…) Calls scan_managed_instance() and waits for the WorkRequest to enter the given state(s).
scan_wls_domain_and_wait_for_state(wls_domain_id) Calls scan_wls_domain() and waits for the WorkRequest to enter the given state(s).
start_wls_domain_and_wait_for_state(…[, …]) Calls start_wls_domain() and waits for the WorkRequest to enter the given state(s).
stop_wls_domain_and_wait_for_state(…[, …]) Calls stop_wls_domain() and waits for the WorkRequest to enter the given state(s).
update_wls_domain_and_wait_for_state(…[, …]) Calls update_wls_domain() and waits for the WlsDomain acted upon to enter the given state(s).
__init__(client, **kwargs)

Creates a new WeblogicManagementServiceClientCompositeOperations object

Parameters:client (WeblogicManagementServiceClient) – The service client which will be wrapped by this object
delete_wls_domain_and_wait_for_state(wls_domain_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_wls_domain() and waits for the WlsDomain acted upon to enter the given state(s).

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • 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_wls_domain()
  • 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
install_latest_patches_on_wls_domain_and_wait_for_state(wls_domain_id, install_latest_patches_on_wls_domain_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • install_latest_patches_on_wls_domain_details (oci.wlms.models.InstallLatestPatchesOnWlsDomainDetails) – (required) Information for the operation to install latest patches to a WebLogic domain.
  • 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 install_latest_patches_on_wls_domain()
  • 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
restart_wls_domain_and_wait_for_state(wls_domain_id, restart_wls_domain_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • restart_wls_domain_details (oci.wlms.models.RestartWlsDomainDetails) – (required) Information for the operation to restart the WebLogic domain.
  • 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 restart_wls_domain()
  • 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
restore_wls_domain_and_wait_for_state(wls_domain_id, restore_wls_domain_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • restore_wls_domain_details (oci.wlms.models.RestoreWlsDomainDetails) – (required) Information for the operation to restore WebLogic domain from the backup.
  • 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 restore_wls_domain()
  • 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_managed_instance_and_wait_for_state(managed_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • managed_instance_id (str) –

    (required) The OCID of the instance.

  • 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_managed_instance()
  • 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_wls_domain_and_wait_for_state(wls_domain_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • 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_wls_domain()
  • 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
start_wls_domain_and_wait_for_state(wls_domain_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • 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 start_wls_domain()
  • 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
stop_wls_domain_and_wait_for_state(wls_domain_id, stop_wls_domain_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

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

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • stop_wls_domain_details (oci.wlms.models.StopWlsDomainDetails) – (required) Information for the stop WebLogic domain operation
  • 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 stop_wls_domain()
  • 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_wls_domain_and_wait_for_state(wls_domain_id, update_wls_domain_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_wls_domain() and waits for the WlsDomain acted upon to enter the given state(s).

Parameters:
  • wls_domain_id (str) –

    (required) The OCID of the WebLogic domain.

  • update_wls_domain_details (oci.wlms.models.UpdateWlsDomainDetails) – (required) The new details required to update the WebLogic domain.
  • 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_wls_domain()
  • 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