Package version:

Interface SnapshotPolicy

Snapshot policy information

interface SnapshotPolicy {
    dailySchedule?: DailySchedule;
    enabled?: boolean;
    etag?: string;
    hourlySchedule?: HourlySchedule;
    id?: string;
    location: string;
    monthlySchedule?: MonthlySchedule;
    name?: string;
    provisioningState?: string;
    systemData?: SystemData;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
    weeklySchedule?: WeeklySchedule;
}

Hierarchy (view full)

Properties

dailySchedule?: DailySchedule

Schedule for daily snapshots

enabled?: boolean

The property to decide policy is enabled or not

etag?: string

A unique read-only string that changes whenever the resource is updated. NOTE: This property will not be serialized. It can only be populated by the server.

hourlySchedule?: HourlySchedule

Schedule for hourly snapshots

id?: string

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" NOTE: This property will not be serialized. It can only be populated by the server.

location: string

The geo-location where the resource lives

monthlySchedule?: MonthlySchedule

Schedule for monthly snapshots

name?: string

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Azure lifecycle management NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information. NOTE: This property will not be serialized. It can only be populated by the server.

tags?: {
    [propertyName: string]: string;
}

Resource tags.

type?: string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

weeklySchedule?: WeeklySchedule

Schedule for weekly snapshots