CreateContainerOciFssVolumeDetails

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

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

A constant which can be used with the volume_type property of a CreateContainerVolumeDetails.

VOLUME_TYPE_EMPTYDIR

A constant which can be used with the volume_type property of a CreateContainerVolumeDetails.

VOLUME_TYPE_OCI_FSS_FILE_SYSTEM

A constant which can be used with the volume_type property of a CreateContainerVolumeDetails.

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'

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

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

oci.container_instances.models.CreateOciFssSecurityDetails

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