LongTermRetentionPolicy interface

長期保留原則。

Extends

屬性

monthlyRetention

ISO 8601 格式之 LTR 備份的每月保留原則。

timeBasedImmutability

是否為將來的備份啟用基於時間的不變性的設置。 設置后,將來的備份將啟用 TimeBasedImmutableability。

timeBasedImmutabilityMode

未來備份的基於時間的不可變性模式的設置(值可以是鎖定或解除鎖定。僅當啟用了TimeBasedImmuability時才有效)。 注意:如果 TimeBasedImmutabilityMode 為 Locked,則無法刪除 LTR 備份的不變性。

weeklyRetention

ISO 8601 格式之 LTR 備份的每周保留原則。

weekOfYear

以 ISO 8601 格式進行年度備份的年度周。

yearlyRetention

ISO 8601 格式之 LTR 備份的年度保留原則。

繼承的屬性

id

資源的完整資源標識碼。 範例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

資源的名稱

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。

type

資源的類型。 例如:「Microsoft.Compute/virtualMachines」或「Microsoft.Storage/storageAccounts」

屬性詳細資料

monthlyRetention

ISO 8601 格式之 LTR 備份的每月保留原則。

monthlyRetention?: string

屬性值

string

timeBasedImmutability

是否為將來的備份啟用基於時間的不變性的設置。 設置后,將來的備份將啟用 TimeBasedImmutableability。

timeBasedImmutability?: string

屬性值

string

timeBasedImmutabilityMode

未來備份的基於時間的不可變性模式的設置(值可以是鎖定或解除鎖定。僅當啟用了TimeBasedImmuability時才有效)。 注意:如果 TimeBasedImmutabilityMode 為 Locked,則無法刪除 LTR 備份的不變性。

timeBasedImmutabilityMode?: string

屬性值

string

weeklyRetention

ISO 8601 格式之 LTR 備份的每周保留原則。

weeklyRetention?: string

屬性值

string

weekOfYear

以 ISO 8601 格式進行年度備份的年度周。

weekOfYear?: number

屬性值

number

yearlyRetention

ISO 8601 格式之 LTR 備份的年度保留原則。

yearlyRetention?: string

屬性值

string

繼承的屬性詳細資料

id

資源的完整資源標識碼。 範例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

屬性值

string

繼承自ProxyResource.id

name

資源的名稱

name?: string

屬性值

string

繼承自ProxyResource.name

systemData

包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。

systemData?: SystemData

屬性值

繼承自ProxyResource.systemData

type

資源的類型。 例如:「Microsoft.Compute/virtualMachines」或「Microsoft.Storage/storageAccounts」

type?: string

屬性值

string

繼承自ProxyResource.type