Microsoft.Security securityContacts template reference

Template format

To create a Microsoft.Security/securityContacts resource, add the following JSON to the resources section of your template.

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

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Security/securityContacts object

Name Type Required Value
name string Yes Name of the security contact object
type enum Yes Microsoft.Security/securityContacts
apiVersion enum Yes 2017-08-01-preview
properties object Yes Security contact data - SecurityContactProperties object

SecurityContactProperties object

Name Type Required Value
email string Yes The email of this security contact
phone string No The phone number of this security contact
alertNotifications enum Yes Whether to send security alerts notifications to the security contact. - On or Off
alertsToAdmins enum Yes Whether to send security alerts notifications to subscription admins. - On or Off