BackupPolicy interface

Backup policy information

Extends

Properties

backupPolicyId

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

dailyBackupsToKeep

Daily backups count to keep

enabled

The property to decide policy is enabled or not

etag

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.

monthlyBackupsToKeep

Monthly backups count to keep

provisioningState

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

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

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

weeklyBackupsToKeep

Weekly backups count to keep

Inherited Properties

id

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

The geo-location where the resource lives

name

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

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

Resource tags.

type

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.

Property Details

backupPolicyId

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

backupPolicyId?: string

Property Value

string

dailyBackupsToKeep

Daily backups count to keep

dailyBackupsToKeep?: number

Property Value

number

enabled

The property to decide policy is enabled or not

enabled?: boolean

Property Value

boolean

etag

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.

etag?: string

Property Value

string

monthlyBackupsToKeep

Monthly backups count to keep

monthlyBackupsToKeep?: number

Property Value

number

provisioningState

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

provisioningState?: string

Property Value

string

volumeBackups

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

volumeBackups?: VolumeBackups[]

Property Value

volumesAssigned

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

volumesAssigned?: number

Property Value

number

weeklyBackupsToKeep

Weekly backups count to keep

weeklyBackupsToKeep?: number

Property Value

number

Inherited Property Details

id

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.

id?: string

Property Value

string

Inherited From TrackedResource.id

location

The geo-location where the resource lives

location: string

Property Value

string

Inherited From TrackedResource.location

name

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

name?: string

Property Value

string

Inherited From TrackedResource.name

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.

systemData?: SystemData

Property Value

Inherited From TrackedResource.systemData

tags

Resource tags.

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

Property Value

{[propertyName: string]: string}

Inherited From TrackedResource.tags

type

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.

type?: string

Property Value

string

Inherited From TrackedResource.type