1. Packages
  2. Azure Native
  3. API Docs
  4. datafactory
  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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.datafactory.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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    Private Endpoint Connection ARM resource. Azure REST API version: 2018-06-01. Prior API version in Azure Native 1.x: 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 (
    	"github.com/pulumi/pulumi-azure-native-sdk/datafactory/v2"
    	"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.PrivateLinkConnectionApprovalRequestArgs{
    				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 com.pulumi.azurenative.datafactory.inputs.PrivateLinkConnectionApprovalRequestArgs;
    import com.pulumi.azurenative.datafactory.inputs.PrivateEndpointArgs;
    import com.pulumi.azurenative.datafactory.inputs.PrivateLinkConnectionStateArgs;
    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(PrivateLinkConnectionApprovalRequestArgs.builder()
                    .privateEndpoint(PrivateEndpointArgs.builder()
                        .id("/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint")
                        .build())
                    .privateLinkServiceConnectionState(PrivateLinkConnectionStateArgs.builder()
                        .actionsRequired("")
                        .description("Approved by admin.")
                        .status("Approved")
                        .build())
                    .build())
                .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.PrivateLinkConnectionApprovalRequestArgs(
            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

    new PrivateEndpointConnection(name: string, args: PrivateEndpointConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateEndpointConnection(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  factory_name: Optional[str] = None,
                                  private_endpoint_connection_name: Optional[str] = None,
                                  properties: Optional[PrivateLinkConnectionApprovalRequestArgs] = None,
                                  resource_group_name: Optional[str] = None)
    @overload
    def PrivateEndpointConnection(resource_name: str,
                                  args: PrivateEndpointConnectionArgs,
                                  opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/privateEndpointConnections/{privateEndpointConnectionName} 
    

    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.34.0 published on Thursday, Mar 28, 2024 by Pulumi