SnapshotPolicy Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Snapshot policy information
[Microsoft.Rest.Serialization.JsonTransformation]
public class SnapshotPolicy : Microsoft.Azure.Management.NetApp.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SnapshotPolicy = class
inherit TrackedResource
Public Class SnapshotPolicy
Inherits TrackedResource
- Inheritance
- Attributes
Constructors
SnapshotPolicy() |
Initializes a new instance of the SnapshotPolicy class. |
SnapshotPolicy(String, String, String, String, SystemData, IDictionary<String, String>, String, HourlySchedule, DailySchedule, WeeklySchedule, MonthlySchedule, Nullable<Boolean>, String) |
Initializes a new instance of the SnapshotPolicy class. |
Properties
DailySchedule |
Gets or sets schedule for daily snapshots |
Enabled |
Gets or sets the property to decide policy is enabled or not |
Etag |
Gets a unique read-only string that changes whenever the resource is updated. |
HourlySchedule |
Gets or sets schedule for hourly snapshots |
Id |
Gets fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" (Inherited from Resource) |
Location |
Gets or sets the geo-location where the resource lives (Inherited from TrackedResource) |
MonthlySchedule |
Gets or sets schedule for monthly snapshots |
Name |
Gets the name of the resource (Inherited from Resource) |
ProvisioningState |
Gets azure lifecycle management |
SystemData |
Gets azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from Resource) |
Tags |
Gets or sets resource tags. (Inherited from TrackedResource) |
Type |
Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" (Inherited from Resource) |
WeeklySchedule |
Gets or sets schedule for weekly snapshots |
Methods
Validate() |
Validate the object. |
Extension Methods
ConvertToPs(SnapshotPolicy) |