Bicep リソース定義
コンテナーのリソースの種類は、次をターゲットとする操作でデプロイできます。
-
リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。
Microsoft.RecoveryServices/vaults リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.RecoveryServices/vaults@2023-06-01' = {
etag: 'string'
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
encryption: {
infrastructureEncryption: 'string'
kekIdentity: {
userAssignedIdentity: 'string'
useSystemAssignedIdentity: bool
}
keyVaultProperties: {
keyUri: 'string'
}
}
monitoringSettings: {
azureMonitorAlertSettings: {
alertsForAllJobFailures: 'string'
}
classicAlertSettings: {
alertsForCriticalOperations: 'string'
}
}
moveDetails: {}
publicNetworkAccess: 'string'
redundancySettings: {}
restoreSettings: {
crossSubscriptionRestoreSettings: {
crossSubscriptionRestoreState: 'string'
}
}
securitySettings: {
immutabilitySettings: {
state: 'string'
}
softDeleteSettings: {
softDeleteRetentionPeriodInDays: int
softDeleteState: 'string'
}
}
upgradeDetails: {}
}
sku: {
capacity: 'string'
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
tags: {
{customized property}: 'string'
}
}
プロパティ値
Microsoft.RecoveryServices/vaults
名前 |
説明 |
価値 |
ETAGの |
省略可能な ETag。 |
ひも |
アイデンティティ |
リソースの ID。 |
アイデンティティデータ |
ロケーション |
リソースの場所。 |
string (必須) |
名前 |
リソース名 |
string (必須) |
プロパティ |
コンテナーのプロパティ。 |
Vaultプロパティ |
エスケーユー |
各 Azure リソースの一意のシステム識別子を識別します。 |
SKU |
タグ |
リソース タグ |
タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
AzureMonitorAlertSettings
名前 |
説明 |
価値 |
alertsForAllJobFailures (アラート・フォー・オール・ジョブ・エラー) |
|
「無効」 「有効」 |
クラシックアラート設定
名前 |
説明 |
価値 |
alertsForCriticalOperations (アラート・フォー・クリティカル・オペレーション) |
|
「無効」 「有効」 |
CmkKekIdentityの
名前 |
説明 |
価値 |
ユーザー割り当てアイデンティティ |
使用される ID の種類が UserAssigned の場合にアクセス許可を付与するために使用されるユーザー割り当て ID |
ひも |
useSystemAssignedIdentity を使用します。 |
システム割り当て ID を使用する必要があることを示します。 'userAssignedIdentity' フィールドと相互に排他的 |
ブール (bool) |
CmkKeyVaultプロパティ
名前 |
説明 |
価値 |
キーURI |
カスタマー マネージド キーのキー URI |
ひも |
CrossSubscriptionRestoreSettings (クロスサブスクリプション復元設定)
名前 |
説明 |
価値 |
crossSubscriptionRestoreState |
|
「無効」 「有効」 「永久に無効」 |
アイデンティティデータ
名前 |
説明 |
価値 |
種類 |
使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' は、すべての ID を削除します。 |
「なし」 'システム割り当て' 'SystemAssigned,UserAssigned' 'UserAssigned' (必須) |
userAssignedIdentities (ユーザー割り当て済みアイデンティティ) |
リソースに関連付けられているユーザー割り当て ID の一覧。 ユーザー割り当て ID ディクショナリ キーは、"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" という形式の ARM リソース ID になります。 |
IdentityDataUserAssignedIdentities |
IdentityDataUserAssignedIdentities
不変性設定
名前 |
説明 |
価値 |
状態 |
|
「無効」 「ロック」 「アンロック」 |
モニタリング設定
リストアセッティング
セキュリティ設定
SKU
名前 |
説明 |
価値 |
容量 |
SKU 容量 |
ひも |
家族 |
SKU ファミリ |
ひも |
名前 |
SKU の名前は RS0 (Recovery Services 0 番目のバージョン) で、レベルは Standard レベルです。 バックエンド ストレージの冗長性やその他のコンテナー設定には影響しません。 ストレージの冗長性を管理するには、backupstorageconfig を使用します。 |
'RS0' 'Standard' (必須) |
サイズ |
SKU のサイズ |
ひも |
レベル |
SKU レベル。 |
ひも |
SoftDeleteSettings (ソフトデリート設定)
名前 |
説明 |
価値 |
softDeleteRetentionPeriodInDays (日数) |
論理的な削除の保有期間 (日数) |
整数 (int) |
ソフトデリートステート |
|
「常時点灯」 「無効」 「有効」 「無効」 |
アップグレード内容
ユーザーアイデンティティ
ボールトプロパティ
VaultProperties暗号化
VaultProperties移動詳細
VaultProperties冗長性設定
使用例
Azure 検証済みモジュール
次の Azure 検証済みモジュール を使用して、このリソースの種類をデプロイできます。
Azure クイック スタートのサンプル
次 Azure クイック スタート テンプレート、このリソースの種類をデプロイするための Bicep サンプルが含まれています。
ARM テンプレート リソース定義
コンテナーのリソースの種類は、次をターゲットとする操作でデプロイできます。
-
リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。
Microsoft.RecoveryServices/vaults リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.RecoveryServices/vaults",
"apiVersion": "2023-06-01",
"name": "string",
"etag": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"encryption": {
"infrastructureEncryption": "string",
"kekIdentity": {
"userAssignedIdentity": "string",
"useSystemAssignedIdentity": "bool"
},
"keyVaultProperties": {
"keyUri": "string"
}
},
"monitoringSettings": {
"azureMonitorAlertSettings": {
"alertsForAllJobFailures": "string"
},
"classicAlertSettings": {
"alertsForCriticalOperations": "string"
}
},
"moveDetails": {
},
"publicNetworkAccess": "string",
"redundancySettings": {
},
"restoreSettings": {
"crossSubscriptionRestoreSettings": {
"crossSubscriptionRestoreState": "string"
}
},
"securitySettings": {
"immutabilitySettings": {
"state": "string"
},
"softDeleteSettings": {
"softDeleteRetentionPeriodInDays": "int",
"softDeleteState": "string"
}
},
"upgradeDetails": {
}
},
"sku": {
"capacity": "string",
"family": "string",
"name": "string",
"size": "string",
"tier": "string"
},
"tags": {
"{customized property}": "string"
}
}
プロパティ値
Microsoft.RecoveryServices/vaults
名前 |
説明 |
価値 |
apiVersion (英語) |
API のバージョン |
'2023-06-01' |
ETAGの |
省略可能な ETag。 |
ひも |
アイデンティティ |
リソースの ID。 |
アイデンティティデータ |
ロケーション |
リソースの場所。 |
string (必須) |
名前 |
リソース名 |
string (必須) |
プロパティ |
コンテナーのプロパティ。 |
Vaultプロパティ |
エスケーユー |
各 Azure リソースの一意のシステム識別子を識別します。 |
SKU |
タグ |
リソース タグ |
タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 |
リソースの種類 |
'Microsoft.RecoveryServices/vaults' |
AzureMonitorAlertSettings
名前 |
説明 |
価値 |
alertsForAllJobFailures (アラート・フォー・オール・ジョブ・エラー) |
|
「無効」 「有効」 |
クラシックアラート設定
名前 |
説明 |
価値 |
alertsForCriticalOperations (アラート・フォー・クリティカル・オペレーション) |
|
「無効」 「有効」 |
CmkKekIdentityの
名前 |
説明 |
価値 |
ユーザー割り当てアイデンティティ |
使用される ID の種類が UserAssigned の場合にアクセス許可を付与するために使用されるユーザー割り当て ID |
ひも |
useSystemAssignedIdentity を使用します。 |
システム割り当て ID を使用する必要があることを示します。 'userAssignedIdentity' フィールドと相互に排他的 |
ブール (bool) |
CmkKeyVaultプロパティ
名前 |
説明 |
価値 |
キーURI |
カスタマー マネージド キーのキー URI |
ひも |
CrossSubscriptionRestoreSettings (クロスサブスクリプション復元設定)
名前 |
説明 |
価値 |
crossSubscriptionRestoreState |
|
「無効」 「有効」 「永久に無効」 |
アイデンティティデータ
名前 |
説明 |
価値 |
種類 |
使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' は、すべての ID を削除します。 |
「なし」 'システム割り当て' 'SystemAssigned,UserAssigned' 'UserAssigned' (必須) |
userAssignedIdentities (ユーザー割り当て済みアイデンティティ) |
リソースに関連付けられているユーザー割り当て ID の一覧。 ユーザー割り当て ID ディクショナリ キーは、"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" という形式の ARM リソース ID になります。 |
IdentityDataUserAssignedIdentities |
IdentityDataUserAssignedIdentities
不変性設定
名前 |
説明 |
価値 |
状態 |
|
「無効」 「ロック」 「アンロック」 |
モニタリング設定
リストアセッティング
セキュリティ設定
SKU
名前 |
説明 |
価値 |
容量 |
SKU 容量 |
ひも |
家族 |
SKU ファミリ |
ひも |
名前 |
SKU の名前は RS0 (Recovery Services 0 番目のバージョン) で、レベルは Standard レベルです。 バックエンド ストレージの冗長性やその他のコンテナー設定には影響しません。 ストレージの冗長性を管理するには、backupstorageconfig を使用します。 |
'RS0' 'Standard' (必須) |
サイズ |
SKU のサイズ |
ひも |
レベル |
SKU レベル。 |
ひも |
SoftDeleteSettings (ソフトデリート設定)
名前 |
説明 |
価値 |
softDeleteRetentionPeriodInDays (日数) |
論理的な削除の保有期間 (日数) |
整数 (int) |
ソフトデリートステート |
|
「常時点灯」 「無効」 「有効」 「無効」 |
アップグレード内容
ユーザーアイデンティティ
ボールトプロパティ
VaultProperties暗号化
VaultProperties移動詳細
VaultProperties冗長性設定
使用例
Azure クイックスタート テンプレート
このリソースの種類 デプロイする Azure クイック スタート テンプレート 次に示します。
コンテナーのリソースの種類は、次をターゲットとする操作でデプロイできます。
各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。
Microsoft.RecoveryServices/vaults リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults@2023-06-01"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
etag = "string"
properties = {
encryption = {
infrastructureEncryption = "string"
kekIdentity = {
userAssignedIdentity = "string"
useSystemAssignedIdentity = bool
}
keyVaultProperties = {
keyUri = "string"
}
}
monitoringSettings = {
azureMonitorAlertSettings = {
alertsForAllJobFailures = "string"
}
classicAlertSettings = {
alertsForCriticalOperations = "string"
}
}
moveDetails = {
}
publicNetworkAccess = "string"
redundancySettings = {
}
restoreSettings = {
crossSubscriptionRestoreSettings = {
crossSubscriptionRestoreState = "string"
}
}
securitySettings = {
immutabilitySettings = {
state = "string"
}
softDeleteSettings = {
softDeleteRetentionPeriodInDays = int
softDeleteState = "string"
}
}
upgradeDetails = {
}
}
sku = {
capacity = "string"
family = "string"
name = "string"
size = "string"
tier = "string"
}
}
}
プロパティ値
Microsoft.RecoveryServices/vaults
名前 |
説明 |
価値 |
ETAGの |
省略可能な ETag。 |
ひも |
アイデンティティ |
リソースの ID。 |
アイデンティティデータ |
ロケーション |
リソースの場所。 |
string (必須) |
名前 |
リソース名 |
string (必須) |
プロパティ |
コンテナーのプロパティ。 |
Vaultプロパティ |
エスケーユー |
各 Azure リソースの一意のシステム識別子を識別します。 |
SKU |
タグ |
リソース タグ |
タグ名と値のディクショナリ。 |
種類 |
リソースの種類 |
「Microsoft.RecoveryServices/vaults@2023-06-01」 |
AzureMonitorAlertSettings
名前 |
説明 |
価値 |
alertsForAllJobFailures (アラート・フォー・オール・ジョブ・エラー) |
|
「無効」 「有効」 |
クラシックアラート設定
名前 |
説明 |
価値 |
alertsForCriticalOperations (アラート・フォー・クリティカル・オペレーション) |
|
「無効」 「有効」 |
CmkKekIdentityの
名前 |
説明 |
価値 |
ユーザー割り当てアイデンティティ |
使用される ID の種類が UserAssigned の場合にアクセス許可を付与するために使用されるユーザー割り当て ID |
ひも |
useSystemAssignedIdentity を使用します。 |
システム割り当て ID を使用する必要があることを示します。 'userAssignedIdentity' フィールドと相互に排他的 |
ブール (bool) |
CmkKeyVaultプロパティ
名前 |
説明 |
価値 |
キーURI |
カスタマー マネージド キーのキー URI |
ひも |
CrossSubscriptionRestoreSettings (クロスサブスクリプション復元設定)
名前 |
説明 |
価値 |
crossSubscriptionRestoreState |
|
「無効」 「有効」 「永久に無効」 |
アイデンティティデータ
名前 |
説明 |
価値 |
種類 |
使用されるマネージド ID の種類。 型 'SystemAssigned, UserAssigned' には、暗黙的に作成された ID とユーザー割り当て ID のセットの両方が含まれます。 型 'None' は、すべての ID を削除します。 |
「なし」 'システム割り当て' 'SystemAssigned,UserAssigned' 'UserAssigned' (必須) |
userAssignedIdentities (ユーザー割り当て済みアイデンティティ) |
リソースに関連付けられているユーザー割り当て ID の一覧。 ユーザー割り当て ID ディクショナリ キーは、"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}" という形式の ARM リソース ID になります。 |
IdentityDataUserAssignedIdentities |
IdentityDataUserAssignedIdentities
不変性設定
名前 |
説明 |
価値 |
状態 |
|
「無効」 「ロック」 「アンロック」 |
モニタリング設定
リストアセッティング
セキュリティ設定
SKU
名前 |
説明 |
価値 |
容量 |
SKU 容量 |
ひも |
家族 |
SKU ファミリ |
ひも |
名前 |
SKU の名前は RS0 (Recovery Services 0 番目のバージョン) で、レベルは Standard レベルです。 バックエンド ストレージの冗長性やその他のコンテナー設定には影響しません。 ストレージの冗長性を管理するには、backupstorageconfig を使用します。 |
'RS0' 'Standard' (必須) |
サイズ |
SKU のサイズ |
ひも |
レベル |
SKU レベル。 |
ひも |
SoftDeleteSettings (ソフトデリート設定)
名前 |
説明 |
価値 |
softDeleteRetentionPeriodInDays (日数) |
論理的な削除の保有期間 (日数) |
整数 (int) |
ソフトデリートステート |
|
「常時点灯」 「無効」 「有効」 「無効」 |
アップグレード内容
ユーザーアイデンティティ
ボールトプロパティ
VaultProperties暗号化
VaultProperties移動詳細
VaultProperties冗長性設定