Grafana

class Grafana : KotlinCustomResource

Manages a Dashboard Grafana.

Example Usage

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

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

Properties

Link copied to clipboard
val apiKeyEnabled: Output<Boolean>?

Whether to enable the api key setting of the Grafana instance. Defaults to false.

Link copied to clipboard

Scope for dns deterministic name hash calculation. The only possible value is TenantReuse. Defaults to TenantReuse.

Link copied to clipboard

A azure_monitor_workspace_integrations block as defined below.

Link copied to clipboard

Whether to enable the Grafana instance to use deterministic outbound IPs. Defaults to false.

Link copied to clipboard
val endpoint: Output<String>

The endpoint of the Grafana instance.

Link copied to clipboard
val grafanaVersion: Output<String>

The Grafana software version.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val location: Output<String>

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

Link copied to clipboard
val name: Output<String>

Specifies the name which should be used for this Dashboard Grafana. Changing this forces a new Dashboard Grafana to be created.

Link copied to clipboard
val outboundIps: Output<List<String>>

List of outbound IPs if deterministicOutboundIP is enabled.

Link copied to clipboard

Whether to enable traffic over the public interface. Defaults to true.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Specifies the name of the Resource Group where the Dashboard Grafana should exist. Changing this forces a new Dashboard Grafana to be created.

Link copied to clipboard
val sku: Output<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.

Link copied to clipboard
val tags: Output<Map<String, String>>?

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

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

Whether to enable the zone redundancy setting of the Grafana instance. Defaults to false. Changing this forces a new Dashboard Grafana to be created.