UpdateFileSystemDetails

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

Bases: object

Details for updating the file system.

Methods

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

Attributes

defined_tags Gets the defined_tags of this UpdateFileSystemDetails.
display_name Gets the display_name of this UpdateFileSystemDetails.
filesystem_snapshot_policy_id Gets the filesystem_snapshot_policy_id of this UpdateFileSystemDetails.
freeform_tags Gets the freeform_tags of this UpdateFileSystemDetails.
kms_key_id Gets the kms_key_id of this UpdateFileSystemDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this UpdateFileSystemDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateFileSystemDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateFileSystemDetails.
  • kms_key_id (str) – The value to assign to the kms_key_id property of this UpdateFileSystemDetails.
  • filesystem_snapshot_policy_id (str) – The value to assign to the filesystem_snapshot_policy_id property of this UpdateFileSystemDetails.
defined_tags

Gets the defined_tags of this UpdateFileSystemDetails. 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 UpdateFileSystemDetails.
Return type:dict(str, dict(str, object))
display_name

Gets the display_name of this UpdateFileSystemDetails. 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 UpdateFileSystemDetails.
Return type:str
filesystem_snapshot_policy_id

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

If string is empty, the policy reference (if any) would be removed.

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

Gets the freeform_tags of this UpdateFileSystemDetails. 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 UpdateFileSystemDetails.
Return type:dict(str, str)
kms_key_id

Gets the kms_key_id of this UpdateFileSystemDetails. The OCID of the Key Management master encryption key to associate with the specified file system. If this value is empty, the Update operation will remove the associated key, if there is one, from the file system. (The file system will continue to be encrypted, but with an encryption key managed by Oracle.)

If updating to a new Key Management key, the old key must remain enabled so that files previously encrypted continue to be accessible. For more information, see Overview of Key Management.

Returns:The kms_key_id of this UpdateFileSystemDetails.
Return type:str