1. Packages
  2. Azure Native v1
  3. API Docs
  4. migrate
  5. PrivateEndpointConnection
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.migrate.PrivateEndpointConnection

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A private endpoint connection for a project. 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 = "Approved",
                },
            },
            ResourceGroupName = "abgoyal-westEurope",
        });
    
    });
    
    package main
    
    import (
    	migrate "github.com/pulumi/pulumi-azure-native-sdk/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 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=azure_native.migrate.PrivateEndpointConnectionPropertiesResponseArgs(
            private_link_service_connection_state=azure_native.migrate.PrivateLinkServiceConnectionStateArgs(
                actions_required="",
                status="Approved",
            ),
        ),
        resource_group_name="abgoyal-westEurope")
    
    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: "Approved",
            },
        },
        resourceGroupName: "abgoyal-westEurope",
    });
    
    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
    

    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 string
    The unique name of the resource.
    args PrivateEndpointConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args PrivateEndpointConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateEndpointConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 = 
        {
            { "privateLinkServiceConnectionState", 
            {
                { "actionsRequired", "string" },
                { "description", "string" },
                { "status", "string" },
            } },
        },
        ResourceGroupName = "string",
        ETag = "string",
        PrivateEndpointConnectionName = "string",
    });
    
    example, err := migrate.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromMigrate", &migrate.PrivateEndpointConnectionArgs{
    	ProjectName: "string",
    	Properties: map[string]interface{}{
    		"privateLinkServiceConnectionState": map[string]interface{}{
    			"actionsRequired": "string",
    			"description":     "string",
    			"status":          "string",
    		},
    	},
    	ResourceGroupName:             "string",
    	ETag:                          "string",
    	PrivateEndpointConnectionName: "string",
    })
    
    var exampleprivateEndpointConnectionResourceResourceFromMigrate = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate", PrivateEndpointConnectionArgs.builder()
        .projectName("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .resourceGroupName("string")
        .eTag("string")
        .privateEndpointConnectionName("string")
        .build());
    
    exampleprivate_endpoint_connection_resource_resource_from_migrate = azure_native.migrate.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate",
        project_name=string,
        properties={
            privateLinkServiceConnectionState: {
                actionsRequired: string,
                description: string,
                status: string,
            },
        },
        resource_group_name=string,
        e_tag=string,
        private_endpoint_connection_name=string)
    
    const exampleprivateEndpointConnectionResourceResourceFromMigrate = new azure_native.migrate.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate", {
        projectName: "string",
        properties: {
            privateLinkServiceConnectionState: {
                actionsRequired: "string",
                description: "string",
                status: "string",
            },
        },
        resourceGroupName: "string",
        eTag: "string",
        privateEndpointConnectionName: "string",
    });
    
    type: azure-native:migrate:PrivateEndpointConnection
    properties:
        eTag: string
        privateEndpointConnectionName: string
        projectName: string
        properties:
            privateLinkServiceConnectionState:
                actionsRequired: string
                description: string
                status: string
        resourceGroupName: string
    

    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 string
    Name of the Azure Migrate project.
    Properties Pulumi.AzureNative.Migrate.Inputs.PrivateEndpointConnectionProperties
    Properties of the private endpoint endpoint connection.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    ETag string
    For optimistic concurrency control.
    PrivateEndpointConnectionName string
    Unique name of a private endpoint connection within a project.
    ProjectName string
    Name of the Azure Migrate project.
    Properties PrivateEndpointConnectionPropertiesArgs
    Properties of the private endpoint endpoint connection.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    ETag string
    For optimistic concurrency control.
    PrivateEndpointConnectionName string
    Unique name of a private endpoint connection within a project.
    projectName String
    Name of the Azure Migrate project.
    properties PrivateEndpointConnectionProperties
    Properties of the private endpoint endpoint connection.
    resourceGroupName String
    Name of the Azure Resource Group that project is part of.
    eTag String
    For optimistic concurrency control.
    privateEndpointConnectionName String
    Unique name of a private endpoint connection within a project.
    projectName string
    Name of the Azure Migrate project.
    properties PrivateEndpointConnectionProperties
    Properties of the private endpoint endpoint connection.
    resourceGroupName string
    Name of the Azure Resource Group that project is part of.
    eTag string
    For optimistic concurrency control.
    privateEndpointConnectionName string
    Unique name of a private endpoint connection within a project.
    project_name str
    Name of the Azure Migrate project.
    properties PrivateEndpointConnectionPropertiesArgs
    Properties of the private endpoint endpoint connection.
    resource_group_name str
    Name of the Azure Resource Group that project is part of.
    e_tag str
    For optimistic concurrency control.
    private_endpoint_connection_name str
    Unique name of a private endpoint connection within a project.
    projectName String
    Name of the Azure Migrate project.
    properties Property Map
    Properties of the private endpoint endpoint connection.
    resourceGroupName String
    Name of the Azure Resource Group that project is part of.
    eTag String
    For optimistic concurrency control.
    privateEndpointConnectionName 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:

    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].
    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].
    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].
    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].
    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].
    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 Pulumi.AzureNative.Migrate.Inputs.ResourceIdResponse
    ARM id for the private endpoint resource corresponding to the connection.
    ProvisioningState 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 ResourceIdResponse
    ARM id for the private endpoint resource corresponding to the connection.
    ProvisioningState string
    Indicates whether there is an ongoing operation on the private endpoint.
    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    State of the private endpoint connection.
    privateEndpoint ResourceIdResponse
    ARM id for the private endpoint resource corresponding to the connection.
    provisioningState String
    Indicates whether there is an ongoing operation on the private endpoint.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    State of the private endpoint connection.
    privateEndpoint ResourceIdResponse
    ARM id for the private endpoint resource corresponding to the connection.
    provisioningState string
    Indicates whether there is an ongoing operation on the private endpoint.
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    State of the private endpoint connection.
    private_endpoint ResourceIdResponse
    ARM id for the private endpoint resource corresponding to the connection.
    provisioning_state 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 Property Map
    ARM id for the private endpoint resource corresponding to the connection.
    provisioningState String
    Indicates whether there is an ongoing operation on the private endpoint.
    privateLinkServiceConnectionState Property Map
    State of the private endpoint connection.

    PrivateLinkServiceConnectionState, PrivateLinkServiceConnectionStateArgs

    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.

    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 string
    Id string
    id String
    id string
    id str
    id String

    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 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi