ResourceGroup
A resource of the Azure provider, version 0.3.0, in its Core group. Import it with:
import ResourceGroup from "azure/core"Example
resource ResourceGroup example {
name = "example-value"
location = "example-value"
tags = "..."
}Properties
Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
name | string | — | No | The name of the resource group. Must be unique within the subscription |
location | string | — | No | The Azure region/location (e.g., eastus, westeurope) |
tags | object | — | No | Tags to apply to the resource group |
Set by Azure after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.
| Name | Type | Importable | Description |
|---|---|---|---|
id | string | Yes | The Azure resource ID of the resource group |
provisioningState | string | No | The provisioning state of the resource group |