Skip to content

Commit

Permalink
azurerm_(ms)sql_server - removal of doc for deprecated `extended_au…
Browse files Browse the repository at this point in the history
…diting_policy`
  • Loading branch information
Aris van Ommeren committed Nov 12, 2021
1 parent 605af2e commit 03c8125
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
23 changes: 0 additions & 23 deletions website/docs/r/mssql_server.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ resource "azurerm_mssql_server" "example" {
object_id = "00000000-0000-0000-0000-000000000000"
}
extended_auditing_policy {
storage_endpoint = azurerm_storage_account.example.primary_blob_endpoint
storage_account_access_key = azurerm_storage_account.example.primary_access_key
storage_account_access_key_is_secondary = true
retention_in_days = 6
}
tags = {
environment = "production"
}
Expand All @@ -74,8 +67,6 @@ The following arguments are supported:

* `azuread_administrator` - (Optional) An `azuread_administrator` block as defined below.

* `extended_auditing_policy` - (Optional) A `extended_auditing_policy` block as defined below.

* `connection_policy` - (Optional) The connection policy the server will use. Possible values are `Default`, `Proxy`, and `Redirect`. Defaults to `Default`.

* `identity` - (Optional) An `identity` block as defined below.
Expand Down Expand Up @@ -132,20 +123,6 @@ An `azuread_administrator` block supports the following:

* `azuread_authentication_only` - (Optional) Specifies whether only AD Users and administrators (like `azuread_administrator.0.login_username`) can be used to login or also local database users (like `administrator_login`).

---

An `extended_auditing_policy` block supports the following:

* `storage_account_access_key` - (Optional) Specifies the access key to use for the auditing storage account.

* `storage_endpoint` - (Optional) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).

* `storage_account_access_key_is_secondary` - (Optional) Specifies whether `storage_account_access_key` value is the storage's secondary key.

* `retention_in_days` - (Optional) Specifies the number of days to retain logs for in the storage account.

* `log_monitoring_enabled` - (Optional) Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its main database audit events to Azure Monitor.

### Timeouts

The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions:
Expand Down
23 changes: 0 additions & 23 deletions website/docs/r/sql_server.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ resource "azurerm_sql_server" "example" {
administrator_login = "mradministrator"
administrator_login_password = "thisIsDog11"
extended_auditing_policy {
storage_endpoint = azurerm_storage_account.example.primary_blob_endpoint
storage_account_access_key = azurerm_storage_account.example.primary_access_key
storage_account_access_key_is_secondary = true
retention_in_days = 6
}
tags = {
environment = "production"
}
Expand All @@ -73,8 +66,6 @@ The following arguments are supported:

* `identity` - (Optional) An `identity` block as defined below.

* `extended_auditing_policy` - (Optional) A `extended_auditing_policy` block as defined below.

* `threat_detection_policy` - (Optional) Threat detection policy configuration. The `threat_detection_policy` block supports fields documented below.

* `tags` - (Optional) A mapping of tags to assign to the resource.
Expand Down Expand Up @@ -114,20 +105,6 @@ The following attributes are exported:

-> You can access the Principal ID via `${azurerm_mssql_server.example.identity.0.principal_id}` and the Tenant ID via `${azurerm_mssql_server.example.identity.0.tenant_id}`

---

A `extended_auditing_policy` block supports the following:

* `storage_account_access_key` - (Optional) Specifies the access key to use for the auditing storage account.

* `storage_endpoint` - (Optional) Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net).

* `storage_account_access_key_is_secondary` - (Optional) Specifies whether `storage_account_access_key` value is the storage's secondary key.

* `retention_in_days` - (Optional) Specifies the number of days to retain logs for in the storage account.

* `log_monitoring_enabled` - (Optional) Enable audit events to Azure Monitor? To enable server audit events to Azure Monitor, please enable its primary database audit events to Azure Monitor.

### Timeouts

The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions:
Expand Down

0 comments on commit 03c8125

Please sign in to comment.