Microsoft.Dashboard grafana
Bicep resource definition
The grafana resource type can be deployed to:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Dashboard/grafana resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Dashboard/grafana@2022-08-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
name: 'string'
}
identity: {
type: 'string'
userAssignedIdentities: {}
}
properties: {
apiKey: 'string'
autoGeneratedDomainNameLabelScope: 'TenantReuse'
deterministicOutboundIP: 'string'
grafanaIntegrations: {
azureMonitorWorkspaceIntegrations: [
{
azureMonitorWorkspaceResourceId: 'string'
}
]
}
publicNetworkAccess: 'string'
zoneRedundancy: 'string'
}
}
Property values
grafana
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
location | The geo-location where the grafana resource lives | string |
tags | The tags for grafana resource. | Dictionary of tag names and values. See Tags in templates |
sku | The Sku of the grafana resource. | ResourceSku |
identity | The managed identity of the grafana resource. | ManagedServiceIdentity |
properties | Properties specific to the grafana resource. | ManagedGrafanaProperties |
ManagedServiceIdentity
Name | Description | Value |
---|---|---|
type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | object |
ManagedGrafanaProperties
Name | Description | Value |
---|---|---|
apiKey | The api key setting of the Grafana instance. | 'Disabled' 'Enabled' |
autoGeneratedDomainNameLabelScope | Scope for dns deterministic name hash calculation. | 'TenantReuse' |
deterministicOutboundIP | Whether a Grafana instance uses deterministic outbound IPs. | 'Disabled' 'Enabled' |
grafanaIntegrations | GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. | GrafanaIntegrations |
publicNetworkAccess | Indicate the state for enable or disable traffic over the public interface. | 'Disabled' 'Enabled' |
zoneRedundancy | The zone redundancy setting of the Grafana instance. | 'Disabled' 'Enabled' |
GrafanaIntegrations
Name | Description | Value |
---|---|---|
azureMonitorWorkspaceIntegrations | AzureMonitorWorkspaceIntegration[] |
AzureMonitorWorkspaceIntegration
Name | Description | Value |
---|---|---|
azureMonitorWorkspaceResourceId | The resource Id of the connected Azure Monitor Workspace. | string |
ResourceSku
Name | Description | Value |
---|---|---|
name | string (required) |
ARM template resource definition
The grafana resource type can be deployed to:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Dashboard/grafana resource, add the following JSON to your template.
{
"type": "Microsoft.Dashboard/grafana",
"apiVersion": "2022-08-01",
"name": "string",
"location": "string",
"tags": {
"tagName1": "tagValue1",
"tagName2": "tagValue2"
},
"sku": {
"name": "string"
},
"identity": {
"type": "string",
"userAssignedIdentities": {}
},
"properties": {
"apiKey": "string",
"autoGeneratedDomainNameLabelScope": "TenantReuse",
"deterministicOutboundIP": "string",
"grafanaIntegrations": {
"azureMonitorWorkspaceIntegrations": [
{
"azureMonitorWorkspaceResourceId": "string"
}
]
},
"publicNetworkAccess": "string",
"zoneRedundancy": "string"
}
}
Property values
grafana
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Dashboard/grafana' |
apiVersion | The resource api version | '2022-08-01' |
name | The resource name | string (required) |
location | The geo-location where the grafana resource lives | string |
tags | The tags for grafana resource. | Dictionary of tag names and values. See Tags in templates |
sku | The Sku of the grafana resource. | ResourceSku |
identity | The managed identity of the grafana resource. | ManagedServiceIdentity |
properties | Properties specific to the grafana resource. | ManagedGrafanaProperties |
ManagedServiceIdentity
Name | Description | Value |
---|---|---|
type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | 'None' 'SystemAssigned' 'SystemAssigned,UserAssigned' 'UserAssigned' (required) |
userAssignedIdentities | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | object |
ManagedGrafanaProperties
Name | Description | Value |
---|---|---|
apiKey | The api key setting of the Grafana instance. | 'Disabled' 'Enabled' |
autoGeneratedDomainNameLabelScope | Scope for dns deterministic name hash calculation. | 'TenantReuse' |
deterministicOutboundIP | Whether a Grafana instance uses deterministic outbound IPs. | 'Disabled' 'Enabled' |
grafanaIntegrations | GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. | GrafanaIntegrations |
publicNetworkAccess | Indicate the state for enable or disable traffic over the public interface. | 'Disabled' 'Enabled' |
zoneRedundancy | The zone redundancy setting of the Grafana instance. | 'Disabled' 'Enabled' |
GrafanaIntegrations
Name | Description | Value |
---|---|---|
azureMonitorWorkspaceIntegrations | AzureMonitorWorkspaceIntegration[] |
AzureMonitorWorkspaceIntegration
Name | Description | Value |
---|---|---|
azureMonitorWorkspaceResourceId | The resource Id of the connected Azure Monitor Workspace. | string |
ResourceSku
Name | Description | Value |
---|---|---|
name | string (required) |
Terraform (AzAPI provider) resource definition
The grafana resource type can be deployed to:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Dashboard/grafana resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Dashboard/grafana@2022-08-01"
name = "string"
location = "string"
parent_id = "string"
tags = {
tagName1 = "tagValue1"
tagName2 = "tagValue2"
}
identity {
type = "string"
identity_ids = []
}
body = jsonencode({
properties = {
apiKey = "string"
autoGeneratedDomainNameLabelScope = "TenantReuse"
deterministicOutboundIP = "string"
grafanaIntegrations = {
azureMonitorWorkspaceIntegrations = [
{
azureMonitorWorkspaceResourceId = "string"
}
]
}
publicNetworkAccess = "string"
zoneRedundancy = "string"
}
sku = {
name = "string"
}
})
}
Property values
grafana
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.Dashboard/grafana@2022-08-01" |
name | The resource name | string (required) |
location | The geo-location where the grafana resource lives | string |
parent_id | To deploy to a resource group, use the ID of that resource group. | string (required) |
tags | The tags for grafana resource. | Dictionary of tag names and values. |
sku | The Sku of the grafana resource. | ResourceSku |
identity | The managed identity of the grafana resource. | ManagedServiceIdentity |
properties | Properties specific to the grafana resource. | ManagedGrafanaProperties |
ManagedServiceIdentity
Name | Description | Value |
---|---|---|
type | Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). | "SystemAssigned" "SystemAssigned,UserAssigned" "UserAssigned" (required) |
identity_ids | The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. | Array of user identity IDs. |
ManagedGrafanaProperties
Name | Description | Value |
---|---|---|
apiKey | The api key setting of the Grafana instance. | "Disabled" "Enabled" |
autoGeneratedDomainNameLabelScope | Scope for dns deterministic name hash calculation. | "TenantReuse" |
deterministicOutboundIP | Whether a Grafana instance uses deterministic outbound IPs. | "Disabled" "Enabled" |
grafanaIntegrations | GrafanaIntegrations is a bundled observability experience (e.g. pre-configured data source, tailored Grafana dashboards, alerting defaults) for common monitoring scenarios. | GrafanaIntegrations |
publicNetworkAccess | Indicate the state for enable or disable traffic over the public interface. | "Disabled" "Enabled" |
zoneRedundancy | The zone redundancy setting of the Grafana instance. | "Disabled" "Enabled" |
GrafanaIntegrations
Name | Description | Value |
---|---|---|
azureMonitorWorkspaceIntegrations | AzureMonitorWorkspaceIntegration[] |
AzureMonitorWorkspaceIntegration
Name | Description | Value |
---|---|---|
azureMonitorWorkspaceResourceId | The resource Id of the connected Azure Monitor Workspace. | string |
ResourceSku
Name | Description | Value |
---|---|---|
name | string (required) |