ManagedPrivateEndpointArgs

data class ManagedPrivateEndpointArgs(val groupIds: Output<List<String>>? = null, val location: Output<String>? = null, val managedPrivateEndpointName: Output<String>? = null, val privateLinkResourceId: Output<String>? = null, val privateLinkResourceRegion: Output<String>? = null, val privateLinkServiceUrl: Output<String>? = null, val requestMessage: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<ManagedPrivateEndpointArgs>

The managed private endpoint resource type. Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2022-10-01-preview. Other available API versions: 2022-10-01-preview, 2023-09-01, 2023-10-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/#accessing-any-api-version-via-local-packages for details.

Example Usage

ManagedPrivateEndpoint_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var managedPrivateEndpoint = new AzureNative.Dashboard.ManagedPrivateEndpoint("managedPrivateEndpoint", new()
{
GroupIds = new[]
{
"grafana",
},
Location = "West US",
ManagedPrivateEndpointName = "myMPEName",
PrivateLinkResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource",
PrivateLinkResourceRegion = "West US",
PrivateLinkServiceUrl = "my-self-hosted-influxdb.westus.mydomain.com",
RequestMessage = "Example Request Message",
ResourceGroupName = "myResourceGroup",
WorkspaceName = "myWorkspace",
});
});
package main
import (
dashboard "github.com/pulumi/pulumi-azure-native-sdk/dashboard/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dashboard.NewManagedPrivateEndpoint(ctx, "managedPrivateEndpoint", &dashboard.ManagedPrivateEndpointArgs{
GroupIds: pulumi.StringArray{
pulumi.String("grafana"),
},
Location: pulumi.String("West US"),
ManagedPrivateEndpointName: pulumi.String("myMPEName"),
PrivateLinkResourceId: pulumi.String("/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource"),
PrivateLinkResourceRegion: pulumi.String("West US"),
PrivateLinkServiceUrl: pulumi.String("my-self-hosted-influxdb.westus.mydomain.com"),
RequestMessage: pulumi.String("Example Request Message"),
ResourceGroupName: pulumi.String("myResourceGroup"),
WorkspaceName: pulumi.String("myWorkspace"),
})
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.azurenative.dashboard.ManagedPrivateEndpoint;
import com.pulumi.azurenative.dashboard.ManagedPrivateEndpointArgs;
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 managedPrivateEndpoint = new ManagedPrivateEndpoint("managedPrivateEndpoint", ManagedPrivateEndpointArgs.builder()
.groupIds("grafana")
.location("West US")
.managedPrivateEndpointName("myMPEName")
.privateLinkResourceId("/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-000000000000/resourceGroups/xx-rg/providers/Microsoft.Kusto/Clusters/sampleKustoResource")
.privateLinkResourceRegion("West US")
.privateLinkServiceUrl("my-self-hosted-influxdb.westus.mydomain.com")
.requestMessage("Example Request Message")
.resourceGroupName("myResourceGroup")
.workspaceName("myWorkspace")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:dashboard:ManagedPrivateEndpoint myMPEName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/managedPrivateEndpoints/{managedPrivateEndpointName}

Constructors

Link copied to clipboard
constructor(groupIds: Output<List<String>>? = null, location: Output<String>? = null, managedPrivateEndpointName: Output<String>? = null, privateLinkResourceId: Output<String>? = null, privateLinkResourceRegion: Output<String>? = null, privateLinkServiceUrl: Output<String>? = null, requestMessage: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, workspaceName: Output<String>? = null)

Properties

Link copied to clipboard
val groupIds: Output<List<String>>? = null

The group Ids of the managed private endpoint.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val managedPrivateEndpointName: Output<String>? = null

The managed private endpoint name of Azure Managed Grafana.

Link copied to clipboard
val privateLinkResourceId: Output<String>? = null

The ARM resource ID of the resource for which the managed private endpoint is pointing to.

Link copied to clipboard
val privateLinkResourceRegion: Output<String>? = null

The region of the resource to which the managed private endpoint is pointing to.

Link copied to clipboard
val privateLinkServiceUrl: Output<String>? = null

The URL of the data store behind the private link service. It would be the URL in the Grafana data source configuration page without the protocol and port.

Link copied to clipboard
val requestMessage: Output<String>? = null

User input request message of the managed private endpoint.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

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

Resource tags.

Link copied to clipboard
val workspaceName: Output<String>? = null

The workspace name of Azure Managed Grafana.

Functions

Link copied to clipboard
open override fun toJava(): ManagedPrivateEndpointArgs