Grafana Args
data class GrafanaArgs(val apiKeyEnabled: Output<Boolean>? = null, val autoGeneratedDomainNameLabelScope: Output<String>? = null, val azureMonitorWorkspaceIntegrations: Output<List<GrafanaAzureMonitorWorkspaceIntegrationArgs>>? = null, val deterministicOutboundIpEnabled: Output<Boolean>? = null, val identity: Output<GrafanaIdentityArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val publicNetworkAccessEnabled: Output<Boolean>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val zoneRedundancyEnabled: Output<Boolean>? = null) : ConvertibleToJava<GrafanaArgs>
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Constructors
Link copied to clipboard
fun GrafanaArgs(apiKeyEnabled: Output<Boolean>? = null, autoGeneratedDomainNameLabelScope: Output<String>? = null, azureMonitorWorkspaceIntegrations: Output<List<GrafanaAzureMonitorWorkspaceIntegrationArgs>>? = null, deterministicOutboundIpEnabled: Output<Boolean>? = null, identity: Output<GrafanaIdentityArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, publicNetworkAccessEnabled: Output<Boolean>? = null, resourceGroupName: Output<String>? = null, sku: Output<String>? = null, tags: Output<Map<String, String>>? = null, zoneRedundancyEnabled: Output<Boolean>? = null)
Functions
Properties
Link copied to clipboard
val azureMonitorWorkspaceIntegrations: Output<List<GrafanaAzureMonitorWorkspaceIntegrationArgs>>? = null