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/sql_managed_instance.html.markdown
+16
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,8 @@ The following arguments are supported:
237
237
238
238
*`dns_zone_partner_id` - (Optional) The ID of the Managed Instance which will share the DNS zone. This is a prerequisite for creating a failover group, although creation of a failover group is not yet possible in `azurerm`. Setting this after creation forces a new resource to be created.
239
239
240
+
*`identity` - (Optional) An `identity` block as defined below.
241
+
240
242
*`tags` - (Optional) A mapping of tags to assign to the resource.
241
243
242
244
---
@@ -245,6 +247,12 @@ A `sku` block supports the following:
245
247
246
248
*`name` - (Required) Sku of the managed instance. Values can be `GP_Gen4`, `GP_Gen5`, `BC_Gen4`, or `BC_Gen5`.
247
249
250
+
---
251
+
252
+
An `identity` block supports the following:
253
+
254
+
*`type` - (Required) The identity type of the SQL Managed Instance. Only possible values is `SystemAssigned`.
255
+
248
256
## Attributes Reference
249
257
250
258
The following attributes are exported:
@@ -253,6 +261,14 @@ The following attributes are exported:
253
261
254
262
*`fqdn` - The fully qualified domain name of the Azure Managed SQL Instance
255
263
264
+
---
265
+
266
+
The `identity` block exports the following:
267
+
268
+
*`principal_id` - The Principal ID for the Service Principal associated with the Identity of this SQL Managed Instance.
269
+
270
+
*`tenant_id` - The Tenant ID for the Service Principal associated with the Identity of this SQL Managed Instance.
271
+
256
272
## Import
257
273
258
274
SQL Servers can be imported using the `resource id`, e.g.
0 commit comments