次の方法で共有


Microsoft.RecoveryServices コンテナー/replicationPolicies 2018-01-10

Bicep リソース定義

コンテナー/replicationPolicies リソースの種類は、次をターゲットとする操作と共にデプロイできます。

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

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

リソースの形式

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationPolicies@2018-01-10' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    providerSpecificInput: {
      instanceType: 'string'
      // For remaining properties, see PolicyProviderSpecificInput objects
    }
  }
}

PolicyProviderSpecificInput オブジェクト

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

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

{
  appConsistentFrequencyInMinutes: int
  crashConsistentFrequencyInMinutes: int
  instanceType: 'A2A'
  multiVmSyncStatus: 'string'
  recoveryPointHistory: int
}

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

{
  allowedAuthenticationType: int
  applicationConsistentSnapshotFrequencyInHours: int
  compression: 'string'
  initialReplicationMethod: 'string'
  instanceType: 'HyperVReplica2012'
  offlineReplicationExportPath: 'string'
  offlineReplicationImportPath: 'string'
  onlineReplicationStartTime: 'string'
  recoveryPoints: int
  replicaDeletion: 'string'
  replicationPort: int
}

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

{
  allowedAuthenticationType: int
  applicationConsistentSnapshotFrequencyInHours: int
  compression: 'string'
  initialReplicationMethod: 'string'
  instanceType: 'HyperVReplica2012R2'
  offlineReplicationExportPath: 'string'
  offlineReplicationImportPath: 'string'
  onlineReplicationStartTime: 'string'
  recoveryPoints: int
  replicaDeletion: 'string'
  replicationFrequencyInSeconds: int
  replicationPort: int
}

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

{
  applicationConsistentSnapshotFrequencyInHours: int
  instanceType: 'HyperVReplicaAzure'
  onlineReplicationStartTime: 'string'
  recoveryPointHistoryDuration: int
  replicationInterval: int
  storageAccounts: [
    'string'
  ]
}

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

{
  appConsistentFrequencyInMinutes: int
  instanceType: 'InMage'
  multiVmSyncStatus: 'string'
  recoveryPointHistory: int
  recoveryPointThresholdInMinutes: int
}

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

{
  appConsistentFrequencyInMinutes: int
  crashConsistentFrequencyInMinutes: int
  instanceType: 'InMageAzureV2'
  multiVmSyncStatus: 'string'
  recoveryPointHistory: int
  recoveryPointThresholdInMinutes: int
}

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

{
  appConsistentFrequencyInMinutes: int
  crashConsistentFrequencyInMinutes: int
  instanceType: 'VMwareCbt'
  recoveryPointHistoryInMinutes: int
}

プロパティ値

Microsoft.RecoveryServices/vaults/replicationPolicies

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

詳細については、「親リソースの外部 子リソース」を参照してください。
種類のリソースのシンボリック名: コンテナー
プロパティ ポリシー作成プロパティ。 CreatePolicyInputPropertiesOrPolicyProperties の

A2APolicyCreationInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'A2A' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)

CreatePolicyInputPropertiesまたはPolicyProperties

名前 説明 価値
プロバイダー特定入力 ReplicationProviderSettings。 PolicyProviderSpecificInput の

HyperVReplicaAzurePolicyInput

名前 説明 価値
applicationConsistentSnapshotFrequencyInHours (英語) Hyper-V レプリカが VM 内にアプリケーション整合性スナップショットを作成する間隔 (時間単位)。 整数 (int)
インスタンスタイプ クラス型。 'HyperVReplicaAzure' (必須)
オンラインレプリケーション開始時刻 初期レプリケーションのスケジュールされた開始時刻。 このパラメーターが Null の場合、初期レプリケーションはすぐに開始されます。 ひも
recoveryPointHistoryDuration 復旧履歴を維持する必要がある期間 (時間単位)。 整数 (int)
レプリケーション間隔 レプリケーション間隔。 整数 (int)
ストレージアカウント プライマリ クラウド内の VM のレプリケート先となるストレージ アカウントの一覧。 文字列[]

HyperVReplicaBluePolicyInput

名前 説明 価値
allowedAuthenticationType(認証タイプ) 認証の種類を示す値。 整数 (int)
applicationConsistentSnapshotFrequencyInHours (英語) アプリケーションの一貫性のある頻度を示す値。 整数 (int)
圧縮 圧縮を有効にする必要があるかどうかを示す値。 ひも
initialReplicationメソッド IR がオンラインかどうかを示す値。 ひも
インスタンスタイプ クラス型。 'HyperVReplica2012R2' (必須)
offlineReplicationExportPath (英語) オフライン IR エクスポート パスを示す値。 ひも
offlineReplicationインポートパス オフライン IR インポート パスを示す値。 ひも
オンラインレプリケーション開始時刻 オンライン IR 開始時刻を示す値。 ひも
リカバリーポイント 復旧ポイントの数を示す値。 整数 (int)
replicaDeletion (レプリカの削除) VM を自動削除する必要があるかどうかを示す値。 ひも
レプリケーション周波数 (秒) レプリケーション間隔を示す値。 整数 (int)
レプリケーションポート 回復 HTTPS ポートを示す値。 整数 (int)

HyperVReplicaPolicyInput

名前 説明 価値
allowedAuthenticationType(認証タイプ) 認証の種類を示す値。 整数 (int)
applicationConsistentSnapshotFrequencyInHours (英語) アプリケーションの一貫性のある頻度を示す値。 整数 (int)
圧縮 圧縮を有効にする必要があるかどうかを示す値。 ひも
initialReplicationメソッド IR がオンラインかどうかを示す値。 ひも
インスタンスタイプ クラス型。 'HyperVReplica2012' (必須)
offlineReplicationExportPath (英語) オフライン IR エクスポート パスを示す値。 ひも
offlineReplicationインポートパス オフライン IR インポート パスを示す値。 ひも
オンラインレプリケーション開始時刻 オンライン IR 開始時刻を示す値。 ひも
リカバリーポイント 復旧ポイントの数を示す値。 整数 (int)
replicaDeletion (レプリカの削除) VM を自動削除する必要があるかどうかを示す値。 ひも
レプリケーションポート 回復 HTTPS ポートを示す値。 整数 (int)

InMageAzureV2PolicyInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'InMageAzureV2' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)
recoveryPointThresholdInMinutes (リカバリポイントしきい値 (分単位) 復旧ポイントのしきい値 (分単位)。 整数 (int)

インマゲポリシーインプット

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'InMage' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)
recoveryPointThresholdInMinutes (リカバリポイントしきい値 (分単位) 復旧ポイントのしきい値 (分単位)。 整数 (int)

ポリシープロバイダ特定入力

名前 説明 価値
インスタンスタイプ A2APolicyCreationInput の場合は 'A2A' に設定します。 HyperVReplicaPolicyInput 型の場合、' HyperVReplica2012' に設定します。 HyperVReplicaBluePolicyInput 型の場合、'HyperVReplica2012R2' に設定します。 HyperVReplicaAzurePolicyInput 型の場合は、" HyperVReplicaAzure" に設定します。 InMagePolicyInput 型の場合は 'InMage' に設定されます。 InMageAzureV2PolicyInput 型の場合、' InMageAzureV2' に設定します。 VMwareCbtPolicyCreationInput 型の場合は 、'VMwareCbt' に設定します。 「A2A」
「HyperVReplica2012」
「HyperVReplica2012R2」
「HyperVReplicaAzure」
「インメイジ」
「InMageAzureV2」
'VMwareCbt' (必須)

VMwareCbtPolicyCreationInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'VMwareCbt' (必須)
recoveryPointHistoryInMinutes (英語) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)

使用例

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

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

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

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

コンテナー/replicationPolicies リソースの種類は、次をターゲットとする操作と共にデプロイできます。

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

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

リソースの形式

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

{
  "type": "Microsoft.RecoveryServices/vaults/replicationPolicies",
  "apiVersion": "2018-01-10",
  "name": "string",
  "properties": {
    "providerSpecificInput": {
      "instanceType": "string"
      // For remaining properties, see PolicyProviderSpecificInput objects
    }
  }
}

PolicyProviderSpecificInput オブジェクト

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

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

{
  "appConsistentFrequencyInMinutes": "int",
  "crashConsistentFrequencyInMinutes": "int",
  "instanceType": "A2A",
  "multiVmSyncStatus": "string",
  "recoveryPointHistory": "int"
}

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

{
  "allowedAuthenticationType": "int",
  "applicationConsistentSnapshotFrequencyInHours": "int",
  "compression": "string",
  "initialReplicationMethod": "string",
  "instanceType": "HyperVReplica2012",
  "offlineReplicationExportPath": "string",
  "offlineReplicationImportPath": "string",
  "onlineReplicationStartTime": "string",
  "recoveryPoints": "int",
  "replicaDeletion": "string",
  "replicationPort": "int"
}

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

{
  "allowedAuthenticationType": "int",
  "applicationConsistentSnapshotFrequencyInHours": "int",
  "compression": "string",
  "initialReplicationMethod": "string",
  "instanceType": "HyperVReplica2012R2",
  "offlineReplicationExportPath": "string",
  "offlineReplicationImportPath": "string",
  "onlineReplicationStartTime": "string",
  "recoveryPoints": "int",
  "replicaDeletion": "string",
  "replicationFrequencyInSeconds": "int",
  "replicationPort": "int"
}

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

{
  "applicationConsistentSnapshotFrequencyInHours": "int",
  "instanceType": "HyperVReplicaAzure",
  "onlineReplicationStartTime": "string",
  "recoveryPointHistoryDuration": "int",
  "replicationInterval": "int",
  "storageAccounts": [ "string" ]
}

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

{
  "appConsistentFrequencyInMinutes": "int",
  "instanceType": "InMage",
  "multiVmSyncStatus": "string",
  "recoveryPointHistory": "int",
  "recoveryPointThresholdInMinutes": "int"
}

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

{
  "appConsistentFrequencyInMinutes": "int",
  "crashConsistentFrequencyInMinutes": "int",
  "instanceType": "InMageAzureV2",
  "multiVmSyncStatus": "string",
  "recoveryPointHistory": "int",
  "recoveryPointThresholdInMinutes": "int"
}

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

{
  "appConsistentFrequencyInMinutes": "int",
  "crashConsistentFrequencyInMinutes": "int",
  "instanceType": "VMwareCbt",
  "recoveryPointHistoryInMinutes": "int"
}

プロパティ値

Microsoft.RecoveryServices/vaults/replicationPolicies

名前 説明 価値
apiVersion (英語) API のバージョン '2018-01-10'
名前 リソース名 string (必須)
プロパティ ポリシー作成プロパティ。 CreatePolicyInputPropertiesOrPolicyProperties の
種類 リソースの種類 'Microsoft.RecoveryServices/vaults/replicationPolicies'

A2APolicyCreationInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'A2A' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)

CreatePolicyInputPropertiesまたはPolicyProperties

名前 説明 価値
プロバイダー特定入力 ReplicationProviderSettings。 PolicyProviderSpecificInput の

HyperVReplicaAzurePolicyInput

名前 説明 価値
applicationConsistentSnapshotFrequencyInHours (英語) Hyper-V レプリカが VM 内にアプリケーション整合性スナップショットを作成する間隔 (時間単位)。 整数 (int)
インスタンスタイプ クラス型。 'HyperVReplicaAzure' (必須)
オンラインレプリケーション開始時刻 初期レプリケーションのスケジュールされた開始時刻。 このパラメーターが Null の場合、初期レプリケーションはすぐに開始されます。 ひも
recoveryPointHistoryDuration 復旧履歴を維持する必要がある期間 (時間単位)。 整数 (int)
レプリケーション間隔 レプリケーション間隔。 整数 (int)
ストレージアカウント プライマリ クラウド内の VM のレプリケート先となるストレージ アカウントの一覧。 文字列[]

HyperVReplicaBluePolicyInput

名前 説明 価値
allowedAuthenticationType(認証タイプ) 認証の種類を示す値。 整数 (int)
applicationConsistentSnapshotFrequencyInHours (英語) アプリケーションの一貫性のある頻度を示す値。 整数 (int)
圧縮 圧縮を有効にする必要があるかどうかを示す値。 ひも
initialReplicationメソッド IR がオンラインかどうかを示す値。 ひも
インスタンスタイプ クラス型。 'HyperVReplica2012R2' (必須)
offlineReplicationExportPath (英語) オフライン IR エクスポート パスを示す値。 ひも
offlineReplicationインポートパス オフライン IR インポート パスを示す値。 ひも
オンラインレプリケーション開始時刻 オンライン IR 開始時刻を示す値。 ひも
リカバリーポイント 復旧ポイントの数を示す値。 整数 (int)
replicaDeletion (レプリカの削除) VM を自動削除する必要があるかどうかを示す値。 ひも
レプリケーション周波数 (秒) レプリケーション間隔を示す値。 整数 (int)
レプリケーションポート 回復 HTTPS ポートを示す値。 整数 (int)

HyperVReplicaPolicyInput

名前 説明 価値
allowedAuthenticationType(認証タイプ) 認証の種類を示す値。 整数 (int)
applicationConsistentSnapshotFrequencyInHours (英語) アプリケーションの一貫性のある頻度を示す値。 整数 (int)
圧縮 圧縮を有効にする必要があるかどうかを示す値。 ひも
initialReplicationメソッド IR がオンラインかどうかを示す値。 ひも
インスタンスタイプ クラス型。 'HyperVReplica2012' (必須)
offlineReplicationExportPath (英語) オフライン IR エクスポート パスを示す値。 ひも
offlineReplicationインポートパス オフライン IR インポート パスを示す値。 ひも
オンラインレプリケーション開始時刻 オンライン IR 開始時刻を示す値。 ひも
リカバリーポイント 復旧ポイントの数を示す値。 整数 (int)
replicaDeletion (レプリカの削除) VM を自動削除する必要があるかどうかを示す値。 ひも
レプリケーションポート 回復 HTTPS ポートを示す値。 整数 (int)

InMageAzureV2PolicyInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'InMageAzureV2' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)
recoveryPointThresholdInMinutes (リカバリポイントしきい値 (分単位) 復旧ポイントのしきい値 (分単位)。 整数 (int)

インマゲポリシーインプット

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'InMage' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)
recoveryPointThresholdInMinutes (リカバリポイントしきい値 (分単位) 復旧ポイントのしきい値 (分単位)。 整数 (int)

ポリシープロバイダ特定入力

名前 説明 価値
インスタンスタイプ A2APolicyCreationInput の場合は 'A2A' に設定します。 HyperVReplicaPolicyInput 型の場合、' HyperVReplica2012' に設定します。 HyperVReplicaBluePolicyInput 型の場合、'HyperVReplica2012R2' に設定します。 HyperVReplicaAzurePolicyInput 型の場合は、" HyperVReplicaAzure" に設定します。 InMagePolicyInput 型の場合は 'InMage' に設定されます。 InMageAzureV2PolicyInput 型の場合、' InMageAzureV2' に設定します。 VMwareCbtPolicyCreationInput 型の場合は 、'VMwareCbt' に設定します。 「A2A」
「HyperVReplica2012」
「HyperVReplica2012R2」
「HyperVReplicaAzure」
「インメイジ」
「InMageAzureV2」
'VMwareCbt' (必須)

VMwareCbtPolicyCreationInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'VMwareCbt' (必須)
recoveryPointHistoryInMinutes (英語) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)

使用例

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

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

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

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

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

コンテナー/replicationPolicies リソースの種類は、次をターゲットとする操作と共にデプロイできます。

  • リソース グループ

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

リソースの形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationPolicies@2018-01-10"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      providerSpecificInput = {
        instanceType = "string"
        // For remaining properties, see PolicyProviderSpecificInput objects
      }
    }
  }
}

PolicyProviderSpecificInput オブジェクト

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

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

{
  appConsistentFrequencyInMinutes = int
  crashConsistentFrequencyInMinutes = int
  instanceType = "A2A"
  multiVmSyncStatus = "string"
  recoveryPointHistory = int
}

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

{
  allowedAuthenticationType = int
  applicationConsistentSnapshotFrequencyInHours = int
  compression = "string"
  initialReplicationMethod = "string"
  instanceType = "HyperVReplica2012"
  offlineReplicationExportPath = "string"
  offlineReplicationImportPath = "string"
  onlineReplicationStartTime = "string"
  recoveryPoints = int
  replicaDeletion = "string"
  replicationPort = int
}

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

{
  allowedAuthenticationType = int
  applicationConsistentSnapshotFrequencyInHours = int
  compression = "string"
  initialReplicationMethod = "string"
  instanceType = "HyperVReplica2012R2"
  offlineReplicationExportPath = "string"
  offlineReplicationImportPath = "string"
  onlineReplicationStartTime = "string"
  recoveryPoints = int
  replicaDeletion = "string"
  replicationFrequencyInSeconds = int
  replicationPort = int
}

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

{
  applicationConsistentSnapshotFrequencyInHours = int
  instanceType = "HyperVReplicaAzure"
  onlineReplicationStartTime = "string"
  recoveryPointHistoryDuration = int
  replicationInterval = int
  storageAccounts = [
    "string"
  ]
}

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

{
  appConsistentFrequencyInMinutes = int
  instanceType = "InMage"
  multiVmSyncStatus = "string"
  recoveryPointHistory = int
  recoveryPointThresholdInMinutes = int
}

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

{
  appConsistentFrequencyInMinutes = int
  crashConsistentFrequencyInMinutes = int
  instanceType = "InMageAzureV2"
  multiVmSyncStatus = "string"
  recoveryPointHistory = int
  recoveryPointThresholdInMinutes = int
}

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

{
  appConsistentFrequencyInMinutes = int
  crashConsistentFrequencyInMinutes = int
  instanceType = "VMwareCbt"
  recoveryPointHistoryInMinutes = int
}

プロパティ値

Microsoft.RecoveryServices/vaults/replicationPolicies

名前 説明 価値
名前 リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: コンテナー
プロパティ ポリシー作成プロパティ。 CreatePolicyInputPropertiesOrPolicyProperties の
種類 リソースの種類 "Microsoft.RecoveryServices/vaults/replicationPolicies@2018-01-10"

A2APolicyCreationInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'A2A' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)

CreatePolicyInputPropertiesまたはPolicyProperties

名前 説明 価値
プロバイダー特定入力 ReplicationProviderSettings。 PolicyProviderSpecificInput の

HyperVReplicaAzurePolicyInput

名前 説明 価値
applicationConsistentSnapshotFrequencyInHours (英語) Hyper-V レプリカが VM 内にアプリケーション整合性スナップショットを作成する間隔 (時間単位)。 整数 (int)
インスタンスタイプ クラス型。 'HyperVReplicaAzure' (必須)
オンラインレプリケーション開始時刻 初期レプリケーションのスケジュールされた開始時刻。 このパラメーターが Null の場合、初期レプリケーションはすぐに開始されます。 ひも
recoveryPointHistoryDuration 復旧履歴を維持する必要がある期間 (時間単位)。 整数 (int)
レプリケーション間隔 レプリケーション間隔。 整数 (int)
ストレージアカウント プライマリ クラウド内の VM のレプリケート先となるストレージ アカウントの一覧。 文字列[]

HyperVReplicaBluePolicyInput

名前 説明 価値
allowedAuthenticationType(認証タイプ) 認証の種類を示す値。 整数 (int)
applicationConsistentSnapshotFrequencyInHours (英語) アプリケーションの一貫性のある頻度を示す値。 整数 (int)
圧縮 圧縮を有効にする必要があるかどうかを示す値。 ひも
initialReplicationメソッド IR がオンラインかどうかを示す値。 ひも
インスタンスタイプ クラス型。 'HyperVReplica2012R2' (必須)
offlineReplicationExportPath (英語) オフライン IR エクスポート パスを示す値。 ひも
offlineReplicationインポートパス オフライン IR インポート パスを示す値。 ひも
オンラインレプリケーション開始時刻 オンライン IR 開始時刻を示す値。 ひも
リカバリーポイント 復旧ポイントの数を示す値。 整数 (int)
replicaDeletion (レプリカの削除) VM を自動削除する必要があるかどうかを示す値。 ひも
レプリケーション周波数 (秒) レプリケーション間隔を示す値。 整数 (int)
レプリケーションポート 回復 HTTPS ポートを示す値。 整数 (int)

HyperVReplicaPolicyInput

名前 説明 価値
allowedAuthenticationType(認証タイプ) 認証の種類を示す値。 整数 (int)
applicationConsistentSnapshotFrequencyInHours (英語) アプリケーションの一貫性のある頻度を示す値。 整数 (int)
圧縮 圧縮を有効にする必要があるかどうかを示す値。 ひも
initialReplicationメソッド IR がオンラインかどうかを示す値。 ひも
インスタンスタイプ クラス型。 'HyperVReplica2012' (必須)
offlineReplicationExportPath (英語) オフライン IR エクスポート パスを示す値。 ひも
offlineReplicationインポートパス オフライン IR インポート パスを示す値。 ひも
オンラインレプリケーション開始時刻 オンライン IR 開始時刻を示す値。 ひも
リカバリーポイント 復旧ポイントの数を示す値。 整数 (int)
replicaDeletion (レプリカの削除) VM を自動削除する必要があるかどうかを示す値。 ひも
レプリケーションポート 回復 HTTPS ポートを示す値。 整数 (int)

InMageAzureV2PolicyInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'InMageAzureV2' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)
recoveryPointThresholdInMinutes (リカバリポイントしきい値 (分単位) 復旧ポイントのしきい値 (分単位)。 整数 (int)

インマゲポリシーインプット

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'InMage' (必須)
multiVmSyncステータス マルチ VM 同期を有効にする必要があるかどうかを示す値。 値は 'Enabled' または 'Disabled' である必要があります。 「無効にする」
'Enable' (必須)
recoveryPointHistory (リカバリーポイント履歴) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)
recoveryPointThresholdInMinutes (リカバリポイントしきい値 (分単位) 復旧ポイントのしきい値 (分単位)。 整数 (int)

ポリシープロバイダ特定入力

名前 説明 価値
インスタンスタイプ A2APolicyCreationInput の場合は 'A2A' に設定します。 HyperVReplicaPolicyInput 型の場合、' HyperVReplica2012' に設定します。 HyperVReplicaBluePolicyInput 型の場合、'HyperVReplica2012R2' に設定します。 HyperVReplicaAzurePolicyInput 型の場合は、" HyperVReplicaAzure" に設定します。 InMagePolicyInput 型の場合は 'InMage' に設定されます。 InMageAzureV2PolicyInput 型の場合、' InMageAzureV2' に設定します。 VMwareCbtPolicyCreationInput 型の場合は 、'VMwareCbt' に設定します。 「A2A」
「HyperVReplica2012」
「HyperVReplica2012R2」
「HyperVReplicaAzure」
「インメイジ」
「InMageAzureV2」
'VMwareCbt' (必須)

VMwareCbtPolicyCreationInput

名前 説明 価値
appConsistentFrequencyInMinutes (英語) アプリ整合性スナップショットの頻度 (分単位)。 整数 (int)
crashConsistentFrequencyInMinutes (分単位) クラッシュ整合性スナップショットの頻度 (分単位)。 整数 (int)
インスタンスタイプ クラス型。 'VMwareCbt' (必須)
recoveryPointHistoryInMinutes (英語) 復旧ポイントを格納する必要がある時間 (分)。 整数 (int)