FileStorageMountConfigurationDetails

class oci.data_science.models.FileStorageMountConfigurationDetails(**kwargs)

Bases: oci.data_science.models.storage_mount_configuration_details.StorageMountConfigurationDetails

The File Storage Mount Configuration Details.

Attributes

STORAGE_TYPE_FILE_STORAGE str(object=’’) -> str
STORAGE_TYPE_OBJECT_STORAGE str(object=’’) -> str
destination_directory_name [Required] Gets the destination_directory_name of this StorageMountConfigurationDetails.
destination_path Gets the destination_path of this StorageMountConfigurationDetails.
export_id [Required] Gets the export_id of this FileStorageMountConfigurationDetails.
mount_target_id [Required] Gets the mount_target_id of this FileStorageMountConfigurationDetails.
storage_type [Required] Gets the storage_type of this StorageMountConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new FileStorageMountConfigurationDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
STORAGE_TYPE_FILE_STORAGE = 'FILE_STORAGE'
STORAGE_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'
__init__(**kwargs)

Initializes a new FileStorageMountConfigurationDetails object with values from keyword arguments. The default value of the storage_type attribute of this class is FILE_STORAGE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • storage_type (str) – The value to assign to the storage_type property of this FileStorageMountConfigurationDetails. Allowed values for this property are: “FILE_STORAGE”, “OBJECT_STORAGE”
  • destination_directory_name (str) – The value to assign to the destination_directory_name property of this FileStorageMountConfigurationDetails.
  • destination_path (str) – The value to assign to the destination_path property of this FileStorageMountConfigurationDetails.
  • mount_target_id (str) – The value to assign to the mount_target_id property of this FileStorageMountConfigurationDetails.
  • export_id (str) – The value to assign to the export_id property of this FileStorageMountConfigurationDetails.
destination_directory_name

[Required] Gets the destination_directory_name of this StorageMountConfigurationDetails. The local directory name to be mounted

Returns:The destination_directory_name of this StorageMountConfigurationDetails.
Return type:str
destination_path

Gets the destination_path of this StorageMountConfigurationDetails. The local path of the mounted directory, excluding directory name.

Returns:The destination_path of this StorageMountConfigurationDetails.
Return type:str
export_id

[Required] Gets the export_id of this FileStorageMountConfigurationDetails. OCID of the export

Returns:The export_id of this FileStorageMountConfigurationDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

mount_target_id

[Required] Gets the mount_target_id of this FileStorageMountConfigurationDetails. OCID of the mount target

Returns:The mount_target_id of this FileStorageMountConfigurationDetails.
Return type:str
storage_type

[Required] Gets the storage_type of this StorageMountConfigurationDetails. The type of storage.

Allowed values for this property are: “FILE_STORAGE”, “OBJECT_STORAGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The storage_type of this StorageMountConfigurationDetails.
Return type:str