1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. PrivateEndpointConnection
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.77.0 published on Thursday, Dec 12, 2024 by Pulumi

azure-native.migrate.PrivateEndpointConnection

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.77.0 published on Thursday, Dec 12, 2024 by Pulumi

    A private endpoint connection for a project. Azure REST API version: 2019-10-01. Prior API version in Azure Native 1.x: 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",
        });
    
    });
    
    package main
    
    import (
    	migrate "github.com/pulumi/pulumi-azure-native-sdk/migrate/v2"
    	"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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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 = new AzureNative.Migrate.Inputs.PrivateEndpointConnectionPropertiesArgs
        {
            PrivateLinkServiceConnectionState = new AzureNative.Migrate.Inputs.PrivateLinkServiceConnectionStateArgs
            {
                ActionsRequired = "string",
                Description = "string",
                Status = "string",
            },
        },
        ResourceGroupName = "string",
        ETag = "string",
        PrivateEndpointConnectionName = "string",
    });
    
    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"),
    })
    
    var exampleprivateEndpointConnectionResourceResourceFromMigrate = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromMigrate", 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());
    
    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")
    
    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.

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

    Status, StatusArgs

    Inactive
    Inactive
    Active
    Active
    StatusInactive
    Inactive
    StatusActive
    Active
    Inactive
    Inactive
    Active
    Active
    Inactive
    Inactive
    Active
    Active
    INACTIVE
    Inactive
    ACTIVE
    Active
    "Inactive"
    Inactive
    "Active"
    Active

    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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.77.0 published on Thursday, Dec 12, 2024 by Pulumi