CreateContainerOciFssVolumeDetails¶
-
class
oci.container_instances.models.CreateContainerOciFssVolumeDetails(**kwargs)¶ Bases:
oci.container_instances.models.create_container_volume_details.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
VOLUME_TYPE_CONFIGFILEstr(object=’’) -> str VOLUME_TYPE_EMPTYDIRstr(object=’’) -> str VOLUME_TYPE_OCI_FSS_FILE_SYSTEMstr(object=’’) -> str export[Required] Gets the export of this CreateContainerOciFssVolumeDetails. mount_commandGets the mount_command of this CreateContainerOciFssVolumeDetails. mount_target[Required] Gets the mount_target of this CreateContainerOciFssVolumeDetails. name[Required] Gets the name of this CreateContainerVolumeDetails. securityGets the security of this CreateContainerOciFssVolumeDetails. subnet_idGets the subnet_id of this CreateContainerOciFssVolumeDetails. volume_type[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'¶
-
VOLUME_TYPE_EMPTYDIR= 'EMPTYDIR'¶
-
VOLUME_TYPE_OCI_FSS_FILE_SYSTEM= '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.
-
export¶ [Required] Gets the export of this CreateContainerOciFssVolumeDetails.
Returns: The export of this CreateContainerOciFssVolumeDetails. Return type: oci.container_instances.models.CreateOciFssExportDetails
-
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.
-
mount_command¶ Gets the mount_command of this CreateContainerOciFssVolumeDetails.
Returns: The mount_command of this CreateContainerOciFssVolumeDetails. Return type: oci.container_instances.models.CreateOciFssMountCommandDetails
-
mount_target¶ [Required] Gets the mount_target of this CreateContainerOciFssVolumeDetails.
Returns: The mount_target of this CreateContainerOciFssVolumeDetails. Return type: oci.container_instances.models.CreateOciFssMountTargetDetails
-
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
-
security¶ Gets the security of this CreateContainerOciFssVolumeDetails.
Returns: The security of this CreateContainerOciFssVolumeDetails. Return type: oci.container_instances.models.CreateOciFssSecurityDetails
-
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
-
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
-