-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
layout: "azurerm" | ||
page_title: "Azure Resource Manager: azurerm_securitycenter_contact" | ||
sidebar_current: "docs-azurerm-securitycenter-contact" | ||
description: |- | ||
Manages the subscription's Security Center Contact. | ||
--- | ||
|
||
# azurerm_securitycenter_contact | ||
|
||
Manages the subscription's Security Center Contact. | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "azurerm_securitycenter_contact" "example" { | ||
email = "[email protected]" | ||
phone = "+1-555-555-5555" | ||
alert_notifications = true | ||
alerts_to_admins = true | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
The following arguments are supported: | ||
|
||
* `email` - (Required) The email of the Security Center Contact. | ||
* `phone` - (Required) The phone number of the Security Center Contact. | ||
* `alert_notifications` - (Required) Whether to send security alerts notifications to the security contact. | ||
* `alerts_to_admins` - (Required) Whether to send security alerts notifications to subscription admins. | ||
|
||
## Attributes Reference | ||
|
||
The following attributes are exported: | ||
|
||
* `id` - The Security Center Contact ID. | ||
|
||
## Import | ||
|
||
The contact can be imported using the `resource id`, e.g. | ||
|
||
```shell | ||
terraform import azurerm_securitycenter_contact.example /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Security/securityContacts/default1 | ||
``` |