ExportSet

class oci.file_storage.models.ExportSet(**kwargs)

Bases: object

A set of file systems to export through one or more mount targets. Composed of zero or more export resources.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ExportSet. This constant has a value of "ACTIVE"

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ExportSet. This constant has a value of "CREATING"

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ExportSet. This constant has a value of "DELETED"

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a ExportSet. This constant has a value of "DELETING"

__init__(**kwargs)

Initializes a new ExportSet object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • availability_domain (str) -- The value to assign to the availability_domain property of this ExportSet.
  • compartment_id (str) -- The value to assign to the compartment_id property of this ExportSet.
  • display_name (str) -- The value to assign to the display_name property of this ExportSet.
  • id (str) -- The value to assign to the id property of this ExportSet.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this ExportSet. Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • max_fs_stat_bytes (int) -- The value to assign to the max_fs_stat_bytes property of this ExportSet.
  • max_fs_stat_files (int) -- The value to assign to the max_fs_stat_files property of this ExportSet.
  • time_created (datetime) -- The value to assign to the time_created property of this ExportSet.
  • vcn_id (str) -- The value to assign to the vcn_id property of this ExportSet.
availability_domain

Gets the availability_domain of this ExportSet. The availability domain the export set is in. May be unset as a blank or NULL value.

Example: Uocm:PHX-AD-1

Returns:The availability_domain of this ExportSet.
Return type:str
compartment_id

[Required] Gets the compartment_id of this ExportSet. The OCID of the compartment that contains the export set.

Returns:The compartment_id of this ExportSet.
Return type:str
display_name

[Required] Gets the display_name of this ExportSet. A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.

Example: My export set

Returns:The display_name of this ExportSet.
Return type:str
id

[Required] Gets the id of this ExportSet. The OCID of the export set.

Returns:The id of this ExportSet.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ExportSet. The current state of the export set.

Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The lifecycle_state of this ExportSet.
Return type:str
max_fs_stat_bytes

Gets the max_fs_stat_bytes of this ExportSet. Controls the maximum tbytes, fbytes, and abytes, values reported by NFS FSSTAT calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The tbytes value reported by FSSTAT will be maxFsStatBytes. The value of fbytes and abytes will be maxFsStatBytes minus the metered size of the file system. If the metered size is larger than maxFsStatBytes, then fbytes and abytes will both be '0'.

Returns:The max_fs_stat_bytes of this ExportSet.
Return type:int
max_fs_stat_files

Gets the max_fs_stat_files of this ExportSet. Controls the maximum tfiles, ffiles, and afiles values reported by NFS FSSTAT calls through any associated mount targets. This is an advanced feature. For most applications, use the default value. The tfiles value reported by FSSTAT will be maxFsStatFiles. The value of ffiles and afiles will be maxFsStatFiles minus the metered size of the file system. If the metered size is larger than maxFsStatFiles, then ffiles and afiles will both be '0'.

Returns:The max_fs_stat_files of this ExportSet.
Return type:int
time_created

[Required] Gets the time_created of this ExportSet. The date and time the export set was created, expressed in RFC 3339 timestamp format.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this ExportSet.
Return type:datetime
vcn_id

[Required] Gets the vcn_id of this ExportSet. The OCID of the virtual cloud network (VCN) the export set is in.

Returns:The vcn_id of this ExportSet.
Return type:str