CreateFileSystemDetails

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

Bases: object

Details for creating the file system.

Methods

__init__(**kwargs) Initializes a new CreateFileSystemDetails object with values from keyword arguments.

Attributes

availability_domain [Required] Gets the availability_domain of this CreateFileSystemDetails.
compartment_id [Required] Gets the compartment_id of this CreateFileSystemDetails.
defined_tags Gets the defined_tags of this CreateFileSystemDetails.
display_name Gets the display_name of this CreateFileSystemDetails.
filesystem_snapshot_policy_id Gets the filesystem_snapshot_policy_id of this CreateFileSystemDetails.
freeform_tags Gets the freeform_tags of this CreateFileSystemDetails.
kms_key_id Gets the kms_key_id of this CreateFileSystemDetails.
source_snapshot_id Gets the source_snapshot_id of this CreateFileSystemDetails.
__init__(**kwargs)

Initializes a new CreateFileSystemDetails 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 CreateFileSystemDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateFileSystemDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateFileSystemDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateFileSystemDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateFileSystemDetails.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this CreateFileSystemDetails.
  • source_snapshot_id (str) – The value to assign to the source_snapshot_id property of this CreateFileSystemDetails.
  • filesystem_snapshot_policy_id (str) – The value to assign to the filesystem_snapshot_policy_id property of this CreateFileSystemDetails.
availability_domain

[Required] Gets the availability_domain of this CreateFileSystemDetails. The availability domain to create the file system in.

Example: Uocm:PHX-AD-1

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

[Required] Gets the compartment_id of this CreateFileSystemDetails. The OCID of the compartment to create the file system in.

Returns:The compartment_id of this CreateFileSystemDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateFileSystemDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this CreateFileSystemDetails.
Return type:dict(str, dict(str, object))
display_name

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

Example: My file system

Returns:The display_name of this CreateFileSystemDetails.
Return type:str
filesystem_snapshot_policy_id

Gets the filesystem_snapshot_policy_id of this CreateFileSystemDetails. The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.

May be unset as a blank value.

Returns:The filesystem_snapshot_policy_id of this CreateFileSystemDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateFileSystemDetails. Free-form tags for this resource. Each tag is a simple key-value pair

with no predefined name, type, or namespace.

For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this CreateFileSystemDetails.
Return type:dict(str, str)
kms_key_id

Gets the kms_key_id of this CreateFileSystemDetails. The OCID of the KMS key used to encrypt the encryption keys associated with this file system.

Returns:The kms_key_id of this CreateFileSystemDetails.
Return type:str
source_snapshot_id

Gets the source_snapshot_id of this CreateFileSystemDetails. The OCID of the snapshot used to create a cloned file system. See Cloning a File System.

Returns:The source_snapshot_id of this CreateFileSystemDetails.
Return type:str