Managed Private Endpoint Args
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
Properties
The managed private endpoint name of Azure Managed Grafana.
The ARM resource ID of the resource for which the managed private endpoint is pointing to.
The region of the resource to which the managed private endpoint is pointing to.
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.
User input request message of the managed private endpoint.
The name of the resource group. The name is case insensitive.
The workspace name of Azure Managed Grafana.