You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: website/docs/r/postgresql_server.html.markdown
+18-4
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,6 @@ Manages a PostgreSQL Server.
13
13
## Example Usage
14
14
15
15
```hcl
16
-
provider "azurerm" {
17
-
features {}
18
-
}
19
-
20
16
resource "azurerm_resource_group" "example" {
21
17
name = "example-resources"
22
18
location = "West Europe"
@@ -72,6 +68,8 @@ The following arguments are supported:
72
68
73
69
*`geo_redundant_backup_enabled` - (Optional) Turn Geo-redundant server backups on/off. This allows you to choose between locally redundant or geo-redundant backup storage in the General Purpose and Memory Optimized tiers. When the backups are stored in geo-redundant backup storage, they are not only stored within the region in which your server is hosted, but are also replicated to a paired data center. This provides better protection and ability to restore your server in a different region in the event of a disaster. This is not support for the Basic tier.
74
70
71
+
*`identity` - (Optional) An `identity` block as defined below.
72
+
75
73
*`infrastructure_encryption_enabled` - (Optional) Whether or not infrastructure is encrypted for this server. Defaults to `false`. Changing this forces a new resource to be created.
76
74
77
75
~> **NOTE:** This property is currently still in development and not supported by Microsoft. If the `infrastructure_encryption_enabled` attribute is set to `true` the postgreSQL instance will incur a substantial performance degradation due to a second encryption pass on top of the existing default encryption that is already provided by Azure Storage. It is strongly suggested to leave this value `false` as not doing so can lead to unclear error messages.
@@ -92,6 +90,12 @@ The following arguments are supported:
92
90
93
91
---
94
92
93
+
A `identity` block supports the following:
94
+
95
+
*`type` - (Required) The Type of Identity which should be used for this PostgreSQL Server. At this time the only possible value is `SystemAssigned`.
96
+
97
+
---
98
+
95
99
a `threat_detection_policy` block supports the following:
96
100
97
101
*`enabled` - (Required) Is the policy enabled?
@@ -117,6 +121,16 @@ The following attributes are exported:
117
121
118
122
*`fqdn` - The FQDN of the PostgreSQL Server.
119
123
124
+
*`identity` - An `identity` block as documented below.
125
+
126
+
---
127
+
128
+
A `identity` block exports the following:
129
+
130
+
*`principal_id` - The Client ID of the Service Principal assigned to this PostgreSQL Server.
131
+
132
+
*`tenant_id` - The ID of the Tenant the Service Principal is assigned in.
133
+
120
134
## Timeouts
121
135
122
136
The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/docs/configuration/resources.html#timeouts) for certain actions:
0 commit comments