1. Packages
  2. Azure Classic
  3. API Docs
  4. dashboard
  5. Grafana

We recommend using Azure Native.

Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi

azure.dashboard.Grafana

Explore with Pulumi AI

Manages a Dashboard Grafana.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = new azure.core.ResourceGroup("example", {
    name: "example-resources",
    location: "West Europe",
});
const exampleGrafana = new azure.dashboard.Grafana("example", {
    name: "example-dg",
    resourceGroupName: example.name,
    location: "West Europe",
    grafanaMajorVersion: "10",
    apiKeyEnabled: true,
    deterministicOutboundIpEnabled: true,
    publicNetworkAccessEnabled: false,
    identity: {
        type: "SystemAssigned",
    },
    tags: {
        key: "value",
    },
});
Copy
import pulumi
import pulumi_azure as azure

example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
example_grafana = azure.dashboard.Grafana("example",
    name="example-dg",
    resource_group_name=example.name,
    location="West Europe",
    grafana_major_version="10",
    api_key_enabled=True,
    deterministic_outbound_ip_enabled=True,
    public_network_access_enabled=False,
    identity={
        "type": "SystemAssigned",
    },
    tags={
        "key": "value",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/dashboard"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = dashboard.NewGrafana(ctx, "example", &dashboard.GrafanaArgs{
			Name:                           pulumi.String("example-dg"),
			ResourceGroupName:              example.Name,
			Location:                       pulumi.String("West Europe"),
			GrafanaMajorVersion:            pulumi.String("10"),
			ApiKeyEnabled:                  pulumi.Bool(true),
			DeterministicOutboundIpEnabled: pulumi.Bool(true),
			PublicNetworkAccessEnabled:     pulumi.Bool(false),
			Identity: &dashboard.GrafanaIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });

    var exampleGrafana = new Azure.Dashboard.Grafana("example", new()
    {
        Name = "example-dg",
        ResourceGroupName = example.Name,
        Location = "West Europe",
        GrafanaMajorVersion = "10",
        ApiKeyEnabled = true,
        DeterministicOutboundIpEnabled = true,
        PublicNetworkAccessEnabled = false,
        Identity = new Azure.Dashboard.Inputs.GrafanaIdentityArgs
        {
            Type = "SystemAssigned",
        },
        Tags = 
        {
            { "key", "value" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.dashboard.Grafana;
import com.pulumi.azure.dashboard.GrafanaArgs;
import com.pulumi.azure.dashboard.inputs.GrafanaIdentityArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());

        var exampleGrafana = new Grafana("exampleGrafana", GrafanaArgs.builder()
            .name("example-dg")
            .resourceGroupName(example.name())
            .location("West Europe")
            .grafanaMajorVersion(10)
            .apiKeyEnabled(true)
            .deterministicOutboundIpEnabled(true)
            .publicNetworkAccessEnabled(false)
            .identity(GrafanaIdentityArgs.builder()
                .type("SystemAssigned")
                .build())
            .tags(Map.of("key", "value"))
            .build());

    }
}
Copy
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleGrafana:
    type: azure:dashboard:Grafana
    name: example
    properties:
      name: example-dg
      resourceGroupName: ${example.name}
      location: West Europe
      grafanaMajorVersion: 10
      apiKeyEnabled: true
      deterministicOutboundIpEnabled: true
      publicNetworkAccessEnabled: false
      identity:
        type: SystemAssigned
      tags:
        key: value
Copy

Create Grafana Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Grafana(name: string, args: GrafanaArgs, opts?: CustomResourceOptions);
@overload
def Grafana(resource_name: str,
            args: GrafanaArgs,
            opts: Optional[ResourceOptions] = None)

@overload
def Grafana(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            grafana_major_version: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            deterministic_outbound_ip_enabled: Optional[bool] = None,
            api_key_enabled: Optional[bool] = None,
            azure_monitor_workspace_integrations: Optional[Sequence[GrafanaAzureMonitorWorkspaceIntegrationArgs]] = None,
            identity: Optional[GrafanaIdentityArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            public_network_access_enabled: Optional[bool] = None,
            auto_generated_domain_name_label_scope: Optional[str] = None,
            sku: Optional[str] = None,
            smtp: Optional[GrafanaSmtpArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            zone_redundancy_enabled: Optional[bool] = None)
func NewGrafana(ctx *Context, name string, args GrafanaArgs, opts ...ResourceOption) (*Grafana, error)
public Grafana(string name, GrafanaArgs args, CustomResourceOptions? opts = null)
public Grafana(String name, GrafanaArgs args)
public Grafana(String name, GrafanaArgs args, CustomResourceOptions options)
type: azure:dashboard:Grafana
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. GrafanaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. GrafanaArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. GrafanaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. GrafanaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. GrafanaArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var grafanaResource = new Azure.Dashboard.Grafana("grafanaResource", new()
{
    GrafanaMajorVersion = "string",
    ResourceGroupName = "string",
    DeterministicOutboundIpEnabled = false,
    ApiKeyEnabled = false,
    AzureMonitorWorkspaceIntegrations = new[]
    {
        new Azure.Dashboard.Inputs.GrafanaAzureMonitorWorkspaceIntegrationArgs
        {
            ResourceId = "string",
        },
    },
    Identity = new Azure.Dashboard.Inputs.GrafanaIdentityArgs
    {
        Type = "string",
        IdentityIds = new[]
        {
            "string",
        },
        PrincipalId = "string",
        TenantId = "string",
    },
    Location = "string",
    Name = "string",
    PublicNetworkAccessEnabled = false,
    AutoGeneratedDomainNameLabelScope = "string",
    Sku = "string",
    Smtp = new Azure.Dashboard.Inputs.GrafanaSmtpArgs
    {
        FromAddress = "string",
        Host = "string",
        Password = "string",
        StartTlsPolicy = "string",
        User = "string",
        Enabled = false,
        FromName = "string",
        VerificationSkipEnabled = false,
    },
    Tags = 
    {
        { "string", "string" },
    },
    ZoneRedundancyEnabled = false,
});
Copy
example, err := dashboard.NewGrafana(ctx, "grafanaResource", &dashboard.GrafanaArgs{
	GrafanaMajorVersion:            pulumi.String("string"),
	ResourceGroupName:              pulumi.String("string"),
	DeterministicOutboundIpEnabled: pulumi.Bool(false),
	ApiKeyEnabled:                  pulumi.Bool(false),
	AzureMonitorWorkspaceIntegrations: dashboard.GrafanaAzureMonitorWorkspaceIntegrationArray{
		&dashboard.GrafanaAzureMonitorWorkspaceIntegrationArgs{
			ResourceId: pulumi.String("string"),
		},
	},
	Identity: &dashboard.GrafanaIdentityArgs{
		Type: pulumi.String("string"),
		IdentityIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		PrincipalId: pulumi.String("string"),
		TenantId:    pulumi.String("string"),
	},
	Location:                          pulumi.String("string"),
	Name:                              pulumi.String("string"),
	PublicNetworkAccessEnabled:        pulumi.Bool(false),
	AutoGeneratedDomainNameLabelScope: pulumi.String("string"),
	Sku:                               pulumi.String("string"),
	Smtp: &dashboard.GrafanaSmtpArgs{
		FromAddress:             pulumi.String("string"),
		Host:                    pulumi.String("string"),
		Password:                pulumi.String("string"),
		StartTlsPolicy:          pulumi.String("string"),
		User:                    pulumi.String("string"),
		Enabled:                 pulumi.Bool(false),
		FromName:                pulumi.String("string"),
		VerificationSkipEnabled: pulumi.Bool(false),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ZoneRedundancyEnabled: pulumi.Bool(false),
})
Copy
var grafanaResource = new Grafana("grafanaResource", GrafanaArgs.builder()
    .grafanaMajorVersion("string")
    .resourceGroupName("string")
    .deterministicOutboundIpEnabled(false)
    .apiKeyEnabled(false)
    .azureMonitorWorkspaceIntegrations(GrafanaAzureMonitorWorkspaceIntegrationArgs.builder()
        .resourceId("string")
        .build())
    .identity(GrafanaIdentityArgs.builder()
        .type("string")
        .identityIds("string")
        .principalId("string")
        .tenantId("string")
        .build())
    .location("string")
    .name("string")
    .publicNetworkAccessEnabled(false)
    .autoGeneratedDomainNameLabelScope("string")
    .sku("string")
    .smtp(GrafanaSmtpArgs.builder()
        .fromAddress("string")
        .host("string")
        .password("string")
        .startTlsPolicy("string")
        .user("string")
        .enabled(false)
        .fromName("string")
        .verificationSkipEnabled(false)
        .build())
    .tags(Map.of("string", "string"))
    .zoneRedundancyEnabled(false)
    .build());
Copy
grafana_resource = azure.dashboard.Grafana("grafanaResource",
    grafana_major_version="string",
    resource_group_name="string",
    deterministic_outbound_ip_enabled=False,
    api_key_enabled=False,
    azure_monitor_workspace_integrations=[{
        "resource_id": "string",
    }],
    identity={
        "type": "string",
        "identity_ids": ["string"],
        "principal_id": "string",
        "tenant_id": "string",
    },
    location="string",
    name="string",
    public_network_access_enabled=False,
    auto_generated_domain_name_label_scope="string",
    sku="string",
    smtp={
        "from_address": "string",
        "host": "string",
        "password": "string",
        "start_tls_policy": "string",
        "user": "string",
        "enabled": False,
        "from_name": "string",
        "verification_skip_enabled": False,
    },
    tags={
        "string": "string",
    },
    zone_redundancy_enabled=False)
Copy
const grafanaResource = new azure.dashboard.Grafana("grafanaResource", {
    grafanaMajorVersion: "string",
    resourceGroupName: "string",
    deterministicOutboundIpEnabled: false,
    apiKeyEnabled: false,
    azureMonitorWorkspaceIntegrations: [{
        resourceId: "string",
    }],
    identity: {
        type: "string",
        identityIds: ["string"],
        principalId: "string",
        tenantId: "string",
    },
    location: "string",
    name: "string",
    publicNetworkAccessEnabled: false,
    autoGeneratedDomainNameLabelScope: "string",
    sku: "string",
    smtp: {
        fromAddress: "string",
        host: "string",
        password: "string",
        startTlsPolicy: "string",
        user: "string",
        enabled: false,
        fromName: "string",
        verificationSkipEnabled: false,
    },
    tags: {
        string: "string",
    },
    zoneRedundancyEnabled: false,
});
Copy
type: azure:dashboard:Grafana
properties:
    apiKeyEnabled: false
    autoGeneratedDomainNameLabelScope: string
    azureMonitorWorkspaceIntegrations:
        - resourceId: string
    deterministicOutboundIpEnabled: false
    grafanaMajorVersion: string
    identity:
        identityIds:
            - string
        principalId: string
        tenantId: string
        type: string
    location: string
    name: string
    publicNetworkAccessEnabled: false
    resourceGroupName: string
    sku: string
    smtp:
        enabled: false
        fromAddress: string
        fromName: string
        host: string
        password: string
        startTlsPolicy: string
        user: string
        verificationSkipEnabled: false
    tags:
        string: string
    zoneRedundancyEnabled: false
Copy

Grafana Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Grafana resource accepts the following input properties:

GrafanaMajorVersion
This property is required.
Changes to this property will trigger replacement.
string
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
ApiKeyEnabled bool
Whether to enable the api key setting of the Grafana instance. Defaults to false.
AutoGeneratedDomainNameLabelScope string
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
AzureMonitorWorkspaceIntegrations List<GrafanaAzureMonitorWorkspaceIntegration>
A azure_monitor_workspace_integrations block as defined below.
DeterministicOutboundIpEnabled bool
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
Identity Changes to this property will trigger replacement. GrafanaIdentity
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
PublicNetworkAccessEnabled bool
Whether to enable traffic over the public interface. Defaults to true.
Sku Changes to this property will trigger replacement. string
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
Smtp GrafanaSmtp
A smtp block as defined below.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the Dashboard Grafana.
ZoneRedundancyEnabled Changes to this property will trigger replacement. bool
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
GrafanaMajorVersion
This property is required.
Changes to this property will trigger replacement.
string
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
ApiKeyEnabled bool
Whether to enable the api key setting of the Grafana instance. Defaults to false.
AutoGeneratedDomainNameLabelScope string
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
AzureMonitorWorkspaceIntegrations []GrafanaAzureMonitorWorkspaceIntegrationArgs
A azure_monitor_workspace_integrations block as defined below.
DeterministicOutboundIpEnabled bool
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
Identity Changes to this property will trigger replacement. GrafanaIdentityArgs
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
PublicNetworkAccessEnabled bool
Whether to enable traffic over the public interface. Defaults to true.
Sku Changes to this property will trigger replacement. string
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
Smtp GrafanaSmtpArgs
A smtp block as defined below.
Tags map[string]string
A mapping of tags which should be assigned to the Dashboard Grafana.
ZoneRedundancyEnabled Changes to this property will trigger replacement. bool
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
grafanaMajorVersion
This property is required.
Changes to this property will trigger replacement.
String
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
apiKeyEnabled Boolean
Whether to enable the api key setting of the Grafana instance. Defaults to false.
autoGeneratedDomainNameLabelScope String
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azureMonitorWorkspaceIntegrations List<GrafanaAzureMonitorWorkspaceIntegration>
A azure_monitor_workspace_integrations block as defined below.
deterministicOutboundIpEnabled Boolean
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
identity Changes to this property will trigger replacement. GrafanaIdentity
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
publicNetworkAccessEnabled Boolean
Whether to enable traffic over the public interface. Defaults to true.
sku Changes to this property will trigger replacement. String
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp GrafanaSmtp
A smtp block as defined below.
tags Map<String,String>
A mapping of tags which should be assigned to the Dashboard Grafana.
zoneRedundancyEnabled Changes to this property will trigger replacement. Boolean
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
grafanaMajorVersion
This property is required.
Changes to this property will trigger replacement.
string
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
apiKeyEnabled boolean
Whether to enable the api key setting of the Grafana instance. Defaults to false.
autoGeneratedDomainNameLabelScope string
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azureMonitorWorkspaceIntegrations GrafanaAzureMonitorWorkspaceIntegration[]
A azure_monitor_workspace_integrations block as defined below.
deterministicOutboundIpEnabled boolean
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
identity Changes to this property will trigger replacement. GrafanaIdentity
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
publicNetworkAccessEnabled boolean
Whether to enable traffic over the public interface. Defaults to true.
sku Changes to this property will trigger replacement. string
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp GrafanaSmtp
A smtp block as defined below.
tags {[key: string]: string}
A mapping of tags which should be assigned to the Dashboard Grafana.
zoneRedundancyEnabled Changes to this property will trigger replacement. boolean
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
grafana_major_version
This property is required.
Changes to this property will trigger replacement.
str
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
api_key_enabled bool
Whether to enable the api key setting of the Grafana instance. Defaults to false.
auto_generated_domain_name_label_scope str
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azure_monitor_workspace_integrations Sequence[GrafanaAzureMonitorWorkspaceIntegrationArgs]
A azure_monitor_workspace_integrations block as defined below.
deterministic_outbound_ip_enabled bool
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
identity Changes to this property will trigger replacement. GrafanaIdentityArgs
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. str
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. str
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
public_network_access_enabled bool
Whether to enable traffic over the public interface. Defaults to true.
sku Changes to this property will trigger replacement. str
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp GrafanaSmtpArgs
A smtp block as defined below.
tags Mapping[str, str]
A mapping of tags which should be assigned to the Dashboard Grafana.
zone_redundancy_enabled Changes to this property will trigger replacement. bool
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
grafanaMajorVersion
This property is required.
Changes to this property will trigger replacement.
String
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
apiKeyEnabled Boolean
Whether to enable the api key setting of the Grafana instance. Defaults to false.
autoGeneratedDomainNameLabelScope String
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azureMonitorWorkspaceIntegrations List<Property Map>
A azure_monitor_workspace_integrations block as defined below.
deterministicOutboundIpEnabled Boolean
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
identity Changes to this property will trigger replacement. Property Map
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
publicNetworkAccessEnabled Boolean
Whether to enable traffic over the public interface. Defaults to true.
sku Changes to this property will trigger replacement. String
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp Property Map
A smtp block as defined below.
tags Map<String>
A mapping of tags which should be assigned to the Dashboard Grafana.
zoneRedundancyEnabled Changes to this property will trigger replacement. Boolean
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.

Outputs

All input properties are implicitly available as output properties. Additionally, the Grafana resource produces the following output properties:

Endpoint string
The endpoint of the Grafana instance.
GrafanaVersion string
The full Grafana software semantic version deployed.
Id string
The provider-assigned unique ID for this managed resource.
OutboundIps List<string>
List of outbound IPs if deterministicOutboundIP is enabled.
Endpoint string
The endpoint of the Grafana instance.
GrafanaVersion string
The full Grafana software semantic version deployed.
Id string
The provider-assigned unique ID for this managed resource.
OutboundIps []string
List of outbound IPs if deterministicOutboundIP is enabled.
endpoint String
The endpoint of the Grafana instance.
grafanaVersion String
The full Grafana software semantic version deployed.
id String
The provider-assigned unique ID for this managed resource.
outboundIps List<String>
List of outbound IPs if deterministicOutboundIP is enabled.
endpoint string
The endpoint of the Grafana instance.
grafanaVersion string
The full Grafana software semantic version deployed.
id string
The provider-assigned unique ID for this managed resource.
outboundIps string[]
List of outbound IPs if deterministicOutboundIP is enabled.
endpoint str
The endpoint of the Grafana instance.
grafana_version str
The full Grafana software semantic version deployed.
id str
The provider-assigned unique ID for this managed resource.
outbound_ips Sequence[str]
List of outbound IPs if deterministicOutboundIP is enabled.
endpoint String
The endpoint of the Grafana instance.
grafanaVersion String
The full Grafana software semantic version deployed.
id String
The provider-assigned unique ID for this managed resource.
outboundIps List<String>
List of outbound IPs if deterministicOutboundIP is enabled.

Look up Existing Grafana Resource

Get an existing Grafana resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: GrafanaState, opts?: CustomResourceOptions): Grafana
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_key_enabled: Optional[bool] = None,
        auto_generated_domain_name_label_scope: Optional[str] = None,
        azure_monitor_workspace_integrations: Optional[Sequence[GrafanaAzureMonitorWorkspaceIntegrationArgs]] = None,
        deterministic_outbound_ip_enabled: Optional[bool] = None,
        endpoint: Optional[str] = None,
        grafana_major_version: Optional[str] = None,
        grafana_version: Optional[str] = None,
        identity: Optional[GrafanaIdentityArgs] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        outbound_ips: Optional[Sequence[str]] = None,
        public_network_access_enabled: Optional[bool] = None,
        resource_group_name: Optional[str] = None,
        sku: Optional[str] = None,
        smtp: Optional[GrafanaSmtpArgs] = None,
        tags: Optional[Mapping[str, str]] = None,
        zone_redundancy_enabled: Optional[bool] = None) -> Grafana
func GetGrafana(ctx *Context, name string, id IDInput, state *GrafanaState, opts ...ResourceOption) (*Grafana, error)
public static Grafana Get(string name, Input<string> id, GrafanaState? state, CustomResourceOptions? opts = null)
public static Grafana get(String name, Output<String> id, GrafanaState state, CustomResourceOptions options)
resources:  _:    type: azure:dashboard:Grafana    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ApiKeyEnabled bool
Whether to enable the api key setting of the Grafana instance. Defaults to false.
AutoGeneratedDomainNameLabelScope string
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
AzureMonitorWorkspaceIntegrations List<GrafanaAzureMonitorWorkspaceIntegration>
A azure_monitor_workspace_integrations block as defined below.
DeterministicOutboundIpEnabled bool
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
Endpoint string
The endpoint of the Grafana instance.
GrafanaMajorVersion Changes to this property will trigger replacement. string
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
GrafanaVersion string
The full Grafana software semantic version deployed.
Identity Changes to this property will trigger replacement. GrafanaIdentity
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
OutboundIps List<string>
List of outbound IPs if deterministicOutboundIP is enabled.
PublicNetworkAccessEnabled bool
Whether to enable traffic over the public interface. Defaults to true.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
Sku Changes to this property will trigger replacement. string
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
Smtp GrafanaSmtp
A smtp block as defined below.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the Dashboard Grafana.
ZoneRedundancyEnabled Changes to this property will trigger replacement. bool
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
ApiKeyEnabled bool
Whether to enable the api key setting of the Grafana instance. Defaults to false.
AutoGeneratedDomainNameLabelScope string
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
AzureMonitorWorkspaceIntegrations []GrafanaAzureMonitorWorkspaceIntegrationArgs
A azure_monitor_workspace_integrations block as defined below.
DeterministicOutboundIpEnabled bool
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
Endpoint string
The endpoint of the Grafana instance.
GrafanaMajorVersion Changes to this property will trigger replacement. string
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
GrafanaVersion string
The full Grafana software semantic version deployed.
Identity Changes to this property will trigger replacement. GrafanaIdentityArgs
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
OutboundIps []string
List of outbound IPs if deterministicOutboundIP is enabled.
PublicNetworkAccessEnabled bool
Whether to enable traffic over the public interface. Defaults to true.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
Sku Changes to this property will trigger replacement. string
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
Smtp GrafanaSmtpArgs
A smtp block as defined below.
Tags map[string]string
A mapping of tags which should be assigned to the Dashboard Grafana.
ZoneRedundancyEnabled Changes to this property will trigger replacement. bool
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
apiKeyEnabled Boolean
Whether to enable the api key setting of the Grafana instance. Defaults to false.
autoGeneratedDomainNameLabelScope String
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azureMonitorWorkspaceIntegrations List<GrafanaAzureMonitorWorkspaceIntegration>
A azure_monitor_workspace_integrations block as defined below.
deterministicOutboundIpEnabled Boolean
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
endpoint String
The endpoint of the Grafana instance.
grafanaMajorVersion Changes to this property will trigger replacement. String
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
grafanaVersion String
The full Grafana software semantic version deployed.
identity Changes to this property will trigger replacement. GrafanaIdentity
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
outboundIps List<String>
List of outbound IPs if deterministicOutboundIP is enabled.
publicNetworkAccessEnabled Boolean
Whether to enable traffic over the public interface. Defaults to true.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
sku Changes to this property will trigger replacement. String
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp GrafanaSmtp
A smtp block as defined below.
tags Map<String,String>
A mapping of tags which should be assigned to the Dashboard Grafana.
zoneRedundancyEnabled Changes to this property will trigger replacement. Boolean
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
apiKeyEnabled boolean
Whether to enable the api key setting of the Grafana instance. Defaults to false.
autoGeneratedDomainNameLabelScope string
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azureMonitorWorkspaceIntegrations GrafanaAzureMonitorWorkspaceIntegration[]
A azure_monitor_workspace_integrations block as defined below.
deterministicOutboundIpEnabled boolean
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
endpoint string
The endpoint of the Grafana instance.
grafanaMajorVersion Changes to this property will trigger replacement. string
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
grafanaVersion string
The full Grafana software semantic version deployed.
identity Changes to this property will trigger replacement. GrafanaIdentity
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
outboundIps string[]
List of outbound IPs if deterministicOutboundIP is enabled.
publicNetworkAccessEnabled boolean
Whether to enable traffic over the public interface. Defaults to true.
resourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
sku Changes to this property will trigger replacement. string
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp GrafanaSmtp
A smtp block as defined below.
tags {[key: string]: string}
A mapping of tags which should be assigned to the Dashboard Grafana.
zoneRedundancyEnabled Changes to this property will trigger replacement. boolean
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
api_key_enabled bool
Whether to enable the api key setting of the Grafana instance. Defaults to false.
auto_generated_domain_name_label_scope str
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azure_monitor_workspace_integrations Sequence[GrafanaAzureMonitorWorkspaceIntegrationArgs]
A azure_monitor_workspace_integrations block as defined below.
deterministic_outbound_ip_enabled bool
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
endpoint str
The endpoint of the Grafana instance.
grafana_major_version Changes to this property will trigger replacement. str
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
grafana_version str
The full Grafana software semantic version deployed.
identity Changes to this property will trigger replacement. GrafanaIdentityArgs
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. str
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. str
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
outbound_ips Sequence[str]
List of outbound IPs if deterministicOutboundIP is enabled.
public_network_access_enabled bool
Whether to enable traffic over the public interface. Defaults to true.
resource_group_name Changes to this property will trigger replacement. str
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
sku Changes to this property will trigger replacement. str
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp GrafanaSmtpArgs
A smtp block as defined below.
tags Mapping[str, str]
A mapping of tags which should be assigned to the Dashboard Grafana.
zone_redundancy_enabled Changes to this property will trigger replacement. bool
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.
apiKeyEnabled Boolean
Whether to enable the api key setting of the Grafana instance. Defaults to false.
autoGeneratedDomainNameLabelScope String
Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.
azureMonitorWorkspaceIntegrations List<Property Map>
A azure_monitor_workspace_integrations block as defined below.
deterministicOutboundIpEnabled Boolean
Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.
endpoint String
The endpoint of the Grafana instance.
grafanaMajorVersion Changes to this property will trigger replacement. String
Which major version of Grafana to deploy. Possible values are 9, 10. Changing this forces a new resource to be created.
grafanaVersion String
The full Grafana software semantic version deployed.
identity Changes to this property will trigger replacement. Property Map
An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.
outboundIps List<String>
List of outbound IPs if deterministicOutboundIP is enabled.
publicNetworkAccessEnabled Boolean
Whether to enable traffic over the public interface. Defaults to true.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.
sku Changes to this property will trigger replacement. String
The name of the SKU used for the Grafana instance. Possible values are Standard and Essential. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.
smtp Property Map
A smtp block as defined below.
tags Map<String>
A mapping of tags which should be assigned to the Dashboard Grafana.
zoneRedundancyEnabled Changes to this property will trigger replacement. Boolean
Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.

Supporting Types

GrafanaAzureMonitorWorkspaceIntegration
, GrafanaAzureMonitorWorkspaceIntegrationArgs

ResourceId This property is required. string
Specifies the resource ID of the connected Azure Monitor Workspace.
ResourceId This property is required. string
Specifies the resource ID of the connected Azure Monitor Workspace.
resourceId This property is required. String
Specifies the resource ID of the connected Azure Monitor Workspace.
resourceId This property is required. string
Specifies the resource ID of the connected Azure Monitor Workspace.
resource_id This property is required. str
Specifies the resource ID of the connected Azure Monitor Workspace.
resourceId This property is required. String
Specifies the resource ID of the connected Azure Monitor Workspace.

GrafanaIdentity
, GrafanaIdentityArgs

Type
This property is required.
Changes to this property will trigger replacement.
string
Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
IdentityIds Changes to this property will trigger replacement. List<string>
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
PrincipalId string
The Principal ID associated with this Managed Service Identity.
TenantId string
The Tenant ID associated with this Managed Service Identity.
Type
This property is required.
Changes to this property will trigger replacement.
string
Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
IdentityIds Changes to this property will trigger replacement. []string
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
PrincipalId string
The Principal ID associated with this Managed Service Identity.
TenantId string
The Tenant ID associated with this Managed Service Identity.
type
This property is required.
Changes to this property will trigger replacement.
String
Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
identityIds Changes to this property will trigger replacement. List<String>
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
principalId String
The Principal ID associated with this Managed Service Identity.
tenantId String
The Tenant ID associated with this Managed Service Identity.
type
This property is required.
Changes to this property will trigger replacement.
string
Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
identityIds Changes to this property will trigger replacement. string[]
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
principalId string
The Principal ID associated with this Managed Service Identity.
tenantId string
The Tenant ID associated with this Managed Service Identity.
type
This property is required.
Changes to this property will trigger replacement.
str
Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
identity_ids Changes to this property will trigger replacement. Sequence[str]
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
principal_id str
The Principal ID associated with this Managed Service Identity.
tenant_id str
The Tenant ID associated with this Managed Service Identity.
type
This property is required.
Changes to this property will trigger replacement.
String
Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
identityIds Changes to this property will trigger replacement. List<String>
Specifies the list of User Assigned Managed Service Identity IDs which should be assigned to this Dashboard Grafana. Changing this forces a new resource to be created.
principalId String
The Principal ID associated with this Managed Service Identity.
tenantId String
The Tenant ID associated with this Managed Service Identity.

GrafanaSmtp
, GrafanaSmtpArgs

FromAddress This property is required. string
Address used when sending emails.
Host This property is required. string
SMTP server hostname with port, e.g. test.email.net:587
Password This property is required. string
Password of SMTP authentication.
StartTlsPolicy This property is required. string
Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
User This property is required. string
User of SMTP authentication.
Enabled bool
Whether to enable the smtp setting of the Grafana instance. Defaults to false.
FromName string
Name used when sending emails. Defaults to Azure Managed Grafana Notification.
VerificationSkipEnabled bool
Whether verify SSL for SMTP server. Defaults to false.
FromAddress This property is required. string
Address used when sending emails.
Host This property is required. string
SMTP server hostname with port, e.g. test.email.net:587
Password This property is required. string
Password of SMTP authentication.
StartTlsPolicy This property is required. string
Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
User This property is required. string
User of SMTP authentication.
Enabled bool
Whether to enable the smtp setting of the Grafana instance. Defaults to false.
FromName string
Name used when sending emails. Defaults to Azure Managed Grafana Notification.
VerificationSkipEnabled bool
Whether verify SSL for SMTP server. Defaults to false.
fromAddress This property is required. String
Address used when sending emails.
host This property is required. String
SMTP server hostname with port, e.g. test.email.net:587
password This property is required. String
Password of SMTP authentication.
startTlsPolicy This property is required. String
Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
user This property is required. String
User of SMTP authentication.
enabled Boolean
Whether to enable the smtp setting of the Grafana instance. Defaults to false.
fromName String
Name used when sending emails. Defaults to Azure Managed Grafana Notification.
verificationSkipEnabled Boolean
Whether verify SSL for SMTP server. Defaults to false.
fromAddress This property is required. string
Address used when sending emails.
host This property is required. string
SMTP server hostname with port, e.g. test.email.net:587
password This property is required. string
Password of SMTP authentication.
startTlsPolicy This property is required. string
Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
user This property is required. string
User of SMTP authentication.
enabled boolean
Whether to enable the smtp setting of the Grafana instance. Defaults to false.
fromName string
Name used when sending emails. Defaults to Azure Managed Grafana Notification.
verificationSkipEnabled boolean
Whether verify SSL for SMTP server. Defaults to false.
from_address This property is required. str
Address used when sending emails.
host This property is required. str
SMTP server hostname with port, e.g. test.email.net:587
password This property is required. str
Password of SMTP authentication.
start_tls_policy This property is required. str
Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
user This property is required. str
User of SMTP authentication.
enabled bool
Whether to enable the smtp setting of the Grafana instance. Defaults to false.
from_name str
Name used when sending emails. Defaults to Azure Managed Grafana Notification.
verification_skip_enabled bool
Whether verify SSL for SMTP server. Defaults to false.
fromAddress This property is required. String
Address used when sending emails.
host This property is required. String
SMTP server hostname with port, e.g. test.email.net:587
password This property is required. String
Password of SMTP authentication.
startTlsPolicy This property is required. String
Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
user This property is required. String
User of SMTP authentication.
enabled Boolean
Whether to enable the smtp setting of the Grafana instance. Defaults to false.
fromName String
Name used when sending emails. Defaults to Azure Managed Grafana Notification.
verificationSkipEnabled Boolean
Whether verify SSL for SMTP server. Defaults to false.

Import

Dashboard Grafana can be imported using the resource id, e.g.

$ pulumi import azure:dashboard/grafana:Grafana example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Dashboard/grafana/workspace1
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.