PrivateEndpointConnectionArgs

data class PrivateEndpointConnectionArgs(val groupIds: Output<List<String>>? = null, val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null, val workspaceName: Output<String>? = null) : ConvertibleToJava<PrivateEndpointConnectionArgs>

The Private Endpoint Connection resource. Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2022-08-01. Other available API versions: 2022-08-01, 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

PrivateEndpointConnections_Approve

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.Dashboard.PrivateEndpointConnection("privateEndpointConnection", new()
{
PrivateEndpointConnectionName = "myConnection",
ResourceGroupName = "myResourceGroup",
WorkspaceName = "myWorkspace",
});
});
package main
import (
dashboard "github.com/pulumi/pulumi-azure-native-sdk/dashboard/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dashboard.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &dashboard.PrivateEndpointConnectionArgs{
PrivateEndpointConnectionName: pulumi.String("myConnection"),
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.PrivateEndpointConnection;
import com.pulumi.azurenative.dashboard.PrivateEndpointConnectionArgs;
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 privateEndpointConnection = new PrivateEndpointConnection("privateEndpointConnection", PrivateEndpointConnectionArgs.builder()
.privateEndpointConnectionName("myConnection")
.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:PrivateEndpointConnection myConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Dashboard/grafana/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}

Constructors

Link copied to clipboard
constructor(groupIds: Output<List<String>>? = null, privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null, workspaceName: Output<String>? = null)

Properties

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

The private endpoint connection group ids.

Link copied to clipboard

The private endpoint connection name of Azure Managed Grafana.

Link copied to clipboard

A collection of information about the state of the connection between service consumer and provider.

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 workspaceName: Output<String>? = null

The workspace name of Azure Managed Grafana.

Functions

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