PrivateEndpointConnectionArgs

data class PrivateEndpointConnectionArgs(val location: Output<String>? = null, val namespaceName: Output<String>? = null, val privateEndpoint: Output<PrivateEndpointArgs>? = null, val privateEndpointConnectionName: Output<String>? = null, val privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<PrivateEndpointConnectionArgs>

Private endpoint connection resource. API Version: 2018-01-01-preview.

Example Usage

RelayPutPrivateEndpointConnection

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.Relay.PrivateEndpointConnection("privateEndpointConnection", new()
{
Location = "South Central US",
NamespaceName = "example-RelayNamespace-5849",
PrivateEndpoint = new AzureNative.Relay.Inputs.PrivateEndpointArgs
{
Id = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1",
},
PrivateEndpointConnectionName = "{privateEndpointConnection name}",
PrivateLinkServiceConnectionState = new AzureNative.Relay.Inputs.PrivateLinkServiceConnectionStateArgs
{
Description = "You may pass",
Status = "Approved",
},
ResourceGroupName = "resourcegroup",
});
});
package main
import (
relay "github.com/pulumi/pulumi-azure-native-sdk/relay"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := relay.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &relay.PrivateEndpointConnectionArgs{
Location: pulumi.String("South Central US"),
NamespaceName: pulumi.String("example-RelayNamespace-5849"),
PrivateEndpoint: &relay.PrivateEndpointArgs{
Id: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1"),
},
PrivateEndpointConnectionName: pulumi.String("{privateEndpointConnection name}"),
PrivateLinkServiceConnectionState: &relay.PrivateLinkServiceConnectionStateArgs{
Description: pulumi.String("You may pass"),
Status: pulumi.String("Approved"),
},
ResourceGroupName: pulumi.String("resourcegroup"),
})
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.relay.PrivateEndpointConnection;
import com.pulumi.azurenative.relay.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()
.location("South Central US")
.namespaceName("example-RelayNamespace-5849")
.privateEndpoint(Map.of("id", "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/resourcegroup/providers/Microsoft.Network/privateEndpoints/ali-relay-pve-1"))
.privateEndpointConnectionName("{privateEndpointConnection name}")
.privateLinkServiceConnectionState(Map.ofEntries(
Map.entry("description", "You may pass"),
Map.entry("status", "Approved")
))
.resourceGroupName("resourcegroup")
.build());
}
}

Import

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

$ pulumi import azure-native:relay:PrivateEndpointConnection {privateEndpointConnection name} /subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/alitest/providers/Microsoft.Relay/namespaces/relay-private-endpoint-test/privateEndpointConnections/{privateEndpointConnection name}

Constructors

Link copied to clipboard
constructor(location: Output<String>? = null, namespaceName: Output<String>? = null, privateEndpoint: Output<PrivateEndpointArgs>? = null, privateEndpointConnectionName: Output<String>? = null, privateLinkServiceConnectionState: Output<PrivateLinkServiceConnectionStateArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

Resource location.

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

The namespace name

Link copied to clipboard

Properties of the private endpoint object.

Link copied to clipboard

The PrivateEndpointConnection name.

Link copied to clipboard

Approval state of the private link connection.

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

Name of the Resource group within the Azure subscription.

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

Resource tags.

Functions

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