PrivateLinkServicePrivateEndpointConnectionArgs

data class PrivateLinkServicePrivateEndpointConnectionArgs(val id: Output<String>? = null, val name: Output<String>? = null, val peConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null, val serviceName: Output<String>? = null) : ConvertibleToJava<PrivateLinkServicePrivateEndpointConnectionArgs>

PrivateEndpointConnection resource. API Version: 2020-11-01.

Example Usage

approve or reject private end point connection for a private link service

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateLinkServicePrivateEndpointConnection = new AzureNative.Network.PrivateLinkServicePrivateEndpointConnection("privateLinkServicePrivateEndpointConnection", new()
{
Name = "testPlePeConnection",
PeConnectionName = "testPlePeConnection",
PrivateLinkServiceConnectionState = new AzureNative.Network.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "approved it for some reason.",
Status = "Approved",
},
ResourceGroupName = "rg1",
ServiceName = "testPls",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPrivateLinkServicePrivateEndpointConnection(ctx, "privateLinkServicePrivateEndpointConnection", &network.PrivateLinkServicePrivateEndpointConnectionArgs{
Name: pulumi.String("testPlePeConnection"),
PeConnectionName: pulumi.String("testPlePeConnection"),
PrivateLinkServiceConnectionState: &network.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("approved it for some reason."),
Status: pulumi.String("Approved"),
},
ResourceGroupName: pulumi.String("rg1"),
ServiceName: pulumi.String("testPls"),
})
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.network.PrivateLinkServicePrivateEndpointConnection;
import com.pulumi.azurenative.network.PrivateLinkServicePrivateEndpointConnectionArgs;
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 privateLinkServicePrivateEndpointConnection = new PrivateLinkServicePrivateEndpointConnection("privateLinkServicePrivateEndpointConnection", PrivateLinkServicePrivateEndpointConnectionArgs.builder()
.name("testPlePeConnection")
.peConnectionName("testPlePeConnection")
.privateLinkServiceConnectionState(Map.ofEntries(
Map.entry("description", "approved it for some reason."),
Map.entry("status", "Approved")
))
.resourceGroupName("rg1")
.serviceName("testPls")
.build());
}
}

Import

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

$ pulumi import azure-native:network:PrivateLinkServicePrivateEndpointConnection testPlePeConnection /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}

Constructors

constructor(id: Output<String>? = null, name: Output<String>? = null, peConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null, serviceName: Output<String>? = null)

Properties

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

Resource ID.

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

The name of the resource that is unique within a resource group. This name can be used to access the resource.

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

The name of the private end point connection.

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.

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

The name of the private link service.

Functions

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