Microsoft.DataProtection backupVaults 2022-04-01

Bicep リソース定義

backupVaults リソースの種類は、次のようにデプロイできます。

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

リソース形式

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

resource symbolicname 'Microsoft.DataProtection/backupVaults@2022-04-01' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  eTag: 'string'
  identity: {
    type: 'string'
  }
  properties: {
    monitoringSettings: {
      azureMonitorAlertSettings: {
        alertsForAllJobFailures: 'string'
      }
    }
    storageSettings: [
      {
        datastoreType: 'string'
        type: 'string'
      }
    ]
  }
}

プロパティ値

backupVaults

名前 説明
name リソース名 string (必須)
location リソースの場所。 string
tags リソース タグ。 タグ名と値のディクショナリ。 「テンプレートのタグ」を参照してください
eTag オプションの ETag。 string
identity 入力マネージド ID の詳細 DppIdentityDetails
properties BackupVaultResource プロパティ BackupVault (必須)

DppIdentityDetails

名前 説明
type SystemAssigned または None のいずれかを指定できる identityType string

BackupVault

名前 説明
monitoringSettings 監視設定 MonitoringSettings
storageSettings [ストレージ設定] StorageSetting[] (必須)

MonitoringSettings

名前 説明
azureMonitorAlertSettings Azure Monitor ベースのアラートの設定 AzureMonitorAlertSettings

AzureMonitorAlertSettings

名前 説明
alertsForAllJobFailures 'Disabled'
'Enabled'

StorageSetting

名前 説明
datastoreType データストアの種類を取得または設定します。 'ArchiveStore'
'SnapshotStore'
'VaultStore'
型を取得または設定します。 'GeoRedundant'
'LocallyRedundant'

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

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
Backup Vault を使用して保護を有効にするディスク & 作成する

Azure にデプロイする
ディスクを作成し、Backup Vault による保護を有効にするテンプレート
ストレージ アカウントを作成 & Backup Vault 経由で保護を有効にする

Azure にデプロイする
ストレージ アカウントを作成し、Backup Vault による保護を有効にするテンプレート
Backup Vault を作成する

Azure にデプロイする
バックアップ コンテナーを作成するシンプルなテンプレート

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

backupVaults リソースの種類は、次の対象にデプロイできます。

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

リソース形式

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

{
  "type": "Microsoft.DataProtection/backupVaults",
  "apiVersion": "2022-04-01",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "eTag": "string",
  "identity": {
    "type": "string"
  },
  "properties": {
    "monitoringSettings": {
      "azureMonitorAlertSettings": {
        "alertsForAllJobFailures": "string"
      }
    },
    "storageSettings": [
      {
        "datastoreType": "string",
        "type": "string"
      }
    ]
  }
}

プロパティ値

backupVaults

名前 説明
type リソースの種類 'Microsoft.DataProtection/backupVaults'
apiVersion リソース API のバージョン '2022-04-01'
name リソース名 string (必須)
location リソースの場所。 string
tags リソース タグ。 タグの名前と値のディクショナリ。 「テンプレート内のタグ」を参照してください
eTag オプションの ETag。 string
identity 入力マネージド ID の詳細 DppIdentityDetails
properties BackupVaultResource プロパティ BackupVault (必須)

DppIdentityDetails

名前 説明
type SystemAssigned または None のいずれかを指定できる identityType string

BackupVault

名前 説明
monitoringSettings 監視設定 MonitoringSettings
storageSettings [ストレージ設定] StorageSetting[] (必須)

MonitoringSettings

名前 説明
azureMonitorAlertSettings Azure Monitor ベースのアラートの設定 AzureMonitorAlertSettings

AzureMonitorAlertSettings

名前 説明
alertsForAllJobFailures 'Disabled'
'Enabled'

StorageSetting

名前 説明
datastoreType データストアの種類を取得または設定します。 'ArchiveStore'
'SnapshotStore'
'VaultStore'
型を取得または設定します。 'GeoRedundant'
'LocallyRedundant'

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

次のクイックスタート テンプレートでは、このリソースの種類をデプロイします。

Template 説明
Backup Vault を使用して保護を有効にするディスク & 作成する

Azure にデプロイする
ディスクを作成し、Backup Vault による保護を有効にするテンプレート
ストレージ アカウントを作成 & Backup Vault 経由で保護を有効にする

Azure にデプロイする
ストレージ アカウントを作成し、Backup Vault による保護を有効にするテンプレート
Backup Vault を作成する

Azure にデプロイする
バックアップ コンテナーを作成するシンプルなテンプレート

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

backupVaults リソースの種類は、次のようにデプロイできます。

  • リソース グループ

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DataProtection/backupVaults@2022-04-01"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
  }
  body = jsonencode({
    properties = {
      monitoringSettings = {
        azureMonitorAlertSettings = {
          alertsForAllJobFailures = "string"
        }
      }
      storageSettings = [
        {
          datastoreType = "string"
          type = "string"
        }
      ]
    }
    eTag = "string"
  })
}

プロパティ値

backupVaults

名前 説明
type リソースの種類 "Microsoft.DataProtection/backupVaults@2022-04-01"
name リソース名 string (必須)
location リソースの場所。 string
parent_id リソース グループにデプロイするには、そのリソース グループの ID を使用します。 string (必須)
tags リソース タグ。 タグ名と値のディクショナリ。
eTag オプションの ETag。 string
identity 入力マネージド ID の詳細 DppIdentityDetails
properties BackupVaultResource プロパティ BackupVault (必須)

DppIdentityDetails

名前 説明
type SystemAssigned または None のいずれかを指定できる identityType string

BackupVault

名前 説明
monitoringSettings 監視設定 MonitoringSettings
storageSettings [ストレージ設定] StorageSetting[] (必須)

MonitoringSettings

名前 説明
azureMonitorAlertSettings Azure Monitor ベースのアラートの設定 AzureMonitorAlertSettings

AzureMonitorAlertSettings

名前 説明
alertsForAllJobFailures "無効"
"有効"

StorageSetting

名前 説明
datastoreType データストアの種類を取得または設定します。 "ArchiveStore"
"SnapshotStore"
"VaultStore"
型を取得または設定します。 "GeoRedundant"
"LocallyRedundant"