UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

86 lines (85 loc) 2.94 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The grafana resource type. * * Uses Azure REST API version 2024-10-01. * * Other available API versions: 2022-08-01, 2022-10-01-preview, 2023-09-01, 2023-10-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dashboard [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGrafana(args: GetGrafanaArgs, opts?: pulumi.InvokeOptions): Promise<GetGrafanaResult>; export interface GetGrafanaArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The workspace name of Azure Managed Grafana. */ workspaceName: string; } /** * The grafana resource type. */ export interface GetGrafanaResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * ARM id of the grafana resource */ readonly id: string; /** * The managed identity of the grafana resource. */ readonly identity?: outputs.dashboard.ManagedServiceIdentityResponse; /** * The geo-location where the grafana resource lives */ readonly location?: string; /** * Name of the grafana resource. */ readonly name: string; /** * Properties specific to the grafana resource. */ readonly properties: outputs.dashboard.ManagedGrafanaPropertiesResponse; /** * The Sku of the grafana resource. */ readonly sku?: outputs.dashboard.ResourceSkuResponse; /** * The system meta data relating to this grafana resource. */ readonly systemData: outputs.dashboard.SystemDataResponse; /** * The tags for grafana resource. */ readonly tags?: { [key: string]: string; }; /** * The type of the grafana resource. */ readonly type: string; } /** * The grafana resource type. * * Uses Azure REST API version 2024-10-01. * * Other available API versions: 2022-08-01, 2022-10-01-preview, 2023-09-01, 2023-10-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dashboard [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getGrafanaOutput(args: GetGrafanaOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGrafanaResult>; export interface GetGrafanaOutputArgs { /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The workspace name of Azure Managed Grafana. */ workspaceName: pulumi.Input<string>; }