Microsoft.Security securityContacts 2017-08-01-preview
Bicep resource definition
The securityContacts resource type can be deployed with operations that target:
- Subscription - See subscription deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Security/securityContacts resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Security/securityContacts@2017-08-01-preview' = {
name: 'string'
properties: {
alertNotifications: 'string'
alertsToAdmins: 'string'
email: 'string'
phone: 'string'
}
}
Property values
Microsoft.Security/securityContacts
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | Security contact data | SecurityContactProperties |
SecurityContactProperties
Name | Description | Value |
---|---|---|
alertNotifications | Whether to send security alerts notifications to the security contact | 'Off' 'On' (required) |
alertsToAdmins | Whether to send security alerts notifications to subscription admins | 'Off' 'On' (required) |
The email of this security contact | string (required) | |
phone | The phone number of this security contact | string |
ARM template resource definition
The securityContacts resource type can be deployed with operations that target:
- Subscription - See subscription deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Security/securityContacts resource, add the following JSON to your template.
{
"type": "Microsoft.Security/securityContacts",
"apiVersion": "2017-08-01-preview",
"name": "string",
"properties": {
"alertNotifications": "string",
"alertsToAdmins": "string",
"email": "string",
"phone": "string"
}
}
Property values
Microsoft.Security/securityContacts
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2017-08-01-preview' |
name | The resource name | string (required) |
properties | Security contact data | SecurityContactProperties |
type | The resource type | 'Microsoft.Security/securityContacts' |
SecurityContactProperties
Name | Description | Value |
---|---|---|
alertNotifications | Whether to send security alerts notifications to the security contact | 'Off' 'On' (required) |
alertsToAdmins | Whether to send security alerts notifications to subscription admins | 'Off' 'On' (required) |
The email of this security contact | string (required) | |
phone | The phone number of this security contact | string |
Terraform (AzAPI provider) resource definition
The securityContacts resource type can be deployed with operations that target:
- Subscription
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Security/securityContacts resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Security/securityContacts@2017-08-01-preview"
name = "string"
body = jsonencode({
properties = {
alertNotifications = "string"
alertsToAdmins = "string"
email = "string"
phone = "string"
}
})
}
Property values
Microsoft.Security/securityContacts
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | Security contact data | SecurityContactProperties |
type | The resource type | "Microsoft.Security/securityContacts@2017-08-01-preview" |
SecurityContactProperties
Name | Description | Value |
---|---|---|
alertNotifications | Whether to send security alerts notifications to the security contact | 'Off' 'On' (required) |
alertsToAdmins | Whether to send security alerts notifications to subscription admins | 'Off' 'On' (required) |
The email of this security contact | string (required) | |
phone | The phone number of this security contact | string |