Share via


Microsoft.RecoveryServices コンテナー/replicationAlertSettings 2021-02-10

Bicep リソース定義

コンテナー/replicationAlertSettings リソースの種類は、次の場所にデプロイできます。

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

リソース形式

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

resource symbolicname 'Microsoft.RecoveryServices/vaults/replicationAlertSettings@2021-02-10' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    customEmailAddresses: [
      'string'
    ]
    locale: 'string'
    sendToOwners: 'string'
  }
}

プロパティ値

vaults/replicationAlertSettings

Name 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部にある子リソース」を参照してください。
種類のリソースのシンボル名: コンテナー
properties アラート要求の構成のプロパティ。 ConfigureAlertRequestPropertiesOrAlertProperties

ConfigureAlertRequestPropertiesOrAlertProperties

Name 説明
customEmailAddresses メールを送信するためのカスタム 電子メール アドレス。 string[]
locale 電子メール通知のロケール。 string
sendToOwners サブスクリプション管理者にメールを送信するかどうかを示す値。 string

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

コンテナー/replicationAlertSettings リソースの種類は、次の場所にデプロイできます。

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

リソース形式

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

{
  "type": "Microsoft.RecoveryServices/vaults/replicationAlertSettings",
  "apiVersion": "2021-02-10",
  "name": "string",
  "properties": {
    "customEmailAddresses": [ "string" ],
    "locale": "string",
    "sendToOwners": "string"
  }
}

プロパティ値

vaults/replicationAlertSettings

Name 説明
type リソースの種類 'Microsoft.RecoveryServices/vaults/replicationAlertSettings'
apiVersion リソース API のバージョン '2021-02-10'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)
properties アラート要求の構成のプロパティ。 ConfigureAlertRequestPropertiesOrAlertProperties

ConfigureAlertRequestPropertiesOrAlertProperties

Name 説明
customEmailAddresses メールを送信するためのカスタム 電子メール アドレス。 string[]
locale 電子メール通知のロケール。 string
sendToOwners サブスクリプション管理者にメールを送信するかどうかを示す値。 string

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

コンテナー/replicationAlertSettings リソースの種類は、次の場所にデプロイできます。

  • リソース グループ

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/replicationAlertSettings@2021-02-10"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      customEmailAddresses = [
        "string"
      ]
      locale = "string"
      sendToOwners = "string"
    }
  })
}

プロパティ値

vaults/replicationAlertSettings

Name 説明
type リソースの種類 "Microsoft.RecoveryServices/vaults/replicationAlertSettings@2021-02-10"
name リソース名 string (必須)
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: コンテナー
properties アラート要求の構成のプロパティ。 ConfigureAlertRequestPropertiesOrAlertProperties

ConfigureAlertRequestPropertiesOrAlertProperties

Name 説明
customEmailAddresses メールを送信するためのカスタム 電子メール アドレス。 string[]
locale 電子メール通知のロケール。 string
sendToOwners サブスクリプション管理者に電子メールを送信するかどうかを示す値。 string