次の方法で共有


Microsoft.RecoveryServices コンテナー/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings 2021-06-01

Bicep リソース定義

vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

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

リソースの形式

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2021-06-01' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    policyId: 'string'
    providerSpecificInput: {
      instanceType: 'string'
      // For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
    }
    targetProtectionContainerId: 'string'
  }
}

ReplicationProviderSpecificContainerMappingInput オブジェクト

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

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

{
  agentAutoUpdateStatus: 'string'
  automationAccountArmId: 'string'
  instanceType: 'A2A'
}

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

{
  instanceType: 'VMwareCbt'
  keyVaultId: 'string'
  keyVaultUri: 'string'
  serviceBusConnectionStringSecretName: 'string'
  storageAccountId: 'string'
  storageAccountSasSecretName: 'string'
  targetLocation: 'string'
}

プロパティ値

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

名前 説明 価値
名前 リソース名 string (必須)
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: vaults/replicationFabrics/replicationProtectionContainers
プロパティ 保護入力プロパティを構成します。 CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties の

A2AContainerMappingInput

名前 説明 価値
agentAutoUpdateステータス 自動更新が有効かどうかを示す値。 「無効」
「有効」
automationAccountArmIdの Automation アカウントの arm ID。 ひも
インスタンスタイプ クラス型。 'A2A' (必須)

CreateProtectionContainerMappingInputPropertiesまたはProtectionContainerMappingProperties

名前 説明 価値
ポリシーID 適用されるポリシー。 ひも
プロバイダー特定入力 ペアリングのためのプロバイダー固有の入力。 ReplicationProviderSpecificContainerMappingInput の
targetProtectionContainerId (英語) ターゲットの一意の保護コンテナー名。 ひも

レプリケーションプロバイダ特定コンテナマッピング入力

名前 説明 価値
インスタンスタイプ A2AContainerMappingInput 型の場合は 'A2A' に設定します。 VMwareCbtContainerMappingInput 型の場合は 、'VMwareCbt' に設定します。 「A2A」
'VMwareCbt' (必須)

VMwareCbtContainerMappingInput

名前 説明 価値
インスタンスタイプ クラス型。 'VMwareCbt' (必須)
キー・ヴォールト・イド ターゲット キー コンテナーの ARM ID。 string (必須)
keyVaultUri ターゲット キー コンテナーの URL。 string (必須)
サービスバスコネクションストリングシークレットネーム Service Bus 接続文字列のシークレット名。 string (必須)
ストレージアカウントID ストレージ アカウントの ARM ID。 string (必須)
storageAccountSasSecretName ストレージ アカウントのシークレット名。 string (必須)
ターゲットロケーション ターゲットの場所。 string (必須)

使用例

Azure クイック スタートのサンプル

Azure クイック スタート テンプレート、このリソースの種類をデプロイするための Bicep サンプルが含まれています。

Bicep ファイル 説明
Azure VM レプリケーションとディザスター リカバリー を作成する このテンプレートを使用すると、Azure 仮想マシン サイトレプリケーションのディザスター リカバリーを作成できます。

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

vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループの - リソース グループのデプロイ コマンド 参照

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

リソースの形式

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

{
  "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings",
  "apiVersion": "2021-06-01",
  "name": "string",
  "properties": {
    "policyId": "string",
    "providerSpecificInput": {
      "instanceType": "string"
      // For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
    },
    "targetProtectionContainerId": "string"
  }
}

ReplicationProviderSpecificContainerMappingInput オブジェクト

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

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

{
  "agentAutoUpdateStatus": "string",
  "automationAccountArmId": "string",
  "instanceType": "A2A"
}

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

{
  "instanceType": "VMwareCbt",
  "keyVaultId": "string",
  "keyVaultUri": "string",
  "serviceBusConnectionStringSecretName": "string",
  "storageAccountId": "string",
  "storageAccountSasSecretName": "string",
  "targetLocation": "string"
}

プロパティ値

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

名前 説明 価値
apiVersion (英語) API のバージョン '2021-06-01'
名前 リソース名 string (必須)
プロパティ 保護入力プロパティを構成します。 CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties の
種類 リソースの種類 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings'

A2AContainerMappingInput

名前 説明 価値
agentAutoUpdateステータス 自動更新が有効かどうかを示す値。 「無効」
「有効」
automationAccountArmIdの Automation アカウントの arm ID。 ひも
インスタンスタイプ クラス型。 'A2A' (必須)

CreateProtectionContainerMappingInputPropertiesまたはProtectionContainerMappingProperties

名前 説明 価値
ポリシーID 適用されるポリシー。 ひも
プロバイダー特定入力 ペアリングのためのプロバイダー固有の入力。 ReplicationProviderSpecificContainerMappingInput の
targetProtectionContainerId (英語) ターゲットの一意の保護コンテナー名。 ひも

レプリケーションプロバイダ特定コンテナマッピング入力

名前 説明 価値
インスタンスタイプ A2AContainerMappingInput 型の場合は 'A2A' に設定します。 VMwareCbtContainerMappingInput 型の場合は 、'VMwareCbt' に設定します。 「A2A」
'VMwareCbt' (必須)

VMwareCbtContainerMappingInput

名前 説明 価値
インスタンスタイプ クラス型。 'VMwareCbt' (必須)
キー・ヴォールト・イド ターゲット キー コンテナーの ARM ID。 string (必須)
keyVaultUri ターゲット キー コンテナーの URL。 string (必須)
サービスバスコネクションストリングシークレットネーム Service Bus 接続文字列のシークレット名。 string (必須)
ストレージアカウントID ストレージ アカウントの ARM ID。 string (必須)
storageAccountSasSecretName ストレージ アカウントのシークレット名。 string (必須)
ターゲットロケーション ターゲットの場所。 string (必須)

使用例

Azure クイックスタート テンプレート

このリソースの種類 デプロイする Azure クイック スタート テンプレート 次に示します。

テンプレート 説明
Azure VM レプリケーションとディザスター リカバリー を作成する

Azureにデプロイする
このテンプレートを使用すると、Azure 仮想マシン サイトレプリケーションのディザスター リカバリーを作成できます。

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

vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings リソースの種類は、次をターゲットとする操作でデプロイできます。

  • リソース グループ

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

リソースの形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2021-06-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      policyId = "string"
      providerSpecificInput = {
        instanceType = "string"
        // For remaining properties, see ReplicationProviderSpecificContainerMappingInput objects
      }
      targetProtectionContainerId = "string"
    }
  }
}

ReplicationProviderSpecificContainerMappingInput オブジェクト

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

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

{
  agentAutoUpdateStatus = "string"
  automationAccountArmId = "string"
  instanceType = "A2A"
}

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

{
  instanceType = "VMwareCbt"
  keyVaultId = "string"
  keyVaultUri = "string"
  serviceBusConnectionStringSecretName = "string"
  storageAccountId = "string"
  storageAccountSasSecretName = "string"
  targetLocation = "string"
}

プロパティ値

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

名前 説明 価値
名前 リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: vaults/replicationFabrics/replicationProtectionContainers
プロパティ 保護入力プロパティを構成します。 CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties の
種類 リソースの種類 "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2021-06-01"

A2AContainerMappingInput

名前 説明 価値
agentAutoUpdateステータス 自動更新が有効かどうかを示す値。 「無効」
「有効」
automationAccountArmIdの Automation アカウントの arm ID。 ひも
インスタンスタイプ クラス型。 'A2A' (必須)

CreateProtectionContainerMappingInputPropertiesまたはProtectionContainerMappingProperties

名前 説明 価値
ポリシーID 適用されるポリシー。 ひも
プロバイダー特定入力 ペアリングのためのプロバイダー固有の入力。 ReplicationProviderSpecificContainerMappingInput の
targetProtectionContainerId (英語) ターゲットの一意の保護コンテナー名。 ひも

レプリケーションプロバイダ特定コンテナマッピング入力

名前 説明 価値
インスタンスタイプ A2AContainerMappingInput 型の場合は 'A2A' に設定します。 VMwareCbtContainerMappingInput 型の場合は 、'VMwareCbt' に設定します。 「A2A」
'VMwareCbt' (必須)

VMwareCbtContainerMappingInput

名前 説明 価値
インスタンスタイプ クラス型。 'VMwareCbt' (必須)
キー・ヴォールト・イド ターゲット キー コンテナーの ARM ID。 string (必須)
keyVaultUri ターゲット キー コンテナーの URL。 string (必須)
サービスバスコネクションストリングシークレットネーム Service Bus 接続文字列のシークレット名。 string (必須)
ストレージアカウントID ストレージ アカウントの ARM ID。 string (必須)
storageAccountSasSecretName ストレージ アカウントのシークレット名。 string (必須)
ターゲットロケーション ターゲットの場所。 string (必須)