次の方法で共有


Microsoft.RecoveryServices コンテナー/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings 2016-08-10

Bicep リソース定義

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

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

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

リソースの形式

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings@2016-08-10' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    PolicyId: 'string'
    providerSpecificInput: {
      instanceType: 'string'
    }
    targetProtectionContainerId: 'string'
  }
}

プロパティ値

CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties

名前 形容 価値
PolicyId 適用されるポリシー。
providerSpecificInput ペアリングのためのプロバイダー固有の入力。 ReplicationProviderSpecificContainerMappingInput の
targetProtectionContainerId ターゲットの一意の保護コンテナー名。

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

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

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

ReplicationProviderSpecificContainerMappingInput

名前 形容 価値
instanceType クラス型。

使用例

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": "2016-08-10",
  "name": "string",
  "properties": {
    "PolicyId": "string",
    "providerSpecificInput": {
      "instanceType": "string"
    },
    "targetProtectionContainerId": "string"
  }
}

プロパティ値

CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties

名前 形容 価値
PolicyId 適用されるポリシー。
providerSpecificInput ペアリングのためのプロバイダー固有の入力。 ReplicationProviderSpecificContainerMappingInput の
targetProtectionContainerId ターゲットの一意の保護コンテナー名。

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

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

ReplicationProviderSpecificContainerMappingInput

名前 形容 価値
instanceType クラス型。

使用例

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@2016-08-10"
  name = "string"
  body = jsonencode({
    properties = {
      PolicyId = "string"
      providerSpecificInput = {
        instanceType = "string"
      }
      targetProtectionContainerId = "string"
    }
  })
}

プロパティ値

CreateProtectionContainerMappingInputPropertiesOrProtectionContainerMappingProperties

名前 形容 価値
PolicyId 適用されるポリシー。
providerSpecificInput ペアリングのためのプロバイダー固有の入力。 ReplicationProviderSpecificContainerMappingInput の
targetProtectionContainerId ターゲットの一意の保護コンテナー名。

Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionContainerMappings

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

ReplicationProviderSpecificContainerMappingInput

名前 形容 価値
instanceType クラス型。