import * as pulumi from "@pulumi/pulumi"; /** * Manages a Dashboard Grafana Managed Private Endpoint. * * > **Note:** This resource will _not_ approve the managed private endpoint connection on the linked resource. This will need to be done manually via Azure CLI, PowerShell, or AzAPI resources. See here for an example that uses AzAPI. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "Canada Central", * }); * const exampleWorkspace = new azure.monitoring.Workspace("example", { * name: "example-mamw", * resourceGroupName: example.name, * location: example.location, * publicNetworkAccessEnabled: false, * }); * const exampleGrafana = new azure.dashboard.Grafana("example", { * name: "example-dg", * resourceGroupName: example.name, * location: example.location, * grafanaMajorVersion: "11", * publicNetworkAccessEnabled: false, * azureMonitorWorkspaceIntegrations: [{ * resourceId: exampleWorkspace.id, * }], * }); * const exampleGrafanaManagedPrivateEndpoint = new azure.dashboard.GrafanaManagedPrivateEndpoint("example", { * grafanaId: exampleGrafana.id, * name: "example-mpe", * location: exampleGrafana.location, * privateLinkResourceId: exampleWorkspace.id, * groupIds: ["prometheusMetrics"], * privateLinkResourceRegion: exampleGrafana.location, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Dashboard` - 2025-08-01 * * ## Import * * Dashboard Grafana Managed Private Endpoint Examples can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:dashboard/grafanaManagedPrivateEndpoint:GrafanaManagedPrivateEndpoint example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Dashboard/grafana/workspace1/managedPrivateEndpoints/endpoint1 * ``` */ export declare class GrafanaManagedPrivateEndpoint extends pulumi.CustomResource { /** * Get an existing GrafanaManagedPrivateEndpoint resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GrafanaManagedPrivateEndpointState, opts?: pulumi.CustomResourceOptions): GrafanaManagedPrivateEndpoint; /** * Returns true if the given object is an instance of GrafanaManagedPrivateEndpoint. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GrafanaManagedPrivateEndpoint; /** * The id of the associated managed Grafana. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ readonly grafanaId: pulumi.Output; /** * Specifies a list of private link group IDs. The value of this will depend on the private link resource to which you are connecting. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ readonly groupIds: pulumi.Output; /** * The Azure Region where the Dashboard Grafana Managed Private Endpoint should exist. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Dashboard Grafana Managed Private Endpoint. Must be between 2 and 20 alphanumeric characters or dashes, must begin with letter and end with a letter or number. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ readonly name: pulumi.Output; /** * The ID of the resource to which this Dashboard Grafana Managed Private Endpoint will connect. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ readonly privateLinkResourceId: pulumi.Output; /** * The region in which to create the private link. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ readonly privateLinkResourceRegion: pulumi.Output; /** * A domain name for this endpoint to be used within Grafana. Must be just a domain, without schema, and with at least three parts. */ readonly privateLinkServiceUrl: pulumi.Output; /** * A message to provide in the request which will be seen by approvers. */ readonly requestMessage: pulumi.Output; /** * A mapping of tags which should be assigned to the Dashboard Grafana Managed Private Endpoint. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a GrafanaManagedPrivateEndpoint resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GrafanaManagedPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GrafanaManagedPrivateEndpoint resources. */ export interface GrafanaManagedPrivateEndpointState { /** * The id of the associated managed Grafana. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ grafanaId?: pulumi.Input; /** * Specifies a list of private link group IDs. The value of this will depend on the private link resource to which you are connecting. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ groupIds?: pulumi.Input[]>; /** * The Azure Region where the Dashboard Grafana Managed Private Endpoint should exist. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ location?: pulumi.Input; /** * The name which should be used for this Dashboard Grafana Managed Private Endpoint. Must be between 2 and 20 alphanumeric characters or dashes, must begin with letter and end with a letter or number. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ name?: pulumi.Input; /** * The ID of the resource to which this Dashboard Grafana Managed Private Endpoint will connect. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ privateLinkResourceId?: pulumi.Input; /** * The region in which to create the private link. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ privateLinkResourceRegion?: pulumi.Input; /** * A domain name for this endpoint to be used within Grafana. Must be just a domain, without schema, and with at least three parts. */ privateLinkServiceUrl?: pulumi.Input; /** * A message to provide in the request which will be seen by approvers. */ requestMessage?: pulumi.Input; /** * A mapping of tags which should be assigned to the Dashboard Grafana Managed Private Endpoint. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a GrafanaManagedPrivateEndpoint resource. */ export interface GrafanaManagedPrivateEndpointArgs { /** * The id of the associated managed Grafana. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ grafanaId: pulumi.Input; /** * Specifies a list of private link group IDs. The value of this will depend on the private link resource to which you are connecting. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ groupIds?: pulumi.Input[]>; /** * The Azure Region where the Dashboard Grafana Managed Private Endpoint should exist. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ location?: pulumi.Input; /** * The name which should be used for this Dashboard Grafana Managed Private Endpoint. Must be between 2 and 20 alphanumeric characters or dashes, must begin with letter and end with a letter or number. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ name?: pulumi.Input; /** * The ID of the resource to which this Dashboard Grafana Managed Private Endpoint will connect. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ privateLinkResourceId: pulumi.Input; /** * The region in which to create the private link. Changing this forces a new Dashboard Grafana Managed Private Endpoint to be created. */ privateLinkResourceRegion?: pulumi.Input; /** * A domain name for this endpoint to be used within Grafana. Must be just a domain, without schema, and with at least three parts. */ privateLinkServiceUrl?: pulumi.Input; /** * A message to provide in the request which will be seen by approvers. */ requestMessage?: pulumi.Input; /** * A mapping of tags which should be assigned to the Dashboard Grafana Managed Private Endpoint. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }