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

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

azure.dashboard.Grafana

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi

    Manages a Dashboard Grafana.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    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,
                grafana_major_version: Optional[str] = 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,
                smtp: Optional[GrafanaSmtpArgs] = 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<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.
    GrafanaMajorVersion string
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    Identity GrafanaIdentity
    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. 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 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.
    GrafanaMajorVersion string
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    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. 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 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<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.
    grafanaMajorVersion String
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    identity GrafanaIdentity
    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. 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 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 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.
    grafanaMajorVersion string
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    identity GrafanaIdentity
    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. 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 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.
    grafana_major_version str
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    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. 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 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.
    grafanaMajorVersion String
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    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. 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 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)
    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<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 string
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    GrafanaVersion string
    The full Grafana software semantic version deployed.
    Identity GrafanaIdentity
    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. 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 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 string
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    GrafanaVersion string
    The full Grafana software semantic version deployed.
    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. 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 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 String
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    grafanaVersion String
    The full Grafana software semantic version deployed.
    identity GrafanaIdentity
    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. 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 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 string
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    grafanaVersion string
    The full Grafana software semantic version deployed.
    identity GrafanaIdentity
    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. 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 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 str
    Which major version of Grafana to deploy. Defaults to 9. 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 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. 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 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 String
    Which major version of Grafana to deploy. Defaults to 9. Possible values are 9, 10. Changing this forces a new resource to be created.
    grafanaVersion String
    The full Grafana software semantic version deployed.
    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. 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 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 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, GrafanaIdentityArgs

    Type string
    Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
    IdentityIds 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 string
    Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
    IdentityIds []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 String
    Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
    identityIds 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 string
    Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
    identityIds 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 str
    Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
    identity_ids 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 String
    Specifies the type of Managed Service Identity. Possible values are SystemAssigned, UserAssigned. Changing this forces a new resource to be created.
    identityIds 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 string
    Address used when sending emails.
    Host string
    SMTP server hostname with port, e.g. test.email.net:587
    Password string
    Password of SMTP authentication. *
    StartTlsPolicy string
    Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
    User 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 string
    Address used when sending emails.
    Host string
    SMTP server hostname with port, e.g. test.email.net:587
    Password string
    Password of SMTP authentication. *
    StartTlsPolicy string
    Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
    User 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 String
    Address used when sending emails.
    host String
    SMTP server hostname with port, e.g. test.email.net:587
    password String
    Password of SMTP authentication. *
    startTlsPolicy String
    Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
    user 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 string
    Address used when sending emails.
    host string
    SMTP server hostname with port, e.g. test.email.net:587
    password string
    Password of SMTP authentication. *
    startTlsPolicy string
    Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
    user 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 str
    Address used when sending emails.
    host str
    SMTP server hostname with port, e.g. test.email.net:587
    password str
    Password of SMTP authentication. *
    start_tls_policy str
    Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
    user 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 String
    Address used when sending emails.
    host String
    SMTP server hostname with port, e.g. test.email.net:587
    password String
    Password of SMTP authentication. *
    startTlsPolicy String
    Whether to use TLS when connecting to SMTP server. Possible values are OpportunisticStartTLS, NoStartTLS, MandatoryStartTLS.
    user 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
    

    Package Details

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

    We recommend using Azure Native.

    Azure Classic v5.67.0 published on Wednesday, Feb 21, 2024 by Pulumi