UpdateSnapshotDetails

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

Bases: object

Details for updating the snapshot.

Methods:

__init__(**kwargs)

Initializes a new UpdateSnapshotDetails object with values from keyword arguments.

Attributes:

defined_tags

Gets the defined_tags of this UpdateSnapshotDetails.

expiration_time

Gets the expiration_time of this UpdateSnapshotDetails.

freeform_tags

Gets the freeform_tags of this UpdateSnapshotDetails. 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"}.

lock_duration_details

Gets the lock_duration_details of this UpdateSnapshotDetails.

__init__(**kwargs)

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

Parameters
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateSnapshotDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateSnapshotDetails.

  • expiration_time (datetime) – The value to assign to the expiration_time property of this UpdateSnapshotDetails.

  • lock_duration_details (oci.file_storage.models.LockDurationDetails) – The value to assign to the lock_duration_details property of this UpdateSnapshotDetails.

property defined_tags

Gets the defined_tags of this UpdateSnapshotDetails. 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 UpdateSnapshotDetails.

Return type

dict(str, dict(str, object))

property expiration_time

Gets the expiration_time of this UpdateSnapshotDetails. The UTC time when this snapshot will be deleted. To remove the expiration time, set this field to the minimum date-time value using Date(0).

Example: Thu Jan 01 01:00:00 GMT 1970

Returns

The expiration_time of this UpdateSnapshotDetails.

Return type

datetime

property freeform_tags

Gets the freeform_tags of this UpdateSnapshotDetails. 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 UpdateSnapshotDetails.

Return type

dict(str, str)

property lock_duration_details

Gets the lock_duration_details of this UpdateSnapshotDetails.

Returns

The lock_duration_details of this UpdateSnapshotDetails.

Return type

oci.file_storage.models.LockDurationDetails