CreateContainerOciFssVolumeDetails¶
- class oci.container_instances.models.CreateContainerOciFssVolumeDetails(**kwargs)¶
Bases:
CreateContainerVolumeDetailsAn OCI File Storage Service (FSS) File System that can be mounted to Containers within a Container Instance. Check https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/FileSystem for more details.
Attributes:
A constant which can be used with the volume_type property of a CreateContainerVolumeDetails.
A constant which can be used with the volume_type property of a CreateContainerVolumeDetails.
A constant which can be used with the volume_type property of a CreateContainerVolumeDetails.
[Required] Gets the export of this CreateContainerOciFssVolumeDetails.
Gets the mount_command of this CreateContainerOciFssVolumeDetails.
[Required] Gets the mount_target of this CreateContainerOciFssVolumeDetails.
[Required] Gets the name of this CreateContainerVolumeDetails.
Gets the security of this CreateContainerOciFssVolumeDetails.
Gets the subnet_id of this CreateContainerOciFssVolumeDetails.
[Required] Gets the volume_type of this CreateContainerVolumeDetails.
Methods:
__init__(**kwargs)Initializes a new CreateContainerOciFssVolumeDetails 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'¶
A constant which can be used with the volume_type property of a CreateContainerVolumeDetails. This constant has a value of “CONFIGFILE”
- VOLUME_TYPE_EMPTYDIR = 'EMPTYDIR'¶
A constant which can be used with the volume_type property of a CreateContainerVolumeDetails. This constant has a value of “EMPTYDIR”
- VOLUME_TYPE_OCI_FSS_FILE_SYSTEM = 'OCI_FSS_FILE_SYSTEM'¶
A constant which can be used with the volume_type property of a CreateContainerVolumeDetails. This constant has a value of “OCI_FSS_FILE_SYSTEM”
- __init__(**kwargs)¶
Initializes a new CreateContainerOciFssVolumeDetails object with values from keyword arguments. The default value of the
volume_typeattribute of this class isOCI_FSS_FILE_SYSTEMand 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 CreateContainerOciFssVolumeDetails.
volume_type (str) – The value to assign to the volume_type property of this CreateContainerOciFssVolumeDetails. Allowed values for this property are: “EMPTYDIR”, “CONFIGFILE”, “OCI_FSS_FILE_SYSTEM”
mount_target (oci.container_instances.models.CreateOciFssMountTargetDetails) – The value to assign to the mount_target property of this CreateContainerOciFssVolumeDetails.
export (oci.container_instances.models.CreateOciFssExportDetails) – The value to assign to the export property of this CreateContainerOciFssVolumeDetails.
security (oci.container_instances.models.CreateOciFssSecurityDetails) – The value to assign to the security property of this CreateContainerOciFssVolumeDetails.
mount_command (oci.container_instances.models.CreateOciFssMountCommandDetails) – The value to assign to the mount_command property of this CreateContainerOciFssVolumeDetails.
subnet_id (str) – The value to assign to the subnet_id property of this CreateContainerOciFssVolumeDetails.
- property export¶
[Required] Gets the export of this CreateContainerOciFssVolumeDetails.
- Returns
The export of this CreateContainerOciFssVolumeDetails.
- Return type
- 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 mount_command¶
Gets the mount_command of this CreateContainerOciFssVolumeDetails.
- Returns
The mount_command of this CreateContainerOciFssVolumeDetails.
- Return type
oci.container_instances.models.CreateOciFssMountCommandDetails
- property mount_target¶
[Required] Gets the mount_target of this CreateContainerOciFssVolumeDetails.
- Returns
The mount_target of this CreateContainerOciFssVolumeDetails.
- Return type
oci.container_instances.models.CreateOciFssMountTargetDetails
- property 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
- property security¶
Gets the security of this CreateContainerOciFssVolumeDetails.
- Returns
The security of this CreateContainerOciFssVolumeDetails.
- Return type
- property subnet_id¶
Gets the subnet_id of this CreateContainerOciFssVolumeDetails. Specifies the network interface to be used for the OCI File Storage Service (FSS) volume. This is a required parameter when a Container Instance is attached to more than one subnets.
- Returns
The subnet_id of this CreateContainerOciFssVolumeDetails.
- Return type
str
- property volume_type¶
[Required] Gets the volume_type of this CreateContainerVolumeDetails. The type of volume.
Allowed values for this property are: “EMPTYDIR”, “CONFIGFILE”, “OCI_FSS_FILE_SYSTEM”
- Returns
The volume_type of this CreateContainerVolumeDetails.
- Return type
str