ObjectStorageMountConfigurationDetails

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

Bases: StorageMountConfigurationDetails

The Object Storage Configuration Details.

Attributes:

STORAGE_TYPE_FILE_STORAGE

A constant which can be used with the storage_type property of a StorageMountConfigurationDetails.

STORAGE_TYPE_OBJECT_STORAGE

A constant which can be used with the storage_type property of a StorageMountConfigurationDetails.

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'

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 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.

property bucket

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

Returns

The bucket of this ObjectStorageMountConfigurationDetails.

Return type

str

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 namespace

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

Returns

The namespace of this ObjectStorageMountConfigurationDetails.

Return type

str

property prefix

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

Returns

The prefix of this ObjectStorageMountConfigurationDetails.

Return type

str

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