- Latest
- 2026-08-31-プレビュー
- 2026-07-01
- 2026-05-31-プレビュー
- 2026-05-01
- 2026-03-31-プレビュー
- 2026-02-01
- 2026-01-01
- 2025-08-01
- 2025-02-01
- 2025-01-01
- 2024-10-01
- 2024-09-30-preview
- 2024-04-30-preview
- 2024-04-01
- 2024-02-01
- 2024-01-01
- 2023-08-01
- 2023-06-01
- 2023:04:01
- 2023-02-01
- 2023-01-01
- 2022-10-01
- 2022-09-30-preview
- 2022-09-10
- 2022-08-01
- 2022:05:01
- 2022-04-01
- 2022-03-01
- 2022-02-01
- 2022-01-31-preview
- 2022-01-01
- 2021-12-01
- 2021-11-01-プレビュー
- 2021-08-01
- 2021-07-01
- 2021-06-01
- 2021-04-01
- 2021-03-01
- 2021-02-10
- 2021-01-01
- 2020-10-01
- 2020-02-02
- 2016-06-01
Bicepリソースの定義
コンテナーのリソースの種類は、次をターゲットとする操作でデプロイできます。
Resource groups -リソースグループのデプロイコマンド
各 API バージョンで変更されたプロパティの一覧については、変更ログの
使用例
Bicep のサンプル
Recovery Services コンテナーのデプロイの基本的な例。
param resourceName string = 'acctest0001'
param location string = 'westeurope'
resource vault 'Microsoft.RecoveryServices/vaults@2022-10-01' = {
name: resourceName
location: location
sku: {
name: 'Standard'
}
properties: {
publicNetworkAccess: 'Enabled'
}
}
Azure 検証済みモジュール
次の Azure 検証済みモジュール を使用して、このリソースの種類をデプロイできます。
| モジュール | 説明 |
|---|---|
| リカバリーサービス金庫 | Recovery Services コンテナー用の AVM リソース モジュール |
Azure クイック スタートのサンプル
以下の Azure クイックスタートテンプレートには、このリソースタイプのデプロイのためのBicepサンプルが含まれています。
| Bicepファイル | 説明 |
|---|---|
| このテンプレートでは、Recovery Services コンテナーとワークロード固有のバックアップ ポリシーが作成されます。 VM をバックアップ サービスに登録し、保護を構成する | |
| Recovery Servicesを使った既存のファイル共有のバックアップ(Daily ) | このテンプレートは、既存のストレージ アカウントに存在する既存のファイル共有の保護を構成します。 新しい Recovery Services コンテナーを作成するか、設定されたパラメーター値に基づいて既存の Recovery Services コンテナーとバックアップ ポリシーを使用します。 |
| リカバリーサービスを使って既存のファイル共有をバックアップ(時間単位) | このテンプレートは、既存のストレージ アカウントに存在する既存のファイル共有に対して、時間単位の頻度で保護を構成します。 新しい Recovery Services コンテナーを作成するか、設定されたパラメーター値に基づいて既存の Recovery Services コンテナーとバックアップ ポリシーを使用します。 |
| このテンプレートは既存のリカバリーサービスのボールトと既存のバックアップポリシーを使用し、同じリソースグループに属する複数のResource Manager VMのバックアップを設定します | |
| このテンプレートはRecovery ServicesのVaultを作成し、バックアップやSite Recoveryにも引き続き利用されます。 | |
| FSLogixとAD DSでAVDを作成 | このテンプレートでは、ホストプール、アプリケーショングループ、ワークスペース、FSLogixストレージアカウント、ファイル共有、リカバリーサービスボールト、バックアップ、テストセッションホスト、Microsoft Entra IDでの拡張子など、Azure Virtual Desktopリソースを作成できます。Active Directory ドメイン参加。 |
| Azure VM レプリケーションとディザスター リカバリー を作成する | このテンプレートを使用すると、Azure 仮想マシン サイトレプリケーションのディザスター リカバリーを作成できます。 |
| IaaSVMs/c0を保護するためにRS Vaultのデイリーバックアップポリシーを作成 | このテンプレートは、Recovery Service コンテナーと、クラシックおよび ARM ベースの IaaS VM を保護するために使用できる日次バックアップ ポリシーを作成します。 |
| Recovery Services コンテナーを作成し、診断 を有効にする | このテンプレートはリカバリーサービスのVaultを作成し、Azure Backupの診断を可能にします。 これにより、ストレージ アカウントと oms ワークスペースもデプロイされます。 |
| Create Recovery Services Vaultとバックアップポリシー | このテンプレートでは、バックアップ ポリシーを使用して Recovery Services コンテナーを作成し、システム ID、バックアップ ストレージの種類、リージョン間の復元と診断ログ、削除ロックなどのオプション機能を構成します。 |
| Create Recovery Services Vaultをデフォルトオプションで | Recovery Services コンテナーを作成する単純なテンプレート。 |
| このテンプレートは、Recovery Service コンテナーと、クラシックおよび ARM ベースの IaaS VM を保護するために使用できる日次バックアップ ポリシーを作成します。 | |
| このテンプレートでは、DefaultPolicy for Protectionを設定したWindows VMとRecovery Services Vaultを展開できます。 |
リソース形式
Microsoftを作るために。RecoveryServices/vaults リソースで、テンプレートに以下のBicepを追加してください。
resource symbolicname 'Microsoft.RecoveryServices/vaults@2026-03-31-preview' = {
etag: 'string'
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
costManagementSettings: {
granularityLevel: 'string'
}
encryption: {
infrastructureEncryption: 'string'
kekIdentity: {
userAssignedIdentity: 'string'
useSystemAssignedIdentity: bool
}
keyVaultProperties: {
keyUri: 'string'
}
}
monitoringSettings: {
azureMonitorAlertSettings: {
alertsForAllFailoverIssues: 'string'
alertsForAllJobFailures: 'string'
alertsForAllReplicationIssues: 'string'
}
classicAlertSettings: {
alertsForCriticalOperations: 'string'
emailNotificationsForSiteRecovery: 'string'
}
}
moveDetails: {}
publicNetworkAccess: 'string'
redundancySettings: {
crossRegionRestore: 'string'
standardTierStorageRedundancy: 'string'
}
resourceGuardOperationRequests: [
'string'
]
restoreSettings: {
crossSubscriptionRestoreSettings: {
crossSubscriptionRestoreState: 'string'
}
}
securitySettings: {
immutabilitySettings: {
state: 'string'
}
softDeleteSettings: {
enhancedSecurityState: 'string'
softDeleteRetentionPeriodInDays: int
softDeleteState: 'string'
}
sourceScanConfiguration: {
sourceScanIdentity: {
operationIdentityType: 'string'
userAssignedIdentity: 'string'
}
state: 'string'
}
}
upgradeDetails: {}
}
sku: {
capacity: 'string'
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
tags: {
{customized property}: 'string'
}
}
プロパティ値
Microsoft.RecoveryServices/vaults
| 名前 | 説明 | Value |
|---|---|---|
| etag | etag をリソースに付けます。 | 文字列 |
| ID | リソースの ID。 | IdentityData |
| 位置 | リソースが存在する地理的な場所 | string (必須) |
| 名前 | リソース名 | string (必須) |
| properties | コンテナーのプロパティ。 | VaultProperties |
| sku | 各Azureリソースのシステム識別子を一意に識別します。 | Sku |
| tags | リソース タグ | タグ名と値のディクショナリ。 テンプレートTags> |
AssociatedIdentity
| 名前 | 説明 | Value |
|---|---|---|
| operationIdentityType | 操作に使用する ID の種類。 | 'システム割り当て' 'UserAssigned' |
| userAssignedIdentity | operationIdentityType が UserAssigned の場合に操作に使用するユーザー割り当て ID。 | 文字列 |
AzureMonitorAlertSettings
| 名前 | 説明 | Value |
|---|---|---|
| alertsForAllFailoverIssues | 「無効」 'Enabled' |
|
| alertsForAllJobFailures | 「無効」 'Enabled' |
|
| alertsForAllReplicationIssues | 「無効」 'Enabled' |
ClassicAlertSettings
| 名前 | 説明 | Value |
|---|---|---|
| alertsForCriticalOperations | 「無効」 'Enabled' |
|
| emailNotificationsForSiteRecovery | 「無効」 'Enabled' |
CmkKekIdentity
| 名前 | 説明 | Value |
|---|---|---|
| userAssignedIdentity | 使用される ID の種類が UserAssigned の場合にアクセス許可を付与するために使用されるユーザー割り当て ID | 文字列 |
| useSystemAssignedIdentity | システム割り当て ID を使用する必要があることを示します。 'userAssignedIdentity' フィールドと相互に排他的 | bool |
CmkKeyVaultProperties
| 名前 | 説明 | Value |
|---|---|---|
| keyUri | カスタマー マネージド キーのキー URI | 文字列 |
コスト管理設定
| 名前 | 説明 | Value |
|---|---|---|
| 粒度レベル | 粒度レベルの設定 | 「保護アイテムレベル」 「ProtectedItemWithParentTag」 「ヴォールトレベル」 |
CrossSubscriptionRestoreSettings
| 名前 | 説明 | Value |
|---|---|---|
| crossSubscriptionRestoreState | 「無効」 'Enabled' 'PermanentlyDisabled' |
IdentityData
| 名前 | 説明 | Value |
|---|---|---|
| 型 | 使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' は、すべての ID を削除します。 | 「なし」 'システム割り当て' 'SystemAssigned,UserAssigned' 'UserAssigned' (必須) |
| userAssignedIdentities | リソースに関連付けられているユーザー割り当て ID の一覧。 ユーザー割り当てのアイデンティティ辞書キーは、次の形式のARMリソースIDとなります:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft。ManagedIdentity/userAssignedIdentities/{identityName}'. | IdentityDataUserAssignedIdentities |
IdentityDataUserAssignedIdentities
| 名前 | 説明 | Value |
|---|
ImmutabilitySettings
| 名前 | 説明 | Value |
|---|---|---|
| 状態 | 「無効」 'Locked' 'Unlocked' |
MonitoringSettings
| 名前 | 説明 | Value |
|---|---|---|
| azureMonitorAlertSettings | Azure Monitorベースのアラートの設定 | AzureMonitorAlertSettings |
| classicAlertSettings | クラシック アラートの設定 | ClassicAlertSettings |
RestoreSettings
| 名前 | 説明 | Value |
|---|---|---|
| crossSubscriptionRestoreSettings | CrossSubscriptionRestore の設定 | CrossSubscriptionRestoreSettings |
SecuritySettings
| 名前 | 説明 | Value |
|---|---|---|
| immutabilitySettings | コンテナーの不変設定 | ImmutabilitySettings |
| softDeleteSettings | コンテナーの論理的な削除の設定 | SoftDeleteSettings |
| sourceScanConfiguration | コンテナーのソース スキャン構成 | SourceScanConfiguration |
Sku
| 名前 | 説明 | Value |
|---|---|---|
| キャパシティ | SKU 容量 | 文字列 |
| family | SKU ファミリ | 文字列 |
| 名前 | SKU の名前は RS0 (Recovery Services 0 番目のバージョン) で、レベルは Standard レベルです。 バックエンド ストレージの冗長性やその他のコンテナー設定には影響しません。 ストレージの冗長性を管理するには、backupstorageconfig を使用します。 | 'RS0' 'Standard' (必須) |
| size | SKU のサイズ | 文字列 |
| レベル | SKU レベル。 | 文字列 |
SoftDeleteSettings
| 名前 | 説明 | Value |
|---|---|---|
| enhancedSecurityState | 'AlwaysON' 「無効」 'Enabled' 'Invalid' |
|
| softDeleteRetentionPeriodInDays | 論理的な削除の保有期間 (日数) | int |
| softDeleteState | 'AlwaysON' 「無効」 'Enabled' 'Invalid' |
SourceScanConfiguration
| 名前 | 説明 | Value |
|---|---|---|
| sourceScanIdentity | 操作に使用する ID の詳細 | AssociatedIdentity |
| 状態 | 「無効」 'Enabled' 'Invalid' |
TrackedResourceTags
| 名前 | 説明 | Value |
|---|
UpgradeDetails
| 名前 | 説明 | Value |
|---|
UserIdentity
| 名前 | 説明 | Value |
|---|
VaultProperties
| 名前 | 説明 | Value |
|---|---|---|
| コスト管理設定 | 金庫のコスト管理設定 | コスト管理設定 |
| 暗号化 | リソースのカスタマー マネージド キーの詳細。 | VaultPropertiesEncryption |
| monitoringSettings | コンテナーの監視設定 | MonitoringSettings |
| moveDetails | Azureリソース上で行われた最新の移動操作の詳細 | VaultPropertiesMoveDetails |
| publicNetworkAccess (パブリックネットワークアクセス) | プロパティを使用して、パブリック クライアントからのリソース プロバイダーの受信ネットワーク トラフィックを有効または無効にする | 「無効」 'Enabled' |
| redundancySettings | コンテナーの冗長性設定 | VaultPropertiesRedundancySettings |
| resourceGuardOperationRequests | LAC チェックが実行される ResourceGuardOperationRequests | string[] |
| restoreSettings | コンテナーの復元設定 | RestoreSettings |
| securitySettings | コンテナーのセキュリティ設定 | SecuritySettings |
| upgradeDetails | コンテナーのアップグレードの詳細。 | UpgradeDetails |
VaultPropertiesEncryption
| 名前 | 説明 | Value |
|---|---|---|
| infrastructureEncryption | 二重暗号化状態の有効化/無効化 | 「無効」 'Enabled' |
| kekIdentity | CMK に使用される ID の詳細 | CmkKekIdentity |
| keyVaultProperties | CMKをホストするKey Vaultのプロパティ | CmkKeyVaultProperties |
VaultPropertiesMoveDetails
| 名前 | 説明 | Value |
|---|
VaultPropertiesRedundancySettings
| 名前 | 説明 | Value |
|---|---|---|
| crossRegionRestore | コンテナーでリージョン間の復元が有効になっているかどうかを示すフラグ | 「無効」 'Enabled' |
| standardTierStorageRedundancy | コンテナーのストレージ冗長設定 | 「ジオリダンダント」 'Invalid' 'LocallyRedundant' 'ZoneRedundant' |
ARM テンプレート リソース定義
コンテナーのリソースの種類は、次をターゲットとする操作でデプロイできます。
- リソースグループ - リソースグループのデプロイコマンドを参照してください。 各APIバージョンの変更プロパティ一覧は 変更ログをご覧ください。
使用例
Azure クイックスタート テンプレート
以下のAzureクイックスタートテンプレートはこのリソースタイプを展開します。
| Template | 説明 |
|---|---|
| このテンプレートでは、Recovery Services コンテナーとワークロード固有のバックアップ ポリシーが作成されます。 VM をバックアップ サービスに登録し、保護を構成する | |
|
Recovery Servicesを使った既存のファイル共有のバックアップ(Daily ) |
このテンプレートは、既存のストレージ アカウントに存在する既存のファイル共有の保護を構成します。 新しい Recovery Services コンテナーを作成するか、設定されたパラメーター値に基づいて既存の Recovery Services コンテナーとバックアップ ポリシーを使用します。 |
|
リカバリーサービスを使って既存のファイル共有をバックアップ(時間単位) |
このテンプレートは、既存のストレージ アカウントに存在する既存のファイル共有に対して、時間単位の頻度で保護を構成します。 新しい Recovery Services コンテナーを作成するか、設定されたパラメーター値に基づいて既存の Recovery Services コンテナーとバックアップ ポリシーを使用します。 |
| このテンプレートは既存のリカバリーサービスのボールトと既存のバックアップポリシーを使用し、同じリソースグループに属する複数のResource Manager VMのバックアップを設定します | |
| このテンプレートはRecovery ServicesのVaultを作成し、バックアップやSite Recoveryにも引き続き利用されます。 | |
|
FSLogixとAD DSでAVDを作成 |
このテンプレートでは、ホストプール、アプリケーショングループ、ワークスペース、FSLogixストレージアカウント、ファイル共有、リカバリーサービスボールト、バックアップ、テストセッションホスト、Microsoft Entra IDでの拡張子など、Azure Virtual Desktopリソースを作成できます。Active Directory ドメイン参加。 |
| Azure VM レプリケーションとディザスター リカバリー を作成する |
このテンプレートを使用すると、Azure 仮想マシン サイトレプリケーションのディザスター リカバリーを作成できます。 |
|
IaaSVMs/c0を保護するためにRS Vaultのデイリーバックアップポリシーを作成 |
このテンプレートは、Recovery Service コンテナーと、クラシックおよび ARM ベースの IaaS VM を保護するために使用できる日次バックアップ ポリシーを作成します。 |
|
Recovery Services コンテナーを作成し、診断 を有効にする |
このテンプレートはリカバリーサービスのVaultを作成し、Azure Backupの診断を可能にします。 これにより、ストレージ アカウントと oms ワークスペースもデプロイされます。 |
|
Create Recovery Services Vaultとバックアップポリシー |
このテンプレートでは、バックアップ ポリシーを使用して Recovery Services コンテナーを作成し、システム ID、バックアップ ストレージの種類、リージョン間の復元と診断ログ、削除ロックなどのオプション機能を構成します。 |
|
Create Recovery Services Vaultをデフォルトオプションで |
Recovery Services コンテナーを作成する単純なテンプレート。 |
| このテンプレートは、Recovery Service コンテナーと、クラシックおよび ARM ベースの IaaS VM を保護するために使用できる日次バックアップ ポリシーを作成します。 | |
| このテンプレートでは、DefaultPolicy for Protectionを設定したWindows VMとRecovery Services Vaultを展開できます。 | |
| azure での IBM Cloud Pak for Data の |
このテンプレートは、必要なすべてのリソース、インフラストラクチャを含む Openshift クラスターを Azure にデプロイし、ユーザーが選択したアドオンと共に IBM Cloud Pak for Data をデプロイします。 |
|
Openshift コンテナプラットフォーム 4.3 |
Openshift コンテナプラットフォーム 4.3 |
リソース形式
Microsoftを作るために。RecoveryServices/vaults リソースで、テンプレートに以下のJSONを追加してください。
{
"type": "Microsoft.RecoveryServices/vaults",
"apiVersion": "2026-03-31-preview",
"name": "string",
"etag": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"costManagementSettings": {
"granularityLevel": "string"
},
"encryption": {
"infrastructureEncryption": "string",
"kekIdentity": {
"userAssignedIdentity": "string",
"useSystemAssignedIdentity": "bool"
},
"keyVaultProperties": {
"keyUri": "string"
}
},
"monitoringSettings": {
"azureMonitorAlertSettings": {
"alertsForAllFailoverIssues": "string",
"alertsForAllJobFailures": "string",
"alertsForAllReplicationIssues": "string"
},
"classicAlertSettings": {
"alertsForCriticalOperations": "string",
"emailNotificationsForSiteRecovery": "string"
}
},
"moveDetails": {
},
"publicNetworkAccess": "string",
"redundancySettings": {
"crossRegionRestore": "string",
"standardTierStorageRedundancy": "string"
},
"resourceGuardOperationRequests": [ "string" ],
"restoreSettings": {
"crossSubscriptionRestoreSettings": {
"crossSubscriptionRestoreState": "string"
}
},
"securitySettings": {
"immutabilitySettings": {
"state": "string"
},
"softDeleteSettings": {
"enhancedSecurityState": "string",
"softDeleteRetentionPeriodInDays": "int",
"softDeleteState": "string"
},
"sourceScanConfiguration": {
"sourceScanIdentity": {
"operationIdentityType": "string",
"userAssignedIdentity": "string"
},
"state": "string"
}
},
"upgradeDetails": {
}
},
"sku": {
"capacity": "string",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"tags": {
"{customized property}": "string"
}
}
プロパティ値
Microsoft.RecoveryServices/vaults
| 名前 | 説明 | Value |
|---|---|---|
| apiVersion | API のバージョン | 『2026-03-31-プレビュー』 |
| etag | etag をリソースに付けます。 | 文字列 |
| ID | リソースの ID。 | IdentityData |
| 位置 | リソースが存在する地理的な場所 | string (必須) |
| 名前 | リソース名 | string (必須) |
| properties | コンテナーのプロパティ。 | VaultProperties |
| sku | 各Azureリソースのシステム識別子を一意に識別します。 | Sku |
| tags | リソース タグ | タグ名と値のディクショナリ。 テンプレートTags> |
| 型 | リソースの種類 | 「Microsoft。RecoveryServices/Vaultsの |
AssociatedIdentity
| 名前 | 説明 | Value |
|---|---|---|
| operationIdentityType | 操作に使用する ID の種類。 | 'システム割り当て' 'UserAssigned' |
| userAssignedIdentity | operationIdentityType が UserAssigned の場合に操作に使用するユーザー割り当て ID。 | 文字列 |
AzureMonitorAlertSettings
| 名前 | 説明 | Value |
|---|---|---|
| alertsForAllFailoverIssues | 「無効」 'Enabled' |
|
| alertsForAllJobFailures | 「無効」 'Enabled' |
|
| alertsForAllReplicationIssues | 「無効」 'Enabled' |
ClassicAlertSettings
| 名前 | 説明 | Value |
|---|---|---|
| alertsForCriticalOperations | 「無効」 'Enabled' |
|
| emailNotificationsForSiteRecovery | 「無効」 'Enabled' |
CmkKekIdentity
| 名前 | 説明 | Value |
|---|---|---|
| userAssignedIdentity | 使用される ID の種類が UserAssigned の場合にアクセス許可を付与するために使用されるユーザー割り当て ID | 文字列 |
| useSystemAssignedIdentity | システム割り当て ID を使用する必要があることを示します。 'userAssignedIdentity' フィールドと相互に排他的 | bool |
CmkKeyVaultProperties
| 名前 | 説明 | Value |
|---|---|---|
| keyUri | カスタマー マネージド キーのキー URI | 文字列 |
コスト管理設定
| 名前 | 説明 | Value |
|---|---|---|
| 粒度レベル | 粒度レベルの設定 | 「保護アイテムレベル」 「ProtectedItemWithParentTag」 「ヴォールトレベル」 |
CrossSubscriptionRestoreSettings
| 名前 | 説明 | Value |
|---|---|---|
| crossSubscriptionRestoreState | 「無効」 'Enabled' 'PermanentlyDisabled' |
IdentityData
| 名前 | 説明 | Value |
|---|---|---|
| 型 | 使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' は、すべての ID を削除します。 | 「なし」 'システム割り当て' 'SystemAssigned,UserAssigned' 'UserAssigned' (必須) |
| userAssignedIdentities | リソースに関連付けられているユーザー割り当て ID の一覧。 ユーザー割り当てのアイデンティティ辞書キーは、次の形式のARMリソースIDとなります:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft。ManagedIdentity/userAssignedIdentities/{identityName}'. | IdentityDataUserAssignedIdentities |
IdentityDataUserAssignedIdentities
| 名前 | 説明 | Value |
|---|
ImmutabilitySettings
| 名前 | 説明 | Value |
|---|---|---|
| 状態 | 「無効」 'Locked' 'Unlocked' |
MonitoringSettings
| 名前 | 説明 | Value |
|---|---|---|
| azureMonitorAlertSettings | Azure Monitorベースのアラートの設定 | AzureMonitorAlertSettings |
| classicAlertSettings | クラシック アラートの設定 | ClassicAlertSettings |
RestoreSettings
| 名前 | 説明 | Value |
|---|---|---|
| crossSubscriptionRestoreSettings | CrossSubscriptionRestore の設定 | CrossSubscriptionRestoreSettings |
SecuritySettings
| 名前 | 説明 | Value |
|---|---|---|
| immutabilitySettings | コンテナーの不変設定 | ImmutabilitySettings |
| softDeleteSettings | コンテナーの論理的な削除の設定 | SoftDeleteSettings |
| sourceScanConfiguration | コンテナーのソース スキャン構成 | SourceScanConfiguration |
Sku
| 名前 | 説明 | Value |
|---|---|---|
| キャパシティ | SKU 容量 | 文字列 |
| family | SKU ファミリ | 文字列 |
| 名前 | SKU の名前は RS0 (Recovery Services 0 番目のバージョン) で、レベルは Standard レベルです。 バックエンド ストレージの冗長性やその他のコンテナー設定には影響しません。 ストレージの冗長性を管理するには、backupstorageconfig を使用します。 | 'RS0' 'Standard' (必須) |
| size | SKU のサイズ | 文字列 |
| レベル | SKU レベル。 | 文字列 |
SoftDeleteSettings
| 名前 | 説明 | Value |
|---|---|---|
| enhancedSecurityState | 'AlwaysON' 「無効」 'Enabled' 'Invalid' |
|
| softDeleteRetentionPeriodInDays | 論理的な削除の保有期間 (日数) | int |
| softDeleteState | 'AlwaysON' 「無効」 'Enabled' 'Invalid' |
SourceScanConfiguration
| 名前 | 説明 | Value |
|---|---|---|
| sourceScanIdentity | 操作に使用する ID の詳細 | AssociatedIdentity |
| 状態 | 「無効」 'Enabled' 'Invalid' |
TrackedResourceTags
| 名前 | 説明 | Value |
|---|
UpgradeDetails
| 名前 | 説明 | Value |
|---|
UserIdentity
| 名前 | 説明 | Value |
|---|
VaultProperties
| 名前 | 説明 | Value |
|---|---|---|
| コスト管理設定 | 金庫のコスト管理設定 | コスト管理設定 |
| 暗号化 | リソースのカスタマー マネージド キーの詳細。 | VaultPropertiesEncryption |
| monitoringSettings | コンテナーの監視設定 | MonitoringSettings |
| moveDetails | Azureリソース上で行われた最新の移動操作の詳細 | VaultPropertiesMoveDetails |
| publicNetworkAccess (パブリックネットワークアクセス) | プロパティを使用して、パブリック クライアントからのリソース プロバイダーの受信ネットワーク トラフィックを有効または無効にする | 「無効」 'Enabled' |
| redundancySettings | コンテナーの冗長性設定 | VaultPropertiesRedundancySettings |
| resourceGuardOperationRequests | LAC チェックが実行される ResourceGuardOperationRequests | string[] |
| restoreSettings | コンテナーの復元設定 | RestoreSettings |
| securitySettings | コンテナーのセキュリティ設定 | SecuritySettings |
| upgradeDetails | コンテナーのアップグレードの詳細。 | UpgradeDetails |
VaultPropertiesEncryption
| 名前 | 説明 | Value |
|---|---|---|
| infrastructureEncryption | 二重暗号化状態の有効化/無効化 | 「無効」 'Enabled' |
| kekIdentity | CMK に使用される ID の詳細 | CmkKekIdentity |
| keyVaultProperties | CMKをホストするKey Vaultのプロパティ | CmkKeyVaultProperties |
VaultPropertiesMoveDetails
| 名前 | 説明 | Value |
|---|
VaultPropertiesRedundancySettings
| 名前 | 説明 | Value |
|---|---|---|
| crossRegionRestore | コンテナーでリージョン間の復元が有効になっているかどうかを示すフラグ | 「無効」 'Enabled' |
| standardTierStorageRedundancy | コンテナーのストレージ冗長設定 | 「ジオリダンダント」 'Invalid' 'LocallyRedundant' 'ZoneRedundant' |
Terraform (AzAPI プロバイダー) リソース定義
コンテナーのリソースの種類は、次をターゲットとする操作でデプロイできます。
- リソースグループ 各APIバージョンの変更プロパティ一覧については、 変更ログをご覧ください。
使用例
Terraform サンプル
Recovery Services コンテナーのデプロイの基本的な例。
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westeurope"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "vault" {
type = "Microsoft.RecoveryServices/vaults@2022-10-01"
parent_id = azapi_resource.resourceGroup.id
name = var.resource_name
location = var.location
body = {
properties = {
publicNetworkAccess = "Enabled"
}
sku = {
name = "Standard"
}
}
schema_validation_enabled = false
response_export_values = ["*"]
}
Azure 検証済みモジュール
次の Azure 検証済みモジュール を使用して、このリソースの種類をデプロイできます。
| モジュール | 説明 |
|---|---|
| リカバリーサービス金庫 | Recovery Services コンテナー用の AVM リソース モジュール |
リソース形式
Microsoftを作るために。RecoveryServices/vaults リソースで、テンプレートに以下のTerraformを追加してください。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults@2026-03-31-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
etag = "string"
properties = {
costManagementSettings = {
granularityLevel = "string"
}
encryption = {
infrastructureEncryption = "string"
kekIdentity = {
userAssignedIdentity = "string"
useSystemAssignedIdentity = bool
}
keyVaultProperties = {
keyUri = "string"
}
}
monitoringSettings = {
azureMonitorAlertSettings = {
alertsForAllFailoverIssues = "string"
alertsForAllJobFailures = "string"
alertsForAllReplicationIssues = "string"
}
classicAlertSettings = {
alertsForCriticalOperations = "string"
emailNotificationsForSiteRecovery = "string"
}
}
moveDetails = {
}
publicNetworkAccess = "string"
redundancySettings = {
crossRegionRestore = "string"
standardTierStorageRedundancy = "string"
}
resourceGuardOperationRequests = [
"string"
]
restoreSettings = {
crossSubscriptionRestoreSettings = {
crossSubscriptionRestoreState = "string"
}
}
securitySettings = {
immutabilitySettings = {
state = "string"
}
softDeleteSettings = {
enhancedSecurityState = "string"
softDeleteRetentionPeriodInDays = int
softDeleteState = "string"
}
sourceScanConfiguration = {
sourceScanIdentity = {
operationIdentityType = "string"
userAssignedIdentity = "string"
}
state = "string"
}
}
upgradeDetails = {
}
}
sku = {
capacity = "string"
family = "string"
name = "string"
size = "string"
tier = "string"
}
}
}
プロパティ値
Microsoft.RecoveryServices/vaults
| 名前 | 説明 | Value |
|---|---|---|
| etag | etag をリソースに付けます。 | 文字列 |
| ID | リソースの ID。 | IdentityData |
| 位置 | リソースが存在する地理的な場所 | string (必須) |
| 名前 | リソース名 | string (必須) |
| properties | コンテナーのプロパティ。 | VaultProperties |
| sku | 各Azureリソースのシステム識別子を一意に識別します。 | Sku |
| tags | リソース タグ | タグ名と値のディクショナリ。 |
| 型 | リソースの種類 | 「Microsoft。RecoveryServices/vaults@2026-03-31-preview" |
AssociatedIdentity
| 名前 | 説明 | Value |
|---|---|---|
| operationIdentityType | 操作に使用する ID の種類。 | 'システム割り当て' 'UserAssigned' |
| userAssignedIdentity | operationIdentityType が UserAssigned の場合に操作に使用するユーザー割り当て ID。 | 文字列 |
AzureMonitorAlertSettings
| 名前 | 説明 | Value |
|---|---|---|
| alertsForAllFailoverIssues | 「無効」 'Enabled' |
|
| alertsForAllJobFailures | 「無効」 'Enabled' |
|
| alertsForAllReplicationIssues | 「無効」 'Enabled' |
ClassicAlertSettings
| 名前 | 説明 | Value |
|---|---|---|
| alertsForCriticalOperations | 「無効」 'Enabled' |
|
| emailNotificationsForSiteRecovery | 「無効」 'Enabled' |
CmkKekIdentity
| 名前 | 説明 | Value |
|---|---|---|
| userAssignedIdentity | 使用される ID の種類が UserAssigned の場合にアクセス許可を付与するために使用されるユーザー割り当て ID | 文字列 |
| useSystemAssignedIdentity | システム割り当て ID を使用する必要があることを示します。 'userAssignedIdentity' フィールドと相互に排他的 | bool |
CmkKeyVaultProperties
| 名前 | 説明 | Value |
|---|---|---|
| keyUri | カスタマー マネージド キーのキー URI | 文字列 |
コスト管理設定
| 名前 | 説明 | Value |
|---|---|---|
| 粒度レベル | 粒度レベルの設定 | 「保護アイテムレベル」 「ProtectedItemWithParentTag」 「ヴォールトレベル」 |
CrossSubscriptionRestoreSettings
| 名前 | 説明 | Value |
|---|---|---|
| crossSubscriptionRestoreState | 「無効」 'Enabled' 'PermanentlyDisabled' |
IdentityData
| 名前 | 説明 | Value |
|---|---|---|
| 型 | 使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' は、すべての ID を削除します。 | 「なし」 'システム割り当て' 'SystemAssigned,UserAssigned' 'UserAssigned' (必須) |
| userAssignedIdentities | リソースに関連付けられているユーザー割り当て ID の一覧。 ユーザー割り当てのアイデンティティ辞書キーは、次の形式のARMリソースIDとなります:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft。ManagedIdentity/userAssignedIdentities/{identityName}'. | IdentityDataUserAssignedIdentities |
IdentityDataUserAssignedIdentities
| 名前 | 説明 | Value |
|---|
ImmutabilitySettings
| 名前 | 説明 | Value |
|---|---|---|
| 状態 | 「無効」 'Locked' 'Unlocked' |
MonitoringSettings
| 名前 | 説明 | Value |
|---|---|---|
| azureMonitorAlertSettings | Azure Monitorベースのアラートの設定 | AzureMonitorAlertSettings |
| classicAlertSettings | クラシック アラートの設定 | ClassicAlertSettings |
RestoreSettings
| 名前 | 説明 | Value |
|---|---|---|
| crossSubscriptionRestoreSettings | CrossSubscriptionRestore の設定 | CrossSubscriptionRestoreSettings |
SecuritySettings
| 名前 | 説明 | Value |
|---|---|---|
| immutabilitySettings | コンテナーの不変設定 | ImmutabilitySettings |
| softDeleteSettings | コンテナーの論理的な削除の設定 | SoftDeleteSettings |
| sourceScanConfiguration | コンテナーのソース スキャン構成 | SourceScanConfiguration |
Sku
| 名前 | 説明 | Value |
|---|---|---|
| キャパシティ | SKU 容量 | 文字列 |
| family | SKU ファミリ | 文字列 |
| 名前 | SKU の名前は RS0 (Recovery Services 0 番目のバージョン) で、レベルは Standard レベルです。 バックエンド ストレージの冗長性やその他のコンテナー設定には影響しません。 ストレージの冗長性を管理するには、backupstorageconfig を使用します。 | 'RS0' 'Standard' (必須) |
| size | SKU のサイズ | 文字列 |
| レベル | SKU レベル。 | 文字列 |
SoftDeleteSettings
| 名前 | 説明 | Value |
|---|---|---|
| enhancedSecurityState | 'AlwaysON' 「無効」 'Enabled' 'Invalid' |
|
| softDeleteRetentionPeriodInDays | 論理的な削除の保有期間 (日数) | int |
| softDeleteState | 'AlwaysON' 「無効」 'Enabled' 'Invalid' |
SourceScanConfiguration
| 名前 | 説明 | Value |
|---|---|---|
| sourceScanIdentity | 操作に使用する ID の詳細 | AssociatedIdentity |
| 状態 | 「無効」 'Enabled' 'Invalid' |
TrackedResourceTags
| 名前 | 説明 | Value |
|---|
UpgradeDetails
| 名前 | 説明 | Value |
|---|
UserIdentity
| 名前 | 説明 | Value |
|---|
VaultProperties
| 名前 | 説明 | Value |
|---|---|---|
| コスト管理設定 | 金庫のコスト管理設定 | コスト管理設定 |
| 暗号化 | リソースのカスタマー マネージド キーの詳細。 | VaultPropertiesEncryption |
| monitoringSettings | コンテナーの監視設定 | MonitoringSettings |
| moveDetails | Azureリソース上で行われた最新の移動操作の詳細 | VaultPropertiesMoveDetails |
| publicNetworkAccess (パブリックネットワークアクセス) | プロパティを使用して、パブリック クライアントからのリソース プロバイダーの受信ネットワーク トラフィックを有効または無効にする | 「無効」 'Enabled' |
| redundancySettings | コンテナーの冗長性設定 | VaultPropertiesRedundancySettings |
| resourceGuardOperationRequests | LAC チェックが実行される ResourceGuardOperationRequests | string[] |
| restoreSettings | コンテナーの復元設定 | RestoreSettings |
| securitySettings | コンテナーのセキュリティ設定 | SecuritySettings |
| upgradeDetails | コンテナーのアップグレードの詳細。 | UpgradeDetails |
VaultPropertiesEncryption
| 名前 | 説明 | Value |
|---|---|---|
| infrastructureEncryption | 二重暗号化状態の有効化/無効化 | 「無効」 'Enabled' |
| kekIdentity | CMK に使用される ID の詳細 | CmkKekIdentity |
| keyVaultProperties | CMKをホストするKey Vaultのプロパティ | CmkKeyVaultProperties |
VaultPropertiesMoveDetails
| 名前 | 説明 | Value |
|---|
VaultPropertiesRedundancySettings
| 名前 | 説明 | Value |
|---|---|---|
| crossRegionRestore | コンテナーでリージョン間の復元が有効になっているかどうかを示すフラグ | 「無効」 'Enabled' |
| standardTierStorageRedundancy | コンテナーのストレージ冗長設定 | 「ジオリダンダント」 'Invalid' 'LocallyRedundant' 'ZoneRedundant' |