Skip to content

Commit

Permalink
Added docs
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Oct 9, 2018
1 parent 3d94cd9 commit 4e33d2f
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/azurerm.erb
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,11 @@
<a href="/docs/providers/azurerm/r/securitycenter_subscription_pricing.html">azurerm_securitycenter_subscription_pricing</a>
</li>
</ul>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-azurerm-securitycenter-contact") %>>
<a href="/docs/providers/azurerm/r/securitycenter_contact.html">azurerm_securitycenter_contact</a>
</li>
</ul>
</li>

<li<%= sidebar_current("docs-azurerm-resource-scheduler") %>>
Expand Down
46 changes: 46 additions & 0 deletions website/docs/r/securitycenter_contact.markdown
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
```

0 comments on commit 4e33d2f

Please sign in to comment.