CreateContainerEmptyDirVolumeDetails¶
-
class
oci.container_instances.models.
CreateContainerEmptyDirVolumeDetails
(**kwargs)¶ Bases:
oci.container_instances.models.create_container_volume_details.CreateContainerVolumeDetails
The empty directory for the container instance.
Attributes
VOLUME_TYPE_CONFIGFILE
str(object=’’) -> str VOLUME_TYPE_EMPTYDIR
str(object=’’) -> str backing_store
Gets the backing_store of this CreateContainerEmptyDirVolumeDetails. name
[Required] Gets the name of this CreateContainerVolumeDetails. volume_type
[Required] Gets the volume_type of this CreateContainerVolumeDetails. Methods
__init__
(**kwargs)Initializes a new CreateContainerEmptyDirVolumeDetails 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. -
VOLUME_TYPE_CONFIGFILE
= 'CONFIGFILE'¶
-
VOLUME_TYPE_EMPTYDIR
= 'EMPTYDIR'¶
-
__init__
(**kwargs)¶ Initializes a new CreateContainerEmptyDirVolumeDetails object with values from keyword arguments. The default value of the
volume_type
attribute of this class isEMPTYDIR
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - name (str) – The value to assign to the name property of this CreateContainerEmptyDirVolumeDetails.
- volume_type (str) – The value to assign to the volume_type property of this CreateContainerEmptyDirVolumeDetails. Allowed values for this property are: “EMPTYDIR”, “CONFIGFILE”
- backing_store (str) – The value to assign to the backing_store property of this CreateContainerEmptyDirVolumeDetails.
-
backing_store
¶ Gets the backing_store of this CreateContainerEmptyDirVolumeDetails. The volume type of the empty directory, can be either File Storage or Memory.
Returns: The backing_store of this CreateContainerEmptyDirVolumeDetails. 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.
-
name
¶ [Required] Gets the name of this CreateContainerVolumeDetails. The name of the volume. This must be unique within a single container instance.
Returns: The name of this CreateContainerVolumeDetails. Return type: str
-
volume_type
¶ [Required] Gets the volume_type of this CreateContainerVolumeDetails. The type of volume.
Allowed values for this property are: “EMPTYDIR”, “CONFIGFILE”
Returns: The volume_type of this CreateContainerVolumeDetails. Return type: str
-