ObjectStorageMountConfigurationDetails

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

Bases: oci.data_science.models.storage_mount_configuration_details.StorageMountConfigurationDetails

The Object Storage Configuration Details.

Attributes

STORAGE_TYPE_FILE_STORAGE str(object=’’) -> str
STORAGE_TYPE_OBJECT_STORAGE str(object=’’) -> str
bucket [Required] Gets the bucket of this ObjectStorageMountConfigurationDetails.
destination_directory_name [Required] Gets the destination_directory_name of this StorageMountConfigurationDetails.
destination_path Gets the destination_path of this StorageMountConfigurationDetails.
namespace [Required] Gets the namespace of this ObjectStorageMountConfigurationDetails.
prefix Gets the prefix of this ObjectStorageMountConfigurationDetails.
storage_type [Required] Gets the storage_type of this StorageMountConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new ObjectStorageMountConfigurationDetails 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 ObjectStorageMountConfigurationDetails object with values from keyword arguments. The default value of the storage_type attribute of this class is OBJECT_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 ObjectStorageMountConfigurationDetails. 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 ObjectStorageMountConfigurationDetails.
  • destination_path (str) – The value to assign to the destination_path property of this ObjectStorageMountConfigurationDetails.
  • namespace (str) – The value to assign to the namespace property of this ObjectStorageMountConfigurationDetails.
  • bucket (str) – The value to assign to the bucket property of this ObjectStorageMountConfigurationDetails.
  • prefix (str) – The value to assign to the prefix property of this ObjectStorageMountConfigurationDetails.
bucket

[Required] Gets the bucket of this ObjectStorageMountConfigurationDetails. The object storage bucket

Returns:The bucket of this ObjectStorageMountConfigurationDetails.
Return type:str
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
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.

namespace

[Required] Gets the namespace of this ObjectStorageMountConfigurationDetails. The object storage namespace

Returns:The namespace of this ObjectStorageMountConfigurationDetails.
Return type:str
prefix

Gets the prefix of this ObjectStorageMountConfigurationDetails. Prefix in the bucket to mount

Returns:The prefix of this ObjectStorageMountConfigurationDetails.
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