1. Packages
  2. Azure Classic
  3. API Docs
  4. datafactory
  5. LinkedServiceDataLakeStorageGen2

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Linked Service (connection) between Data Lake Storage Gen2 and Azure Data Factory.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleFactory = new Azure.DataFactory.Factory("exampleFactory", new Azure.DataFactory.FactoryArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
            });
            var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
            var exampleLinkedServiceDataLakeStorageGen2 = new Azure.DataFactory.LinkedServiceDataLakeStorageGen2("exampleLinkedServiceDataLakeStorageGen2", new Azure.DataFactory.LinkedServiceDataLakeStorageGen2Args
            {
                ResourceGroupName = exampleResourceGroup.Name,
                DataFactoryId = exampleFactory.Id,
                ServicePrincipalId = current.Apply(current => current.ClientId),
                ServicePrincipalKey = "exampleKey",
                Tenant = "11111111-1111-1111-1111-111111111111",
                Url = "https://datalakestoragegen2",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datafactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleFactory, err := datafactory.NewFactory(ctx, "exampleFactory", &datafactory.FactoryArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    		})
    		if err != nil {
    			return err
    		}
    		current, err := core.GetClientConfig(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		_, err = datafactory.NewLinkedServiceDataLakeStorageGen2(ctx, "exampleLinkedServiceDataLakeStorageGen2", &datafactory.LinkedServiceDataLakeStorageGen2Args{
    			ResourceGroupName:   exampleResourceGroup.Name,
    			DataFactoryId:       exampleFactory.ID(),
    			ServicePrincipalId:  pulumi.String(current.ClientId),
    			ServicePrincipalKey: pulumi.String("exampleKey"),
    			Tenant:              pulumi.String("11111111-1111-1111-1111-111111111111"),
    			Url:                 pulumi.String("https://datalakestoragegen2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleFactory = new azure.datafactory.Factory("exampleFactory", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
    });
    const current = azure.core.getClientConfig({});
    const exampleLinkedServiceDataLakeStorageGen2 = new azure.datafactory.LinkedServiceDataLakeStorageGen2("exampleLinkedServiceDataLakeStorageGen2", {
        resourceGroupName: exampleResourceGroup.name,
        dataFactoryId: exampleFactory.id,
        servicePrincipalId: current.then(current => current.clientId),
        servicePrincipalKey: "exampleKey",
        tenant: "11111111-1111-1111-1111-111111111111",
        url: "https://datalakestoragegen2",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_factory = azure.datafactory.Factory("exampleFactory",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name)
    current = azure.core.get_client_config()
    example_linked_service_data_lake_storage_gen2 = azure.datafactory.LinkedServiceDataLakeStorageGen2("exampleLinkedServiceDataLakeStorageGen2",
        resource_group_name=example_resource_group.name,
        data_factory_id=example_factory.id,
        service_principal_id=current.client_id,
        service_principal_key="exampleKey",
        tenant="11111111-1111-1111-1111-111111111111",
        url="https://datalakestoragegen2")
    

    Example coming soon!

    Create LinkedServiceDataLakeStorageGen2 Resource

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

    Constructor syntax

    new LinkedServiceDataLakeStorageGen2(name: string, args: LinkedServiceDataLakeStorageGen2Args, opts?: CustomResourceOptions);
    @overload
    def LinkedServiceDataLakeStorageGen2(resource_name: str,
                                         args: LinkedServiceDataLakeStorageGen2Args,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def LinkedServiceDataLakeStorageGen2(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         resource_group_name: Optional[str] = None,
                                         url: Optional[str] = None,
                                         name: Optional[str] = None,
                                         data_factory_name: Optional[str] = None,
                                         description: Optional[str] = None,
                                         integration_runtime_name: Optional[str] = None,
                                         additional_properties: Optional[Mapping[str, str]] = None,
                                         parameters: Optional[Mapping[str, str]] = None,
                                         data_factory_id: Optional[str] = None,
                                         service_principal_id: Optional[str] = None,
                                         service_principal_key: Optional[str] = None,
                                         storage_account_key: Optional[str] = None,
                                         tenant: Optional[str] = None,
                                         annotations: Optional[Sequence[str]] = None,
                                         use_managed_identity: Optional[bool] = None)
    func NewLinkedServiceDataLakeStorageGen2(ctx *Context, name string, args LinkedServiceDataLakeStorageGen2Args, opts ...ResourceOption) (*LinkedServiceDataLakeStorageGen2, error)
    public LinkedServiceDataLakeStorageGen2(string name, LinkedServiceDataLakeStorageGen2Args args, CustomResourceOptions? opts = null)
    public LinkedServiceDataLakeStorageGen2(String name, LinkedServiceDataLakeStorageGen2Args args)
    public LinkedServiceDataLakeStorageGen2(String name, LinkedServiceDataLakeStorageGen2Args args, CustomResourceOptions options)
    
    type: azure:datafactory:LinkedServiceDataLakeStorageGen2
    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 LinkedServiceDataLakeStorageGen2Args
    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 LinkedServiceDataLakeStorageGen2Args
    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 LinkedServiceDataLakeStorageGen2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LinkedServiceDataLakeStorageGen2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LinkedServiceDataLakeStorageGen2Args
    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 linkedServiceDataLakeStorageGen2Resource = new Azure.DataFactory.LinkedServiceDataLakeStorageGen2("linkedServiceDataLakeStorageGen2Resource", new()
    {
        ResourceGroupName = "string",
        Url = "string",
        Name = "string",
        Description = "string",
        IntegrationRuntimeName = "string",
        AdditionalProperties = 
        {
            { "string", "string" },
        },
        Parameters = 
        {
            { "string", "string" },
        },
        DataFactoryId = "string",
        ServicePrincipalId = "string",
        ServicePrincipalKey = "string",
        StorageAccountKey = "string",
        Tenant = "string",
        Annotations = new[]
        {
            "string",
        },
        UseManagedIdentity = false,
    });
    
    example, err := datafactory.NewLinkedServiceDataLakeStorageGen2(ctx, "linkedServiceDataLakeStorageGen2Resource", &datafactory.LinkedServiceDataLakeStorageGen2Args{
    	ResourceGroupName:      pulumi.String("string"),
    	Url:                    pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Description:            pulumi.String("string"),
    	IntegrationRuntimeName: pulumi.String("string"),
    	AdditionalProperties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Parameters: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DataFactoryId:       pulumi.String("string"),
    	ServicePrincipalId:  pulumi.String("string"),
    	ServicePrincipalKey: pulumi.String("string"),
    	StorageAccountKey:   pulumi.String("string"),
    	Tenant:              pulumi.String("string"),
    	Annotations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	UseManagedIdentity: pulumi.Bool(false),
    })
    
    var linkedServiceDataLakeStorageGen2Resource = new LinkedServiceDataLakeStorageGen2("linkedServiceDataLakeStorageGen2Resource", LinkedServiceDataLakeStorageGen2Args.builder()
        .resourceGroupName("string")
        .url("string")
        .name("string")
        .description("string")
        .integrationRuntimeName("string")
        .additionalProperties(Map.of("string", "string"))
        .parameters(Map.of("string", "string"))
        .dataFactoryId("string")
        .servicePrincipalId("string")
        .servicePrincipalKey("string")
        .storageAccountKey("string")
        .tenant("string")
        .annotations("string")
        .useManagedIdentity(false)
        .build());
    
    linked_service_data_lake_storage_gen2_resource = azure.datafactory.LinkedServiceDataLakeStorageGen2("linkedServiceDataLakeStorageGen2Resource",
        resource_group_name="string",
        url="string",
        name="string",
        description="string",
        integration_runtime_name="string",
        additional_properties={
            "string": "string",
        },
        parameters={
            "string": "string",
        },
        data_factory_id="string",
        service_principal_id="string",
        service_principal_key="string",
        storage_account_key="string",
        tenant="string",
        annotations=["string"],
        use_managed_identity=False)
    
    const linkedServiceDataLakeStorageGen2Resource = new azure.datafactory.LinkedServiceDataLakeStorageGen2("linkedServiceDataLakeStorageGen2Resource", {
        resourceGroupName: "string",
        url: "string",
        name: "string",
        description: "string",
        integrationRuntimeName: "string",
        additionalProperties: {
            string: "string",
        },
        parameters: {
            string: "string",
        },
        dataFactoryId: "string",
        servicePrincipalId: "string",
        servicePrincipalKey: "string",
        storageAccountKey: "string",
        tenant: "string",
        annotations: ["string"],
        useManagedIdentity: false,
    });
    
    type: azure:datafactory:LinkedServiceDataLakeStorageGen2
    properties:
        additionalProperties:
            string: string
        annotations:
            - string
        dataFactoryId: string
        description: string
        integrationRuntimeName: string
        name: string
        parameters:
            string: string
        resourceGroupName: string
        servicePrincipalId: string
        servicePrincipalKey: string
        storageAccountKey: string
        tenant: string
        url: string
        useManagedIdentity: false
    

    LinkedServiceDataLakeStorageGen2 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 LinkedServiceDataLakeStorageGen2 resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    Url string
    The endpoint for the Azure Data Lake Storage Gen2 service.
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Linked Service.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Linked Service.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    Description string
    The description for the Data Factory Linked Service.
    IntegrationRuntimeName string
    The integration runtime reference to associate with the Data Factory Linked Service.
    Name string
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    Parameters Dictionary<string, string>
    A map of parameters to associate with the Data Factory Linked Service.
    ServicePrincipalId string
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    ServicePrincipalKey string
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    StorageAccountKey string
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    Tenant string
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    UseManagedIdentity bool
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    Url string
    The endpoint for the Azure Data Lake Storage Gen2 service.
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Linked Service.
    Annotations []string
    List of tags that can be used for describing the Data Factory Linked Service.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    Description string
    The description for the Data Factory Linked Service.
    IntegrationRuntimeName string
    The integration runtime reference to associate with the Data Factory Linked Service.
    Name string
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    Parameters map[string]string
    A map of parameters to associate with the Data Factory Linked Service.
    ServicePrincipalId string
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    ServicePrincipalKey string
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    StorageAccountKey string
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    Tenant string
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    UseManagedIdentity bool
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    url String
    The endpoint for the Azure Data Lake Storage Gen2 service.
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Linked Service.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description String
    The description for the Data Factory Linked Service.
    integrationRuntimeName String
    The integration runtime reference to associate with the Data Factory Linked Service.
    name String
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters Map<String,String>
    A map of parameters to associate with the Data Factory Linked Service.
    servicePrincipalId String
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    servicePrincipalKey String
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storageAccountKey String
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant String
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    useManagedIdentity Boolean
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    resourceGroupName string
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    url string
    The endpoint for the Azure Data Lake Storage Gen2 service.
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations string[]
    List of tags that can be used for describing the Data Factory Linked Service.
    dataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description string
    The description for the Data Factory Linked Service.
    integrationRuntimeName string
    The integration runtime reference to associate with the Data Factory Linked Service.
    name string
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters {[key: string]: string}
    A map of parameters to associate with the Data Factory Linked Service.
    servicePrincipalId string
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    servicePrincipalKey string
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storageAccountKey string
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant string
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    useManagedIdentity boolean
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    resource_group_name str
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    url str
    The endpoint for the Azure Data Lake Storage Gen2 service.
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Linked Service.
    data_factory_id str
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    data_factory_name str
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description str
    The description for the Data Factory Linked Service.
    integration_runtime_name str
    The integration runtime reference to associate with the Data Factory Linked Service.
    name str
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters Mapping[str, str]
    A map of parameters to associate with the Data Factory Linked Service.
    service_principal_id str
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    service_principal_key str
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storage_account_key str
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant str
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    use_managed_identity bool
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    url String
    The endpoint for the Azure Data Lake Storage Gen2 service.
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Linked Service.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description String
    The description for the Data Factory Linked Service.
    integrationRuntimeName String
    The integration runtime reference to associate with the Data Factory Linked Service.
    name String
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters Map<String>
    A map of parameters to associate with the Data Factory Linked Service.
    servicePrincipalId String
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    servicePrincipalKey String
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storageAccountKey String
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant String
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    useManagedIdentity Boolean
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing LinkedServiceDataLakeStorageGen2 Resource

    Get an existing LinkedServiceDataLakeStorageGen2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: LinkedServiceDataLakeStorageGen2State, opts?: CustomResourceOptions): LinkedServiceDataLakeStorageGen2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_properties: Optional[Mapping[str, str]] = None,
            annotations: Optional[Sequence[str]] = None,
            data_factory_id: Optional[str] = None,
            data_factory_name: Optional[str] = None,
            description: Optional[str] = None,
            integration_runtime_name: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[Mapping[str, str]] = None,
            resource_group_name: Optional[str] = None,
            service_principal_id: Optional[str] = None,
            service_principal_key: Optional[str] = None,
            storage_account_key: Optional[str] = None,
            tenant: Optional[str] = None,
            url: Optional[str] = None,
            use_managed_identity: Optional[bool] = None) -> LinkedServiceDataLakeStorageGen2
    func GetLinkedServiceDataLakeStorageGen2(ctx *Context, name string, id IDInput, state *LinkedServiceDataLakeStorageGen2State, opts ...ResourceOption) (*LinkedServiceDataLakeStorageGen2, error)
    public static LinkedServiceDataLakeStorageGen2 Get(string name, Input<string> id, LinkedServiceDataLakeStorageGen2State? state, CustomResourceOptions? opts = null)
    public static LinkedServiceDataLakeStorageGen2 get(String name, Output<String> id, LinkedServiceDataLakeStorageGen2State state, CustomResourceOptions options)
    resources:  _:    type: azure:datafactory:LinkedServiceDataLakeStorageGen2    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Linked Service.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Linked Service.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    Description string
    The description for the Data Factory Linked Service.
    IntegrationRuntimeName string
    The integration runtime reference to associate with the Data Factory Linked Service.
    Name string
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    Parameters Dictionary<string, string>
    A map of parameters to associate with the Data Factory Linked Service.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    ServicePrincipalId string
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    ServicePrincipalKey string
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    StorageAccountKey string
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    Tenant string
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    Url string
    The endpoint for the Azure Data Lake Storage Gen2 service.
    UseManagedIdentity bool
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Linked Service.
    Annotations []string
    List of tags that can be used for describing the Data Factory Linked Service.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    Description string
    The description for the Data Factory Linked Service.
    IntegrationRuntimeName string
    The integration runtime reference to associate with the Data Factory Linked Service.
    Name string
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    Parameters map[string]string
    A map of parameters to associate with the Data Factory Linked Service.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    ServicePrincipalId string
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    ServicePrincipalKey string
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    StorageAccountKey string
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    Tenant string
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    Url string
    The endpoint for the Azure Data Lake Storage Gen2 service.
    UseManagedIdentity bool
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Linked Service.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description String
    The description for the Data Factory Linked Service.
    integrationRuntimeName String
    The integration runtime reference to associate with the Data Factory Linked Service.
    name String
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters Map<String,String>
    A map of parameters to associate with the Data Factory Linked Service.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    servicePrincipalId String
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    servicePrincipalKey String
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storageAccountKey String
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant String
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    url String
    The endpoint for the Azure Data Lake Storage Gen2 service.
    useManagedIdentity Boolean
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations string[]
    List of tags that can be used for describing the Data Factory Linked Service.
    dataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description string
    The description for the Data Factory Linked Service.
    integrationRuntimeName string
    The integration runtime reference to associate with the Data Factory Linked Service.
    name string
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters {[key: string]: string}
    A map of parameters to associate with the Data Factory Linked Service.
    resourceGroupName string
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    servicePrincipalId string
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    servicePrincipalKey string
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storageAccountKey string
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant string
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    url string
    The endpoint for the Azure Data Lake Storage Gen2 service.
    useManagedIdentity boolean
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Linked Service.
    data_factory_id str
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    data_factory_name str
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description str
    The description for the Data Factory Linked Service.
    integration_runtime_name str
    The integration runtime reference to associate with the Data Factory Linked Service.
    name str
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters Mapping[str, str]
    A map of parameters to associate with the Data Factory Linked Service.
    resource_group_name str
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    service_principal_id str
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    service_principal_key str
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storage_account_key str
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant str
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    url str
    The endpoint for the Azure Data Lake Storage Gen2 service.
    use_managed_identity bool
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Linked Service.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Linked Service.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

    Deprecated: data_factory_name is deprecated in favour of data_factory_id and will be removed in version 3.0 of the AzureRM provider

    description String
    The description for the Data Factory Linked Service.
    integrationRuntimeName String
    The integration runtime reference to associate with the Data Factory Linked Service.
    name String
    Specifies the name of the Data Factory Linked Service. Changing this forces a new resource to be created. Must be unique within a data factory. See the Microsoft documentation for all restrictions.
    parameters Map<String>
    A map of parameters to associate with the Data Factory Linked Service.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
    servicePrincipalId String
    The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with storage_account_key and use_managed_identity.
    servicePrincipalKey String
    The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account.
    storageAccountKey String
    The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and use_managed_identity.
    tenant String
    The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account.
    url String
    The endpoint for the Azure Data Lake Storage Gen2 service.
    useManagedIdentity Boolean
    Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with service_principal_id, service_principal_key, tenant and storage_account_key.

    Import

    Data Factory Data Lake Storage Gen2 Linked Services can be imported using the resource id, e.g.

     $ pulumi import azure:datafactory/linkedServiceDataLakeStorageGen2:LinkedServiceDataLakeStorageGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/linkedservices/example
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.