azure logo
Azure Classic v5.38.0, Mar 21 23

azure.dashboard.Grafana

Manages a Dashboard Grafana.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

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

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

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = dashboard.NewGrafana(ctx, "exampleGrafana", &dashboard.GrafanaArgs{
			ResourceGroupName:              exampleResourceGroup.Name,
			Location:                       pulumi.String("West Europe"),
			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
	})
}
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

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

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_grafana = azure.dashboard.Grafana("exampleGrafana",
    resource_group_name=example_resource_group.name,
    location="West Europe",
    api_key_enabled=True,
    deterministic_outbound_ip_enabled=True,
    public_network_access_enabled=False,
    identity=azure.dashboard.GrafanaIdentityArgs(
        type="SystemAssigned",
    ),
    tags={
        "key": "value",
    })
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleGrafana = new azure.dashboard.Grafana("exampleGrafana", {
    resourceGroupName: exampleResourceGroup.name,
    location: "West Europe",
    apiKeyEnabled: true,
    deterministicOutboundIpEnabled: true,
    publicNetworkAccessEnabled: false,
    identity: {
        type: "SystemAssigned",
    },
    tags: {
        key: "value",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleGrafana:
    type: azure:dashboard:Grafana
    properties:
      resourceGroupName: ${exampleResourceGroup.name}
      location: West Europe
      apiKeyEnabled: true
      deterministicOutboundIpEnabled: true
      publicNetworkAccessEnabled: false
      identity:
        type: SystemAssigned
      tags:
        key: value

Create Grafana Resource

new Grafana(name: string, args: GrafanaArgs, opts?: CustomResourceOptions);
@overload
def Grafana(resource_name: 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,
            identity: Optional[GrafanaIdentityArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            public_network_access_enabled: Optional[bool] = None,
            resource_group_name: Optional[str] = None,
            sku: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            zone_redundancy_enabled: Optional[bool] = None)
@overload
def Grafana(resource_name: str,
            args: GrafanaArgs,
            opts: Optional[ResourceOptions] = 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.

name string
The unique name of the resource.
args GrafanaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args 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 string
The unique name of the resource.
args GrafanaArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GrafanaArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args GrafanaArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

The Grafana resource accepts the following input properties:

ResourceGroupName 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<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 GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

Location string

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

Name 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 string

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Dashboard Grafana.

ZoneRedundancyEnabled 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.

ResourceGroupName 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 GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

Location string

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

Name 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 string

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

Tags map[string]string

A mapping of tags which should be assigned to the Dashboard Grafana.

ZoneRedundancyEnabled 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.

resourceGroupName 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<GrafanaAzureMonitorWorkspaceIntegrationArgs>

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 GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location String

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 String

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags Map<String,String>

A mapping of tags which should be assigned to the Dashboard Grafana.

zoneRedundancyEnabled 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.

resourceGroupName 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 GrafanaAzureMonitorWorkspaceIntegrationArgs[]

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 GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location string

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 string

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Dashboard Grafana.

zoneRedundancyEnabled 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.

resource_group_name 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 GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location str

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 str

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Dashboard Grafana.

zone_redundancy_enabled 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.

resourceGroupName 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 Property Map

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location String

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 String

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags Map<String>

A mapping of tags which should be assigned to the Dashboard Grafana.

zoneRedundancyEnabled 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 Grafana software version.

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 Grafana software version.

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 Grafana software version.

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 Grafana software version.

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 Grafana software version.

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 Grafana software version.

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_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,
        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)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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<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.

GrafanaVersion string

The Grafana software version.

Identity GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

Location string

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

Name 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 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 string

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

Tags Dictionary<string, string>

A mapping of tags which should be assigned to the Dashboard Grafana.

ZoneRedundancyEnabled 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.

GrafanaVersion string

The Grafana software version.

Identity GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

Location string

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

Name 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 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 string

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

Tags map[string]string

A mapping of tags which should be assigned to the Dashboard Grafana.

ZoneRedundancyEnabled 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<GrafanaAzureMonitorWorkspaceIntegrationArgs>

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.

grafanaVersion String

The Grafana software version.

identity GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location String

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 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 String

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags Map<String,String>

A mapping of tags which should be assigned to the Dashboard Grafana.

zoneRedundancyEnabled 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 GrafanaAzureMonitorWorkspaceIntegrationArgs[]

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.

grafanaVersion string

The Grafana software version.

identity GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location string

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 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 string

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags {[key: string]: string}

A mapping of tags which should be assigned to the Dashboard Grafana.

zoneRedundancyEnabled 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_version str

The Grafana software version.

identity GrafanaIdentityArgs

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location str

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 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 str

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags Mapping[str, str]

A mapping of tags which should be assigned to the Dashboard Grafana.

zone_redundancy_enabled 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.

grafanaVersion String

The Grafana software version.

identity Property Map

An identity block as defined below. Changing this forces a new Dashboard Grafana to be created.

location String

Specifies the Azure Region where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

name 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 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 String

The name of the SKU used for the Grafana instance. The only possible value is Standard. Defaults to Standard. Changing this forces a new Dashboard Grafana to be created.

tags Map<String>

A mapping of tags which should be assigned to the Dashboard Grafana.

zoneRedundancyEnabled 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

ResourceId string

Specifies the resource ID of the connected Azure Monitor Workspace.

ResourceId string

Specifies the resource ID of the connected Azure Monitor Workspace.

resourceId String

Specifies the resource ID of the connected Azure Monitor Workspace.

resourceId string

Specifies the resource ID of the connected Azure Monitor Workspace.

resource_id str

Specifies the resource ID of the connected Azure Monitor Workspace.

resourceId String

Specifies the resource ID of the connected Azure Monitor Workspace.

GrafanaIdentity

Type string

Specifies the type of Managed Service Identity. The only possible values is SystemAssigned. 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 string

Specifies the type of Managed Service Identity. The only possible values is SystemAssigned. 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 String

Specifies the type of Managed Service Identity. The only possible values is SystemAssigned. 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 string

Specifies the type of Managed Service Identity. The only possible values is SystemAssigned. 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 str

Specifies the type of Managed Service Identity. The only possible values is SystemAssigned. 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 String

Specifies the type of Managed Service Identity. The only possible values is SystemAssigned. 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.

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

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.