Package version:

Interface BackupPolicyPatch

Backup policy Details for create and update

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

Properties

backupPolicyId?: string

Backup Policy GUID 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

id?: string

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

location?: string

Resource location

monthlyBackupsToKeep?: number

Monthly backups count to keep

name?: string

Resource name 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.

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

Resource tags

type?: string

Resource type 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