PrivateEndpointConnection

A private endpoint connection for a project. API Version: 2019-10-01.

Example Usage

PrivateEndpointConnections_Create

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateEndpointConnection = new AzureNative.Migrate.PrivateEndpointConnection("privateEndpointConnection", new()
{
ETag = "\"00009300-0000-0300-0000-602b967b0000\"",
PrivateEndpointConnectionName = "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
ProjectName = "abgoyalWEselfhostb72bproject",
Properties = new AzureNative.Migrate.Inputs.PrivateEndpointConnectionPropertiesArgs
{
PrivateLinkServiceConnectionState = new AzureNative.Migrate.Inputs.PrivateLinkServiceConnectionStateArgs
{
ActionsRequired = "",
Status = "Approved",
},
},
ResourceGroupName = "abgoyal-westEurope",
});
});
package main
import (
migrate "github.com/pulumi/pulumi-azure-native/sdk/go/azure/migrate"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := migrate.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &migrate.PrivateEndpointConnectionArgs{
ETag: pulumi.String("\"00009300-0000-0300-0000-602b967b0000\""),
PrivateEndpointConnectionName: pulumi.String("custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43"),
ProjectName: pulumi.String("abgoyalWEselfhostb72bproject"),
Properties: migrate.PrivateEndpointConnectionPropertiesResponse{
PrivateLinkServiceConnectionState: &migrate.PrivateLinkServiceConnectionStateArgs{
ActionsRequired: pulumi.String(""),
Status: pulumi.String("Approved"),
},
},
ResourceGroupName: pulumi.String("abgoyal-westEurope"),
})
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.migrate.PrivateEndpointConnection;
import com.pulumi.azurenative.migrate.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()
.eTag("\"00009300-0000-0300-0000-602b967b0000\"")
.privateEndpointConnectionName("custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43")
.projectName("abgoyalWEselfhostb72bproject")
.properties(Map.of("privateLinkServiceConnectionState", Map.ofEntries(
Map.entry("actionsRequired", ""),
Map.entry("status", "Approved")
)))
.resourceGroupName("abgoyal-westEurope")
.build());
}
}

Import

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

$ pulumi import azure-native:migrate:PrivateEndpointConnection custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43 /subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/madhavicus/providers/Microsoft.Migrate/assessmentprojects/custestpece80project/privateEndpointConnections/custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43

Properties

Link copied to clipboard
val eTag: Output<String>?

For optimistic concurrency control.

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

Name of the private endpoint endpoint connection.

Link copied to clipboard

Properties of the private endpoint endpoint connection.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

Type of the object = Microsoft.Migrate/assessmentProjects/privateEndpointConnections.

Link copied to clipboard
val urn: Output<String>