1. Packages
  2. Azure Native v1
  3. API Docs
  4. datafactory
  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.datafactory.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

    Private Endpoint Connection ARM resource. API Version: 2018-06-01.

    Example Usage

    Approves or rejects a private endpoint connection for a factory.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var privateEndpointConnection = new AzureNative.DataFactory.PrivateEndpointConnection("privateEndpointConnection", new()
        {
            FactoryName = "exampleFactoryName",
            PrivateEndpointConnectionName = "connection",
            Properties = new AzureNative.DataFactory.Inputs.PrivateLinkConnectionApprovalRequestArgs
            {
                PrivateEndpoint = new AzureNative.DataFactory.Inputs.PrivateEndpointArgs
                {
                    Id = "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint",
                },
                PrivateLinkServiceConnectionState = new AzureNative.DataFactory.Inputs.PrivateLinkConnectionStateArgs
                {
                    ActionsRequired = "",
                    Description = "Approved by admin.",
                    Status = "Approved",
                },
            },
            ResourceGroupName = "exampleResourceGroup",
        });
    
    });
    
    package main
    
    import (
    	datafactory "github.com/pulumi/pulumi-azure-native-sdk/datafactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datafactory.NewPrivateEndpointConnection(ctx, "privateEndpointConnection", &datafactory.PrivateEndpointConnectionArgs{
    			FactoryName:                   pulumi.String("exampleFactoryName"),
    			PrivateEndpointConnectionName: pulumi.String("connection"),
    			Properties: datafactory.RemotePrivateEndpointConnectionResponse{
    				PrivateEndpoint: &datafactory.PrivateEndpointArgs{
    					Id: pulumi.String("/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint"),
    				},
    				PrivateLinkServiceConnectionState: &datafactory.PrivateLinkConnectionStateArgs{
    					ActionsRequired: pulumi.String(""),
    					Description:     pulumi.String("Approved by admin."),
    					Status:          pulumi.String("Approved"),
    				},
    			},
    			ResourceGroupName: pulumi.String("exampleResourceGroup"),
    		})
    		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.datafactory.PrivateEndpointConnection;
    import com.pulumi.azurenative.datafactory.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()        
                .factoryName("exampleFactoryName")
                .privateEndpointConnectionName("connection")
                .properties(Map.ofEntries(
                    Map.entry("privateEndpoint", Map.of("id", "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint")),
                    Map.entry("privateLinkServiceConnectionState", Map.ofEntries(
                        Map.entry("actionsRequired", ""),
                        Map.entry("description", "Approved by admin."),
                        Map.entry("status", "Approved")
                    ))
                ))
                .resourceGroupName("exampleResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    private_endpoint_connection = azure_native.datafactory.PrivateEndpointConnection("privateEndpointConnection",
        factory_name="exampleFactoryName",
        private_endpoint_connection_name="connection",
        properties=azure_native.datafactory.RemotePrivateEndpointConnectionResponseArgs(
            private_endpoint=azure_native.datafactory.PrivateEndpointArgs(
                id="/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint",
            ),
            private_link_service_connection_state=azure_native.datafactory.PrivateLinkConnectionStateArgs(
                actions_required="",
                description="Approved by admin.",
                status="Approved",
            ),
        ),
        resource_group_name="exampleResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const privateEndpointConnection = new azure_native.datafactory.PrivateEndpointConnection("privateEndpointConnection", {
        factoryName: "exampleFactoryName",
        privateEndpointConnectionName: "connection",
        properties: {
            privateEndpoint: {
                id: "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint",
            },
            privateLinkServiceConnectionState: {
                actionsRequired: "",
                description: "Approved by admin.",
                status: "Approved",
            },
        },
        resourceGroupName: "exampleResourceGroup",
    });
    
    resources:
      privateEndpointConnection:
        type: azure-native:datafactory:PrivateEndpointConnection
        properties:
          factoryName: exampleFactoryName
          privateEndpointConnectionName: connection
          properties:
            privateEndpoint:
              id: /subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint
            privateLinkServiceConnectionState:
              actionsRequired:
              description: Approved by admin.
              status: Approved
          resourceGroupName: exampleResourceGroup
    

    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,
                                  factory_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  private_endpoint_connection_name: Optional[str] = None,
                                  properties: Optional[PrivateLinkConnectionApprovalRequestArgs] = 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:datafactory: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 exampleprivateEndpointConnectionResourceResourceFromDatafactory = new AzureNative.Datafactory.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatafactory", new()
    {
        FactoryName = "string",
        ResourceGroupName = "string",
        PrivateEndpointConnectionName = "string",
        Properties = 
        {
            { "privateEndpoint", 
            {
                { "id", "string" },
            } },
            { "privateLinkServiceConnectionState", 
            {
                { "actionsRequired", "string" },
                { "description", "string" },
                { "status", "string" },
            } },
        },
    });
    
    example, err := datafactory.NewPrivateEndpointConnection(ctx, "exampleprivateEndpointConnectionResourceResourceFromDatafactory", &datafactory.PrivateEndpointConnectionArgs{
    	FactoryName:                   "string",
    	ResourceGroupName:             "string",
    	PrivateEndpointConnectionName: "string",
    	Properties: map[string]interface{}{
    		"privateEndpoint": map[string]interface{}{
    			"id": "string",
    		},
    		"privateLinkServiceConnectionState": map[string]interface{}{
    			"actionsRequired": "string",
    			"description":     "string",
    			"status":          "string",
    		},
    	},
    })
    
    var exampleprivateEndpointConnectionResourceResourceFromDatafactory = new PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatafactory", PrivateEndpointConnectionArgs.builder()
        .factoryName("string")
        .resourceGroupName("string")
        .privateEndpointConnectionName("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    exampleprivate_endpoint_connection_resource_resource_from_datafactory = azure_native.datafactory.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatafactory",
        factory_name=string,
        resource_group_name=string,
        private_endpoint_connection_name=string,
        properties={
            privateEndpoint: {
                id: string,
            },
            privateLinkServiceConnectionState: {
                actionsRequired: string,
                description: string,
                status: string,
            },
        })
    
    const exampleprivateEndpointConnectionResourceResourceFromDatafactory = new azure_native.datafactory.PrivateEndpointConnection("exampleprivateEndpointConnectionResourceResourceFromDatafactory", {
        factoryName: "string",
        resourceGroupName: "string",
        privateEndpointConnectionName: "string",
        properties: {
            privateEndpoint: {
                id: "string",
            },
            privateLinkServiceConnectionState: {
                actionsRequired: "string",
                description: "string",
                status: "string",
            },
        },
    });
    
    type: azure-native:datafactory:PrivateEndpointConnection
    properties:
        factoryName: string
        privateEndpointConnectionName: string
        properties:
            privateEndpoint:
                id: string
            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

    The PrivateEndpointConnection resource accepts the following input properties:

    FactoryName string
    The factory name.
    ResourceGroupName string
    The resource group name.
    PrivateEndpointConnectionName string
    The private endpoint connection name.
    Properties Pulumi.AzureNative.DataFactory.Inputs.PrivateLinkConnectionApprovalRequest
    Core resource properties
    FactoryName string
    The factory name.
    ResourceGroupName string
    The resource group name.
    PrivateEndpointConnectionName string
    The private endpoint connection name.
    Properties PrivateLinkConnectionApprovalRequestArgs
    Core resource properties
    factoryName String
    The factory name.
    resourceGroupName String
    The resource group name.
    privateEndpointConnectionName String
    The private endpoint connection name.
    properties PrivateLinkConnectionApprovalRequest
    Core resource properties
    factoryName string
    The factory name.
    resourceGroupName string
    The resource group name.
    privateEndpointConnectionName string
    The private endpoint connection name.
    properties PrivateLinkConnectionApprovalRequest
    Core resource properties
    factory_name str
    The factory name.
    resource_group_name str
    The resource group name.
    private_endpoint_connection_name str
    The private endpoint connection name.
    properties PrivateLinkConnectionApprovalRequestArgs
    Core resource properties
    factoryName String
    The factory name.
    resourceGroupName String
    The resource group name.
    privateEndpointConnectionName String
    The private endpoint connection name.
    properties Property Map
    Core resource properties

    Outputs

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

    Etag string
    Etag identifies change in the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name.
    Type string
    The resource type.
    Etag string
    Etag identifies change in the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name.
    Type string
    The resource type.
    etag String
    Etag identifies change in the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name.
    type String
    The resource type.
    etag string
    Etag identifies change in the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name.
    type string
    The resource type.
    etag str
    Etag identifies change in the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name.
    type str
    The resource type.
    etag String
    Etag identifies change in the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name.
    type String
    The resource type.

    Supporting Types

    ArmIdWrapperResponse, ArmIdWrapperResponseArgs

    Id string
    Id string
    id String
    id string
    id str
    id String

    PrivateEndpoint, PrivateEndpointArgs

    Id string
    The resource Id for private endpoint
    Id string
    The resource Id for private endpoint
    id String
    The resource Id for private endpoint
    id string
    The resource Id for private endpoint
    id str
    The resource Id for private endpoint
    id String
    The resource Id for private endpoint

    PrivateLinkConnectionApprovalRequest, PrivateLinkConnectionApprovalRequestArgs

    PrivateEndpoint PrivateEndpoint
    The resource of private endpoint.
    PrivateLinkServiceConnectionState PrivateLinkConnectionState
    The state of a private link connection
    privateEndpoint PrivateEndpoint
    The resource of private endpoint.
    privateLinkServiceConnectionState PrivateLinkConnectionState
    The state of a private link connection
    privateEndpoint PrivateEndpoint
    The resource of private endpoint.
    privateLinkServiceConnectionState PrivateLinkConnectionState
    The state of a private link connection
    private_endpoint PrivateEndpoint
    The resource of private endpoint.
    private_link_service_connection_state PrivateLinkConnectionState
    The state of a private link connection
    privateEndpoint Property Map
    The resource of private endpoint.
    privateLinkServiceConnectionState Property Map
    The state of a private link connection

    PrivateLinkConnectionState, PrivateLinkConnectionStateArgs

    ActionsRequired string
    ActionsRequired for a private link connection
    Description string
    Description of a private link connection
    Status string
    Status of a private link connection
    ActionsRequired string
    ActionsRequired for a private link connection
    Description string
    Description of a private link connection
    Status string
    Status of a private link connection
    actionsRequired String
    ActionsRequired for a private link connection
    description String
    Description of a private link connection
    status String
    Status of a private link connection
    actionsRequired string
    ActionsRequired for a private link connection
    description string
    Description of a private link connection
    status string
    Status of a private link connection
    actions_required str
    ActionsRequired for a private link connection
    description str
    Description of a private link connection
    status str
    Status of a private link connection
    actionsRequired String
    ActionsRequired for a private link connection
    description String
    Description of a private link connection
    status String
    Status of a private link connection

    PrivateLinkConnectionStateResponse, PrivateLinkConnectionStateResponseArgs

    ActionsRequired string
    ActionsRequired for a private link connection
    Description string
    Description of a private link connection
    Status string
    Status of a private link connection
    ActionsRequired string
    ActionsRequired for a private link connection
    Description string
    Description of a private link connection
    Status string
    Status of a private link connection
    actionsRequired String
    ActionsRequired for a private link connection
    description String
    Description of a private link connection
    status String
    Status of a private link connection
    actionsRequired string
    ActionsRequired for a private link connection
    description string
    Description of a private link connection
    status string
    Status of a private link connection
    actions_required str
    ActionsRequired for a private link connection
    description str
    Description of a private link connection
    status str
    Status of a private link connection
    actionsRequired String
    ActionsRequired for a private link connection
    description String
    Description of a private link connection
    status String
    Status of a private link connection

    RemotePrivateEndpointConnectionResponse, RemotePrivateEndpointConnectionResponseArgs

    ProvisioningState string
    PrivateEndpoint ArmIdWrapperResponse
    PrivateEndpoint of a remote private endpoint connection
    PrivateLinkServiceConnectionState PrivateLinkConnectionStateResponse
    The state of a private link connection
    provisioningState String
    privateEndpoint ArmIdWrapperResponse
    PrivateEndpoint of a remote private endpoint connection
    privateLinkServiceConnectionState PrivateLinkConnectionStateResponse
    The state of a private link connection
    provisioningState string
    privateEndpoint ArmIdWrapperResponse
    PrivateEndpoint of a remote private endpoint connection
    privateLinkServiceConnectionState PrivateLinkConnectionStateResponse
    The state of a private link connection
    provisioning_state str
    private_endpoint ArmIdWrapperResponse
    PrivateEndpoint of a remote private endpoint connection
    private_link_service_connection_state PrivateLinkConnectionStateResponse
    The state of a private link connection
    provisioningState String
    privateEndpoint Property Map
    PrivateEndpoint of a remote private endpoint connection
    privateLinkServiceConnectionState Property Map
    The state of a private link connection

    Import

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

    $ pulumi import azure-native:datafactory:PrivateEndpointConnection exampleFactoryName /subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName 
    

    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