Share via


Microsoft.RecoveryServices コンテナー/backupFabrics/backupProtectionIntent 2021-08-01

Bicep リソース定義

コンテナー/backupFabrics/backupProtectionIntent リソースの種類は、次の場所にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2021-08-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  eTag: 'string'
  properties: {
    backupManagementType: 'string'
    itemId: 'string'
    policyId: 'string'
    protectionState: 'string'
    sourceResourceId: 'string'
    protectionIntentItemType: 'string'
    // For remaining properties, see ProtectionIntent objects
  }
}

ProtectionIntent オブジェクト

protectionIntentItemType プロパティを設定して、オブジェクトの種類を指定します。

AzureResourceItem の場合は、次を使用します。

  protectionIntentItemType: 'AzureResourceItem'
  friendlyName: 'string'

AzureWorkloadSQLAutoProtectionIntent の場合は、次の値を使用します。

  protectionIntentItemType: 'AzureWorkloadSQLAutoProtectionIntent'
  workloadItemType: 'string'

プロパティ値

vaults/backupFabrics/backupProtectionIntent

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)
location リソースの場所。 string
tags リソース タグ。 タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部にある子リソース」を参照してください。
種類のリソースのシンボル名: backupFabrics
eTag オプションの ETag。 string
properties ProtectionIntentResource プロパティ ProtectionIntent

ProtectionIntent

名前 説明
backupManagementType バックアップ項目のバックアップ管理の種類。 'AzureBackupServer'
'AzureIaasVM'
'AzureSql'
'AzureStorage'
'AzureWorkload'
'DPM'
'DefaultBackup'
'Invalid'
'MAB'
itemId 保護されているアイテムの ID。Azure Vm の場合は ProtectedItemId です string
policyId この項目がバックアップされるバックアップ ポリシーの ID。 string
protectionState このバックアップ項目のバックアップ状態。 'Invalid'
'NotProtected'
'Protected'
'Protecting'
'ProtectionFailed'
sourceResourceId バックアップするリソースの ARM ID。 string
protectionIntentItemType オブジェクトの種類を設定する AzureResourceItem
AzureWorkloadSQLAutoProtectionIntent (必須)

AzureResourceProtectionIntent

名前 説明
protectionIntentItemType backup protectionIntent 型。 'AzureResourceItem' (必須)
friendlyName このバックアップ項目によって表される VM のフレンドリ名。 string

AzureWorkloadSQLAutoProtectionIntent

名前 説明
protectionIntentItemType backup protectionIntent 型。 'AzureWorkloadSQLAutoProtectionIntent' (必須)
workloadItemType 意図が設定されるアイテムのワークロード項目の種類 'Invalid'
'SAPAseDatabase'
'SAPAseSystem'
'SAPHanaDatabase'
'SAPHanaSystem'
'SQLDataBase'
'SQLInstance'

ARM テンプレート リソース定義

コンテナー/backupFabrics/backupProtectionIntent リソースの種類は、次の場所にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent リソースを作成するには、テンプレートに次の JSON を追加します。

{
  "type": "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent",
  "apiVersion": "2021-08-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "eTag": "string",
  "properties": {
    "backupManagementType": "string",
    "itemId": "string",
    "policyId": "string",
    "protectionState": "string",
    "sourceResourceId": "string",
    "protectionIntentItemType": "string"
    // For remaining properties, see ProtectionIntent objects
  }
}

ProtectionIntent オブジェクト

protectionIntentItemType プロパティを設定して、オブジェクトの種類を指定します。

AzureResourceItem の場合は、次を使用します。

  "protectionIntentItemType": "AzureResourceItem",
  "friendlyName": "string"

AzureWorkloadSQLAutoProtectionIntent の場合は、次の値を使用します。

  "protectionIntentItemType": "AzureWorkloadSQLAutoProtectionIntent",
  "workloadItemType": "string"

プロパティ値

vaults/backupFabrics/backupProtectionIntent

名前 説明
type リソースの種類 'Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent'
apiVersion リソース API のバージョン '2021-08-01'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)
location リソースの場所。 string
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
eTag オプションの ETag。 string
properties ProtectionIntentResource プロパティ ProtectionIntent

ProtectionIntent

名前 説明
backupManagementType バックアップ項目のバックアップ管理の種類。 'AzureBackupServer'
'AzureIaasVM'
'AzureSql'
'AzureStorage'
'AzureWorkload'
'DPM'
'DefaultBackup'
'Invalid'
'MAB'
itemId 保護されているアイテムの ID。Azure Vm の場合は ProtectedItemId です string
policyId この項目がバックアップされるバックアップ ポリシーの ID。 string
protectionState このバックアップ項目のバックアップ状態。 'Invalid'
'NotProtected'
'Protected'
'Protecting'
'ProtectionFailed'
sourceResourceId バックアップするリソースの ARM ID。 string
protectionIntentItemType オブジェクトの種類を設定する AzureResourceItem
AzureWorkloadSQLAutoProtectionIntent (必須)

AzureResourceProtectionIntent

名前 説明
protectionIntentItemType backup protectionIntent 型。 'AzureResourceItem' (必須)
friendlyName このバックアップ項目で表される VM のフレンドリ名。 string

AzureWorkloadSQLAutoProtectionIntent

名前 説明
protectionIntentItemType backup protectionIntent 型。 'AzureWorkloadSQLAutoProtectionIntent' (必須)
workloadItemType 意図を設定するアイテムのワークロード項目の種類 'Invalid'
'SAPAseDatabase'
'SAPAseSystem'
'SAPHanaDatabase'
'SAPHanaSystem'
'SQLDataBase'
'SQLInstance'

Terraform (AzAPI プロバイダー) リソース定義

コンテナー/backupFabrics/backupProtectionIntent リソースの種類は、次の場所にデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2021-08-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      backupManagementType = "string"
      itemId = "string"
      policyId = "string"
      protectionState = "string"
      sourceResourceId = "string"
      protectionIntentItemType = "string"
      // For remaining properties, see ProtectionIntent objects
    }
    eTag = "string"
  })
}

ProtectionIntent オブジェクト

protectionIntentItemType プロパティを設定して、オブジェクトの種類を指定します。

AzureResourceItem の場合は、次を使用します。

  protectionIntentItemType = "AzureResourceItem"
  friendlyName = "string"

AzureWorkloadSQLAutoProtectionIntent の場合は、次の値を使用します。

  protectionIntentItemType = "AzureWorkloadSQLAutoProtectionIntent"
  workloadItemType = "string"

プロパティ値

vaults/backupFabrics/backupProtectionIntent

名前 説明
type リソースの種類 "Microsoft.RecoveryServices/vaults/backupFabrics/backupProtectionIntent@2021-08-01"
name リソース名 string (必須)
location リソースの場所。 string
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: backupFabrics
tags リソース タグ。 タグ名と値のディクショナリ。
eTag オプションの ETag。 string
properties ProtectionIntentResource プロパティ ProtectionIntent

ProtectionIntent

名前 説明
backupManagementType バックアップ項目のバックアップ管理の種類。 "AzureBackupServer"
"AzureIaasVM"
"AzureSql"
"AzureStorage"
"AzureWorkload"
"DPM"
"DefaultBackup"
"無効"
"MAB"
itemId 保護されているアイテムの ID。Azure Vm の場合は ProtectedItemId です string
policyId この項目がバックアップされるバックアップ ポリシーの ID。 string
protectionState このバックアップ項目のバックアップ状態。 "無効"
"NotProtected"
"Protected"
"保護中"
"ProtectionFailed"
sourceResourceId バックアップするリソースの ARM ID。 string
protectionIntentItemType オブジェクトの種類を設定する AzureResourceItem
AzureWorkloadSQLAutoProtectionIntent (必須)

AzureResourceProtectionIntent

名前 説明
protectionIntentItemType backup protectionIntent 型。 "AzureResourceItem" (必須)
friendlyName このバックアップ項目によって表される VM のフレンドリ名。 string

AzureWorkloadSQLAutoProtectionIntent

名前 説明
protectionIntentItemType backup protectionIntent 型。 "AzureWorkloadSQLAutoProtectionIntent" (必須)
workloadItemType 意図が設定されるアイテムのワークロード項目の種類 "無効"
"SAPAseDatabase"
"SAPAseSystem"
"SAPHanaDatabase"
"SAPHanaSystem"
"SQLDataBase"
"SQLInstance"