CreateSnapshotDetails

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

Bases: object

Details for creating the snapshot.

__init__(**kwargs)

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

Parameters:
  • file_system_id (str) -- The value to assign to the file_system_id property of this CreateSnapshotDetails.
  • name (str) -- The value to assign to the name property of this CreateSnapshotDetails.
  • freeform_tags (dict(str, str)) -- The value to assign to the freeform_tags property of this CreateSnapshotDetails.
  • defined_tags (dict(str, dict(str, object))) -- The value to assign to the defined_tags property of this CreateSnapshotDetails.
defined_tags

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

[Required] Gets the file_system_id of this CreateSnapshotDetails. The OCID of the file system to take a snapshot of.

Returns:The file_system_id of this CreateSnapshotDetails.
Return type:str
freeform_tags

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

[Required] Gets the name of this CreateSnapshotDetails. Name of the snapshot. This value is immutable. It must also be unique with respect to all other non-DELETED snapshots on the associated file system.

Avoid entering confidential information.

Example: Sunday

Returns:The name of this CreateSnapshotDetails.
Return type:str