StorageMountConfigurationDetails¶
- class oci.data_science.models.StorageMountConfigurationDetails(**kwargs)¶
Bases:
objectThe storage mount configuration details
Attributes:
A constant which can be used with the storage_type property of a StorageMountConfigurationDetails.
A constant which can be used with the storage_type property of a StorageMountConfigurationDetails.
[Required] Gets the destination_directory_name of this StorageMountConfigurationDetails.
Gets the destination_path of this StorageMountConfigurationDetails.
[Required] Gets the storage_type of this StorageMountConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new StorageMountConfigurationDetails 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'¶
A constant which can be used with the storage_type property of a StorageMountConfigurationDetails. This constant has a value of “FILE_STORAGE”
- STORAGE_TYPE_OBJECT_STORAGE = 'OBJECT_STORAGE'¶
A constant which can be used with the storage_type property of a StorageMountConfigurationDetails. This constant has a value of “OBJECT_STORAGE”
- __init__(**kwargs)¶
Initializes a new StorageMountConfigurationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 StorageMountConfigurationDetails. 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’.
destination_directory_name (str) – The value to assign to the destination_directory_name property of this StorageMountConfigurationDetails.
destination_path (str) – The value to assign to the destination_path property of this StorageMountConfigurationDetails.
- property 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
- property 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.
- property 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