Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The grafana resource type can be deployed with operations that target:
- 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@2021-09-01-preview' = {
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
autoGeneratedDomainNameLabelScope: 'string'
provisioningState: 'string'
zoneRedundancy: 'string'
}
sku: {
name: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Dashboard/grafana
Name | Description | Value |
---|---|---|
identity | The managed identity of the grafana resource. | ManagedIdentity |
location | The geo-location where the grafana resource lives | string |
name | The resource name | string (required) |
properties | Properties specific to the grafana resource. | ManagedGrafanaProperties |
sku | The Sku of the grafana resource. | ResourceSku |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ManagedGrafanaProperties
Name | Description | Value |
---|---|---|
autoGeneratedDomainNameLabelScope | 'TenantReuse' | |
provisioningState | Provisioning state of the resource. | 'Accepted' 'Canceled' 'Creating' 'Deleted' 'Deleting' 'Failed' 'NotSpecified' 'Succeeded' 'Updating' |
zoneRedundancy | 'Disabled' 'Enabled' |
ManagedGrafanaTags
Name | Description | Value |
---|
ManagedIdentity
Name | Description | Value |
---|---|---|
type | The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. | 'None' 'SystemAssigned' |
userAssignedIdentities | Dictionary of user assigned identities. | ManagedIdentityUserAssignedIdentities |
ManagedIdentityUserAssignedIdentities
Name | Description | Value |
---|
ResourceSku
Name | Description | Value |
---|---|---|
name | string (required) |
UserAssignedIdentity
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Samples
The following Azure Quickstart templates contain Bicep samples for deploying this resource type.
Bicep File | Description |
---|---|
Create AKS with Prometheus and Grafana with privae link | This will create an Azure grafana, AKS and install Prometheus, an open-source monitoring and alerting toolkit, on an Azure Kubernetes Service (AKS) cluster. Then you use Azure Managed Grafana's managed private endpoint to connect to this Prometheus server and display the Prometheus data in a Grafana dashboard |
ARM template resource definition
The grafana resource type can be deployed with operations that target:
- 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": "2021-09-01-preview",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"autoGeneratedDomainNameLabelScope": "string",
"provisioningState": "string",
"zoneRedundancy": "string"
},
"sku": {
"name": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Dashboard/grafana
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-09-01-preview' |
identity | The managed identity of the grafana resource. | ManagedIdentity |
location | The geo-location where the grafana resource lives | string |
name | The resource name | string (required) |
properties | Properties specific to the grafana resource. | ManagedGrafanaProperties |
sku | The Sku of the grafana resource. | ResourceSku |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.Dashboard/grafana' |
ManagedGrafanaProperties
Name | Description | Value |
---|---|---|
autoGeneratedDomainNameLabelScope | 'TenantReuse' | |
provisioningState | Provisioning state of the resource. | 'Accepted' 'Canceled' 'Creating' 'Deleted' 'Deleting' 'Failed' 'NotSpecified' 'Succeeded' 'Updating' |
zoneRedundancy | 'Disabled' 'Enabled' |
ManagedGrafanaTags
Name | Description | Value |
---|
ManagedIdentity
Name | Description | Value |
---|---|---|
type | The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. | 'None' 'SystemAssigned' |
userAssignedIdentities | Dictionary of user assigned identities. | ManagedIdentityUserAssignedIdentities |
ManagedIdentityUserAssignedIdentities
Name | Description | Value |
---|
ResourceSku
Name | Description | Value |
---|---|---|
name | string (required) |
UserAssignedIdentity
Name | Description | Value |
---|
Usage Examples
Azure Quickstart Templates
The following Azure Quickstart templates deploy this resource type.
Template | Description |
---|---|
Create AKS with Prometheus and Grafana with privae link |
This will create an Azure grafana, AKS and install Prometheus, an open-source monitoring and alerting toolkit, on an Azure Kubernetes Service (AKS) cluster. Then you use Azure Managed Grafana's managed private endpoint to connect to this Prometheus server and display the Prometheus data in a Grafana dashboard |
Terraform (AzAPI provider) resource definition
The grafana resource type can be deployed with operations that target:
- 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@2021-09-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
autoGeneratedDomainNameLabelScope = "string"
provisioningState = "string"
zoneRedundancy = "string"
}
sku = {
name = "string"
}
}
}
Property Values
Microsoft.Dashboard/grafana
Name | Description | Value |
---|---|---|
identity | The managed identity of the grafana resource. | ManagedIdentity |
location | The geo-location where the grafana resource lives | string |
name | The resource name | string (required) |
properties | Properties specific to the grafana resource. | ManagedGrafanaProperties |
sku | The Sku of the grafana resource. | ResourceSku |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.Dashboard/grafana@2021-09-01-preview" |
ManagedGrafanaProperties
Name | Description | Value |
---|---|---|
autoGeneratedDomainNameLabelScope | 'TenantReuse' | |
provisioningState | Provisioning state of the resource. | 'Accepted' 'Canceled' 'Creating' 'Deleted' 'Deleting' 'Failed' 'NotSpecified' 'Succeeded' 'Updating' |
zoneRedundancy | 'Disabled' 'Enabled' |
ManagedGrafanaTags
Name | Description | Value |
---|
ManagedIdentity
Name | Description | Value |
---|---|---|
type | The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. | 'None' 'SystemAssigned' |
userAssignedIdentities | Dictionary of user assigned identities. | ManagedIdentityUserAssignedIdentities |
ManagedIdentityUserAssignedIdentities
Name | Description | Value |
---|
ResourceSku
Name | Description | Value |
---|---|---|
name | string (required) |
UserAssignedIdentity
Name | Description | Value |
---|