Package version:

Interface BackupPolicy

Backup policy information

interface BackupPolicy {
    backupPolicyId?: string;
    dailyBackupsToKeep?: number;
    enabled?: boolean;
    etag?: string;
    id?: string;
    location: string;
    monthlyBackupsToKeep?: number;
    name?: string;
    provisioningState?: string;
    systemData?: SystemData;
    tags?: {
        [propertyName: string]: string;
    };
    type?: string;
    volumeBackups?: VolumeBackups[];
    volumesAssigned?: number;
    weeklyBackupsToKeep?: number;
}

Hierarchy (view full)

Properties

backupPolicyId?: string

Backup Policy Resource ID NOTE: This property will not be serialized. It can only be populated by the server.

dailyBackupsToKeep?: number

Daily backups count to keep

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.

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

monthlyBackupsToKeep?: number

Monthly backups count to keep

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.

volumeBackups?: VolumeBackups[]

A list of volumes assigned to this policy NOTE: This property will not be serialized. It can only be populated by the server.

volumesAssigned?: number

Volumes using current backup policy NOTE: This property will not be serialized. It can only be populated by the server.

weeklyBackupsToKeep?: number

Weekly backups count to keep