LustreFileStorageClientCompositeOperations¶
-
class
oci.lustre_file_storage.LustreFileStorageClientCompositeOperations(client, **kwargs)¶ This class provides a wrapper around
LustreFileStorageClientand 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 LustreFileStorageClientCompositeOperations object
Parameters: client (LustreFileStorageClient) – The service client which will be wrapped by this object
-
change_lustre_file_system_compartment_and_wait_for_state(lustre_file_system_id, change_lustre_file_system_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_lustre_file_system_compartment()and waits for theWorkRequestto enter the given state(s).Parameters: - lustre_file_system_id (str) –
(required) The OCID of the Lustre file system.
- change_lustre_file_system_compartment_details (oci.lustre_file_storage.models.ChangeLustreFileSystemCompartmentDetails) – (required) The information 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
change_lustre_file_system_compartment() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- lustre_file_system_id (str) –
-
change_object_storage_link_compartment_and_wait_for_state(object_storage_link_id, change_object_storage_link_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
change_object_storage_link_compartment()and waits for theObjectStorageLinkacted upon to enter the given state(s).Parameters: - object_storage_link_id (str) –
(required) The OCID of the Object Storage link.
- change_object_storage_link_compartment_details (oci.lustre_file_storage.models.ChangeObjectStorageLinkCompartmentDetails) – (required) The information 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
change_object_storage_link_compartment() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- object_storage_link_id (str) –
-
create_lustre_file_system_and_wait_for_state(create_lustre_file_system_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_lustre_file_system()and waits for theWorkRequestto enter the given state(s).Parameters: - create_lustre_file_system_details (oci.lustre_file_storage.models.CreateLustreFileSystemDetails) – (required) Details for the new Lustre file system.
- 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_lustre_file_system() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
create_object_storage_link_and_wait_for_state(create_object_storage_link_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
create_object_storage_link()and waits for theObjectStorageLinkacted upon to enter the given state(s).Parameters: - create_object_storage_link_details (oci.lustre_file_storage.models.CreateObjectStorageLinkDetails) – (required) Details for the new Object Storage link.
- 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_object_storage_link() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
-
delete_lustre_file_system_and_wait_for_state(lustre_file_system_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_lustre_file_system()and waits for theWorkRequestto enter the given state(s).Parameters: - lustre_file_system_id (str) –
(required) The OCID of the Lustre file system.
- 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_lustre_file_system() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- lustre_file_system_id (str) –
-
delete_object_storage_link_and_wait_for_state(object_storage_link_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
delete_object_storage_link()and waits for theWorkRequestto enter the given state(s).Parameters: - object_storage_link_id (str) –
(required) The OCID of the Object Storage link.
- 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_object_storage_link() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- object_storage_link_id (str) –
-
update_lustre_file_system_and_wait_for_state(lustre_file_system_id, update_lustre_file_system_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_lustre_file_system()and waits for theWorkRequestto enter the given state(s).Parameters: - lustre_file_system_id (str) –
(required) The OCID of the Lustre file system.
- update_lustre_file_system_details (oci.lustre_file_storage.models.UpdateLustreFileSystemDetails) – (required) The information 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_lustre_file_system() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- lustre_file_system_id (str) –
-
update_object_storage_link_and_wait_for_state(object_storage_link_id, update_object_storage_link_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})¶ Calls
update_object_storage_link()and waits for theObjectStorageLinkacted upon to enter the given state(s).Parameters: - object_storage_link_id (str) –
(required) The OCID of the Object Storage link.
- update_object_storage_link_details (oci.lustre_file_storage.models.UpdateObjectStorageLinkDetails) – (required) The information 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_object_storage_link() - waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the
oci.wait_until()function. For example, you could passmax_interval_secondsormax_interval_secondsas dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
- object_storage_link_id (str) –
-