次の方法で共有


Microsoft.Security securityContacts 2017-08-01-preview

Bicep リソース定義

securityContacts リソースの種類は、次を対象とする操作でデプロイできます。

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

リソース形式

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

resource symbolicname 'Microsoft.Security/securityContacts@2017-08-01-preview' = {
  name: 'string'
  properties: {
    alertNotifications: 'string'
    alertsToAdmins: 'string'
    email: 'string'
    phone: 'string'
  }
}

プロパティ値

securityContacts

名前 説明
name リソース名 string (必須)

文字数制限: 1 から 260

有効な文字:
英数字、アンダースコア、およびハイフン。
properties セキュリティ連絡先データ SecurityContactProperties

SecurityContactProperties

名前 説明
alertNotifications セキュリティ通知をセキュリティ連絡先に送信するかどうか 'Off'
'On' (必須)
alertsToAdmins サブスクリプション管理者にセキュリティ アラート通知を送信するかどうか 'Off'
'On' (必須)
email このセキュリティ連絡先の電子メール string (必須)
phone このセキュリティ連絡先の電話番号 string

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

securityContacts リソースの種類は、次を対象とする操作でデプロイできます。

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

リソース形式

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

{
  "type": "Microsoft.Security/securityContacts",
  "apiVersion": "2017-08-01-preview",
  "name": "string",
  "properties": {
    "alertNotifications": "string",
    "alertsToAdmins": "string",
    "email": "string",
    "phone": "string"
  }
}

プロパティ値

securityContacts

名前 説明
type リソースの種類 'Microsoft.Security/securityContacts'
apiVersion リソース API のバージョン '2017-08-01-preview'
name リソース名 string (必須)

文字数制限: 1 から 260

有効な文字:
英数字、アンダースコア、およびハイフン。
properties セキュリティ連絡先データ SecurityContactProperties

SecurityContactProperties

名前 説明
alertNotifications セキュリティ通知をセキュリティ連絡先に送信するかどうか 'Off'
'On' (必須)
alertsToAdmins サブスクリプション管理者にセキュリティ アラート通知を送信するかどうか 'Off'
'On' (必須)
email このセキュリティ連絡先の電子メール string (必須)
phone このセキュリティ連絡先の電話番号 string

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

securityContacts リソースの種類は、次を対象とする操作でデプロイできます。

  • サブスクリプション

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

リソース形式

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Security/securityContacts@2017-08-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      alertNotifications = "string"
      alertsToAdmins = "string"
      email = "string"
      phone = "string"
    }
  })
}

プロパティ値

securityContacts

名前 説明
type リソースの種類 "Microsoft.Security/securityContacts@2017-08-01-preview"
name リソース名 string (必須)

文字制限: 1 から 260

有効な文字:
英数字、アンダースコア、およびハイフン。
parent_id サブスクリプションにデプロイするには、そのサブスクリプションの ID を使用します。 string (必須)
properties セキュリティ連絡先データ SecurityContactProperties

SecurityContactProperties

名前 説明
alertNotifications セキュリティアラート通知をセキュリティ連絡先に送信するかどうか "Off"
"オン" (必須)
alertsToAdmins サブスクリプション管理者にセキュリティ アラート通知を送信するかどうか "Off"
"オン" (必須)
email このセキュリティ連絡先の電子メール string (必須)
phone このセキュリティ連絡先の電話番号 string