CreateContainerOciFssVolumeDetails

class oci.container_instances.models.CreateContainerOciFssVolumeDetails(**kwargs)

Bases: oci.container_instances.models.create_container_volume_details.CreateContainerVolumeDetails

An 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_CONFIGFILE str(object=’’) -> str
VOLUME_TYPE_EMPTYDIR str(object=’’) -> str
VOLUME_TYPE_OCI_FSS_FILE_SYSTEM str(object=’’) -> str
export [Required] Gets the export of this CreateContainerOciFssVolumeDetails.
mount_command Gets the mount_command of this CreateContainerOciFssVolumeDetails.
mount_target [Required] Gets the mount_target of this CreateContainerOciFssVolumeDetails.
name [Required] Gets the name of this CreateContainerVolumeDetails.
security Gets the security of this CreateContainerOciFssVolumeDetails.
subnet_id Gets 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_type attribute of this class is OCI_FSS_FILE_SYSTEM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
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