Show / Hide Table of Contents

Class UpdateFilesystemSnapshotPolicyDetails

Details for updating the file system snapshot policy.

Inheritance
object
UpdateFilesystemSnapshotPolicyDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.FilestorageService.Models
Assembly: OCI.DotNetSDK.Filestorage.dll
Syntax
public class UpdateFilesystemSnapshotPolicyDetails

Properties

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: policy1

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

PolicyPrefix

Declaration
[JsonProperty(PropertyName = "policyPrefix")]
public string PolicyPrefix { get; set; }
Property Value
Type Description
string

The prefix to apply to all snapshots created by this policy.
Example: acme

Schedules

Declaration
[JsonProperty(PropertyName = "schedules")]
public List<SnapshotSchedule> Schedules { get; set; }
Property Value
Type Description
List<SnapshotSchedule>

The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
If using the CLI, provide the schedule as a list of JSON strings, with the list wrapped in quotation marks, i.e.

  --schedules '[{\"timeZone\":\"UTC\",\"period\":\"DAILY\",\"hourOfDay\":18},{\"timeZone\":\"UTC\",\"period\":\"HOURLY\"}]'
In this article
Back to top