UpdateFileSystemDetails¶
- class oci.file_storage.models.UpdateFileSystemDetails(**kwargs)¶
Bases:
objectDetails for updating the file system.
Methods:
__init__(**kwargs)Initializes a new UpdateFileSystemDetails object with values from keyword arguments.
Attributes:
Gets the defined_tags of this UpdateFileSystemDetails.
Gets the display_name of this UpdateFileSystemDetails.
Gets the filesystem_snapshot_policy_id of this UpdateFileSystemDetails.
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"}.
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.
- property 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))
- property 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
- property 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
- property 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)
- property 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