ManagedPrivateEndpoint

class ManagedPrivateEndpoint : KotlinCustomResource

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}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard

The state of managed private endpoint connection.

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

The group Ids of the managed private endpoint.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The private IP of private endpoint after approval. This property is empty before connection is approved.

Link copied to clipboard

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

Provisioning state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val requestMessage: Output<String>?

User input request message of the managed private endpoint.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>