Skip to content

Commit

Permalink
Merge pull request #2156 from Zenocolo/patch-1
Browse files Browse the repository at this point in the history
Example has a type
  • Loading branch information
katbyte authored Oct 25, 2018
2 parents 8cd68f3 + 28d3f07 commit 4941884
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions website/docs/r/security_center_workspace.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "azurerm_log_analytics_workspace" "example" {
sku = "PerGB2018"
}
resource "azurerm_security_center_contact" "example" {
resource "azurerm_security_center_workspace" "example" {
scope = "/subscriptions/00000000-0000-0000-0000-000000000000"
workspace_id = "${azurerm_log_analytics_workspace.example.id}"
}
Expand All @@ -40,13 +40,14 @@ resource "azurerm_security_center_contact" "example" {
The following arguments are supported:

* `scope` - (Required) The scope of VMs to send their security data to the desired workspace, unless overridden by a setting with more specific scope.
* `workspace_id` - (Required) The resource ID of the log analytics workspace to save the data in.

* `workspace_id` - (Required) The ID of the Log Analytics Workspace to save the data in.

## Attributes Reference

The following attributes are exported:

* `id` - The Security Center Contact ID.
* `id` - The Security Center Workspace ID.

## Import

Expand Down

0 comments on commit 4941884

Please sign in to comment.