共用方式為


BackupPolicy interface

備份原則資訊

Extends

屬性

backupPolicyId

備份原則資源標識碼注意:此屬性將不會串行化。 它只能由伺服器填入。

dailyBackupsToKeep

每日備份計數以保留

enabled

要決定原則的屬性已啟用或未啟用

etag

每當更新資源時變更的唯一隻讀字串。 注意:這個屬性不會串行化。 它只能由伺服器填入。

monthlyBackupsToKeep

要保留的每月備份計數

provisioningState

Azure 生命週期管理附註:此屬性將不會串行化。 它只能由伺服器填入。

volumeBackups

指派給此原則的磁碟區清單注意:此屬性將不會串行化。 它只能由伺服器填入。

volumesAssigned

使用目前備份原則的磁碟區注意:此屬性將不會串行化。 它只能由伺服器填入。

weeklyBackupsToKeep

要保留的每周備份計數

繼承的屬性

id

資源的完整資源標識碼。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” 附注:此屬性將不會串行化。 它只能由伺服器填入。

location

資源所在的地理位置

name

資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tags

資源標籤。

type

資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。

屬性詳細資料

backupPolicyId

備份原則資源標識碼注意:此屬性將不會串行化。 它只能由伺服器填入。

backupPolicyId?: string

屬性值

string

dailyBackupsToKeep

每日備份計數以保留

dailyBackupsToKeep?: number

屬性值

number

enabled

要決定原則的屬性已啟用或未啟用

enabled?: boolean

屬性值

boolean

etag

每當更新資源時變更的唯一隻讀字串。 注意:這個屬性不會串行化。 它只能由伺服器填入。

etag?: string

屬性值

string

monthlyBackupsToKeep

要保留的每月備份計數

monthlyBackupsToKeep?: number

屬性值

number

provisioningState

Azure 生命週期管理附註:此屬性將不會串行化。 它只能由伺服器填入。

provisioningState?: string

屬性值

string

volumeBackups

指派給此原則的磁碟區清單注意:此屬性將不會串行化。 它只能由伺服器填入。

volumeBackups?: VolumeBackups[]

屬性值

volumesAssigned

使用目前備份原則的磁碟區注意:此屬性將不會串行化。 它只能由伺服器填入。

volumesAssigned?: number

屬性值

number

weeklyBackupsToKeep

要保留的每周備份計數

weeklyBackupsToKeep?: number

屬性值

number

繼承的屬性詳細資料

id

資源的完整資源標識碼。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” 附注:此屬性將不會串行化。 它只能由伺服器填入。

id?: string

屬性值

string

繼承自TrackedResource.id

location

資源所在的地理位置

location: string

屬性值

string

繼承自TrackedResource.location

name

資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。

name?: string

屬性值

string

繼承自TrackedResource.name

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。

systemData?: SystemData

屬性值

繼承自TrackedResource.systemData

tags

資源標籤。

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

屬性值

{[propertyName: string]: string}

繼承自TrackedResource.tags

type

資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。

type?: string

屬性值

string

繼承自TrackedResource.type