1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. PrivateEndpointConnection
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.migrate.PrivateEndpointConnection

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

A private endpoint connection for a project.

Uses Azure REST API version 2019-10-01. In version 2.x of the Azure Native provider, it used API version 2019-10-01.

Example Usage

PrivateEndpointConnections_Create

using System.Collections.Generic;
using System.Linq;
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 = AzureNative.Migrate.PrivateEndpointServiceConnectionStatus.Approved,
            },
        },
        ResourceGroupName = "abgoyal-westEurope",
    });

});
Copy
package main

import (
	migrate "github.com/pulumi/pulumi-azure-native-sdk/migrate/v3"
	"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.PrivateEndpointConnectionPropertiesArgs{
				PrivateLinkServiceConnectionState: &migrate.PrivateLinkServiceConnectionStateArgs{
					ActionsRequired: pulumi.String(""),
					Status:          pulumi.String(migrate.PrivateEndpointServiceConnectionStatusApproved),
				},
			},
			ResourceGroupName: pulumi.String("abgoyal-westEurope"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 com.pulumi.azurenative.migrate.inputs.PrivateEndpointConnectionPropertiesArgs;
import com.pulumi.azurenative.migrate.inputs.PrivateLinkServiceConnectionStateArgs;
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(PrivateEndpointConnectionPropertiesArgs.builder()
                .privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
                    .actionsRequired("")
                    .status("Approved")
                    .build())
                .build())
            .resourceGroupName("abgoyal-westEurope")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateEndpointConnection = new azure_native.migrate.PrivateEndpointConnection("privateEndpointConnection", {
    eTag: "\"00009300-0000-0300-0000-602b967b0000\"",
    privateEndpointConnectionName: "custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
    projectName: "abgoyalWEselfhostb72bproject",
    properties: {
        privateLinkServiceConnectionState: {
            actionsRequired: "",
            status: azure_native.migrate.PrivateEndpointServiceConnectionStatus.Approved,
        },
    },
    resourceGroupName: "abgoyal-westEurope",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

private_endpoint_connection = azure_native.migrate.PrivateEndpointConnection("privateEndpointConnection",
    e_tag="\"00009300-0000-0300-0000-602b967b0000\"",
    private_endpoint_connection_name="custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43",
    project_name="abgoyalWEselfhostb72bproject",
    properties={
        "private_link_service_connection_state": {
            "actions_required": "",
            "status": azure_native.migrate.PrivateEndpointServiceConnectionStatus.APPROVED,
        },
    },
    resource_group_name="abgoyal-westEurope")
Copy
resources:
  privateEndpointConnection:
    type: azure-native:migrate:PrivateEndpointConnection
    properties:
      eTag: '"00009300-0000-0300-0000-602b967b0000"'
      privateEndpointConnectionName: custestpece80project3980pe.7e35576b-3df4-478e-9759-f64351cf4f43
      projectName: abgoyalWEselfhostb72bproject
      properties:
        privateLinkServiceConnectionState:
          actionsRequired: ""
          status: Approved
      resourceGroupName: abgoyal-westEurope
Copy

Create PrivateEndpointConnection Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointConnection(resource_name: str,
                              args: PrivateEndpointConnectionArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def PrivateEndpointConnection(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              project_name: Optional[str] = None,
                              properties: Optional[PrivateEndpointConnectionPropertiesArgs] = None,
                              resource_group_name: Optional[str] = None,
                              e_tag: Optional[str] = None,
                              private_endpoint_connection_name: Optional[str] = None)
func NewPrivateEndpointConnection(ctx *Context, name string, args PrivateEndpointConnectionArgs, opts ...ResourceOption) (*PrivateEndpointConnection, error)
public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args)
public PrivateEndpointConnection(String name, PrivateEndpointConnectionArgs args, CustomResourceOptions options)
type: azure-native:migrate:PrivateEndpointConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PrivateEndpointConnectionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var exampleprivateEndpointConnectionResourceResourceFromMigrate = new AzureNative.Migrate.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate", new()
{
    ProjectName = "string",
    Properties = new AzureNative.Migrate.Inputs.PrivateEndpointConnectionPropertiesArgs
    {
        PrivateLinkServiceConnectionState = new AzureNative.Migrate.Inputs.PrivateLinkServiceConnectionStateArgs
        {
            ActionsRequired = "string",
            Description = "string",
            Status = "string",
        },
    },
    ResourceGroupName = "string",
    ETag = "string",
    PrivateEndpointConnectionName = "string",
});
Copy
example, err := migrate.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromMigrate", &migrate.PrivateEndpointConnectionArgs{
	ProjectName: pulumi.String("string"),
	Properties: &migrate.PrivateEndpointConnectionPropertiesArgs{
		PrivateLinkServiceConnectionState: &migrate.PrivateLinkServiceConnectionStateArgs{
			ActionsRequired: pulumi.String("string"),
			Description:     pulumi.String("string"),
			Status:          pulumi.String("string"),
		},
	},
	ResourceGroupName:             pulumi.String("string"),
	ETag:                          pulumi.String("string"),
	PrivateEndpointConnectionName: pulumi.String("string"),
})
Copy
var exampleprivateEndpointConnectionResourceResourceFromMigrate = new com.pulumi.azurenative.migrate.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate", com.pulumi.azurenative.migrate.PrivateEndpointConnectionArgs.builder()
    .projectName("string")
    .properties(PrivateEndpointConnectionPropertiesArgs.builder()
        .privateLinkServiceConnectionState(PrivateLinkServiceConnectionStateArgs.builder()
            .actionsRequired("string")
            .description("string")
            .status("string")
            .build())
        .build())
    .resourceGroupName("string")
    .eTag("string")
    .privateEndpointConnectionName("string")
    .build());
Copy
exampleprivate_endpoint_connection_resource_resource_from_migrate = azure_native.migrate.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate",
    project_name="string",
    properties={
        "private_link_service_connection_state": {
            "actions_required": "string",
            "description": "string",
            "status": "string",
        },
    },
    resource_group_name="string",
    e_tag="string",
    private_endpoint_connection_name="string")
Copy
const exampleprivateEndpointConnectionResourceResourceFromMigrate = new azure_native.migrate.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate", {
    projectName: "string",
    properties: {
        privateLinkServiceConnectionState: {
            actionsRequired: "string",
            description: "string",
            status: "string",
        },
    },
    resourceGroupName: "string",
    eTag: "string",
    privateEndpointConnectionName: "string",
});
Copy
type: azure-native:migrate:PrivateEndpointConnection
properties:
    eTag: string
    privateEndpointConnectionName: string
    projectName: string
    properties:
        privateLinkServiceConnectionState:
            actionsRequired: string
            description: string
            status: string
    resourceGroupName: string
Copy

PrivateEndpointConnection Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The PrivateEndpointConnection resource accepts the following input properties:

ProjectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
Properties This property is required. Pulumi.AzureNative.Migrate.Inputs.PrivateEndpointConnectionProperties
Properties of the private endpoint endpoint connection.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
ETag string
For optimistic concurrency control.
PrivateEndpointConnectionName Changes to this property will trigger replacement. string
Unique name of a private endpoint connection within a project.
ProjectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
Properties This property is required. PrivateEndpointConnectionPropertiesArgs
Properties of the private endpoint endpoint connection.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
ETag string
For optimistic concurrency control.
PrivateEndpointConnectionName Changes to this property will trigger replacement. string
Unique name of a private endpoint connection within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Migrate project.
properties This property is required. PrivateEndpointConnectionProperties
Properties of the private endpoint endpoint connection.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Resource Group that project is part of.
eTag String
For optimistic concurrency control.
privateEndpointConnectionName Changes to this property will trigger replacement. String
Unique name of a private endpoint connection within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Migrate project.
properties This property is required. PrivateEndpointConnectionProperties
Properties of the private endpoint endpoint connection.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Azure Resource Group that project is part of.
eTag string
For optimistic concurrency control.
privateEndpointConnectionName Changes to this property will trigger replacement. string
Unique name of a private endpoint connection within a project.
project_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Migrate project.
properties This property is required. PrivateEndpointConnectionPropertiesArgs
Properties of the private endpoint endpoint connection.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Azure Resource Group that project is part of.
e_tag str
For optimistic concurrency control.
private_endpoint_connection_name Changes to this property will trigger replacement. str
Unique name of a private endpoint connection within a project.
projectName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Migrate project.
properties This property is required. Property Map
Properties of the private endpoint endpoint connection.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Azure Resource Group that project is part of.
eTag String
For optimistic concurrency control.
privateEndpointConnectionName Changes to this property will trigger replacement. String
Unique name of a private endpoint connection within a project.

Outputs

All input properties are implicitly available as output properties. Additionally, the PrivateEndpointConnection resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the private endpoint endpoint connection.
Type string
Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].
AzureApiVersion string
The Azure API version of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the private endpoint endpoint connection.
Type string
Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the private endpoint endpoint connection.
type String
Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].
azureApiVersion string
The Azure API version of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
Name of the private endpoint endpoint connection.
type string
Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].
azure_api_version str
The Azure API version of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
Name of the private endpoint endpoint connection.
type str
Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].
azureApiVersion String
The Azure API version of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the private endpoint endpoint connection.
type String
Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].

Supporting Types

PrivateEndpointConnectionProperties
, PrivateEndpointConnectionPropertiesArgs

privateLinkServiceConnectionState Property Map
State of the private endpoint connection.

PrivateEndpointConnectionPropertiesResponse
, PrivateEndpointConnectionPropertiesResponseArgs

PrivateEndpoint This property is required. Pulumi.AzureNative.Migrate.Inputs.ResourceIdResponse
ARM id for the private endpoint resource corresponding to the connection.
ProvisioningState This property is required. string
Indicates whether there is an ongoing operation on the private endpoint.
PrivateLinkServiceConnectionState Pulumi.AzureNative.Migrate.Inputs.PrivateLinkServiceConnectionStateResponse
State of the private endpoint connection.
PrivateEndpoint This property is required. ResourceIdResponse
ARM id for the private endpoint resource corresponding to the connection.
ProvisioningState This property is required. string
Indicates whether there is an ongoing operation on the private endpoint.
PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
State of the private endpoint connection.
privateEndpoint This property is required. ResourceIdResponse
ARM id for the private endpoint resource corresponding to the connection.
provisioningState This property is required. String
Indicates whether there is an ongoing operation on the private endpoint.
privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
State of the private endpoint connection.
privateEndpoint This property is required. ResourceIdResponse
ARM id for the private endpoint resource corresponding to the connection.
provisioningState This property is required. string
Indicates whether there is an ongoing operation on the private endpoint.
privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
State of the private endpoint connection.
private_endpoint This property is required. ResourceIdResponse
ARM id for the private endpoint resource corresponding to the connection.
provisioning_state This property is required. str
Indicates whether there is an ongoing operation on the private endpoint.
private_link_service_connection_state PrivateLinkServiceConnectionStateResponse
State of the private endpoint connection.
privateEndpoint This property is required. Property Map
ARM id for the private endpoint resource corresponding to the connection.
provisioningState This property is required. String
Indicates whether there is an ongoing operation on the private endpoint.
privateLinkServiceConnectionState Property Map
State of the private endpoint connection.

PrivateEndpointServiceConnectionStatus
, PrivateEndpointServiceConnectionStatusArgs

Pending
Pending
Approved
Approved
Rejected
Rejected
PrivateEndpointServiceConnectionStatusPending
Pending
PrivateEndpointServiceConnectionStatusApproved
Approved
PrivateEndpointServiceConnectionStatusRejected
Rejected
Pending
Pending
Approved
Approved
Rejected
Rejected
Pending
Pending
Approved
Approved
Rejected
Rejected
PENDING
Pending
APPROVED
Approved
REJECTED
Rejected
"Pending"
Pending
"Approved"
Approved
"Rejected"
Rejected

PrivateLinkServiceConnectionState
, PrivateLinkServiceConnectionStateArgs

ActionsRequired string
A message indicating if changes on the service provider require any updates on the consumer.
Description string
The reason for approval/rejection of the connection.
Status string | Pulumi.AzureNative.Migrate.PrivateEndpointServiceConnectionStatus | Pulumi.AzureNative.Migrate.Status
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
ActionsRequired string
A message indicating if changes on the service provider require any updates on the consumer.
Description string
The reason for approval/rejection of the connection.
Status string | PrivateEndpointServiceConnectionStatus | Status
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
actionsRequired String
A message indicating if changes on the service provider require any updates on the consumer.
description String
The reason for approval/rejection of the connection.
status String | PrivateEndpointServiceConnectionStatus | Status
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
actionsRequired string
A message indicating if changes on the service provider require any updates on the consumer.
description string
The reason for approval/rejection of the connection.
status string | PrivateEndpointServiceConnectionStatus | Status
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
actions_required str
A message indicating if changes on the service provider require any updates on the consumer.
description str
The reason for approval/rejection of the connection.
status str | PrivateEndpointServiceConnectionStatus | Status
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
actionsRequired String
A message indicating if changes on the service provider require any updates on the consumer.
description String
The reason for approval/rejection of the connection.
status String | "Pending" | "Approved" | "Rejected" | "Approved" | "Pending" | "Rejected" | "Disconnected"
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

PrivateLinkServiceConnectionStateResponse
, PrivateLinkServiceConnectionStateResponseArgs

ActionsRequired string
Actions required on the private endpoint connection.
Description string
Description of the private endpoint connection.
Status string
Connection status of the private endpoint connection.
ActionsRequired string
Actions required on the private endpoint connection.
Description string
Description of the private endpoint connection.
Status string
Connection status of the private endpoint connection.
actionsRequired String
Actions required on the private endpoint connection.
description String
Description of the private endpoint connection.
status String
Connection status of the private endpoint connection.
actionsRequired string
Actions required on the private endpoint connection.
description string
Description of the private endpoint connection.
status string
Connection status of the private endpoint connection.
actions_required str
Actions required on the private endpoint connection.
description str
Description of the private endpoint connection.
status str
Connection status of the private endpoint connection.
actionsRequired String
Actions required on the private endpoint connection.
description String
Description of the private endpoint connection.
status String
Connection status of the private endpoint connection.

ResourceIdResponse
, ResourceIdResponseArgs

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

Status
, StatusArgs

Approved
Approved
Pending
Pending
Rejected
Rejected
Disconnected
Disconnected
StatusApproved
Approved
StatusPending
Pending
StatusRejected
Rejected
StatusDisconnected
Disconnected
Approved
Approved
Pending
Pending
Rejected
Rejected
Disconnected
Disconnected
Approved
Approved
Pending
Pending
Rejected
Rejected
Disconnected
Disconnected
APPROVED
Approved
PENDING
Pending
REJECTED
Rejected
DISCONNECTED
Disconnected
"Approved"
Approved
"Pending"
Pending
"Rejected"
Rejected
"Disconnected"
Disconnected

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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentprojects/{projectName}/privateEndpointConnections/{privateEndpointConnectionName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi