import * as pulumi from "@pulumi/pulumi"; /** * Manages a Linked Service (connection) between Data Lake Storage Gen2 and Azure Data Factory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleFactory = new azure.datafactory.Factory("example", { * name: "example", * location: example.location, * resourceGroupName: example.name, * }); * const current = azure.core.getClientConfig({}); * const exampleLinkedServiceDataLakeStorageGen2 = new azure.datafactory.LinkedServiceDataLakeStorageGen2("example", { * name: "example", * dataFactoryId: exampleFactory.id, * servicePrincipalId: current.then(current => current.clientId), * servicePrincipalKey: "exampleKey", * tenant: "11111111-1111-1111-1111-111111111111", * url: "https://datalakestoragegen2", * }); * ``` * * ## Import * * Data Factory Data Lake Storage Gen2 Linked Services can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:datafactory/linkedServiceDataLakeStorageGen2:LinkedServiceDataLakeStorageGen2 example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/linkedservices/example * ``` */ export declare class LinkedServiceDataLakeStorageGen2 extends pulumi.CustomResource { /** * Get an existing LinkedServiceDataLakeStorageGen2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: LinkedServiceDataLakeStorageGen2State, opts?: pulumi.CustomResourceOptions): LinkedServiceDataLakeStorageGen2; /** * Returns true if the given object is an instance of LinkedServiceDataLakeStorageGen2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is LinkedServiceDataLakeStorageGen2; /** * A map of additional properties to associate with the Data Factory Linked Service. * * The following supported arguments are specific to Data Lake Storage Gen2 Linked Service: */ readonly additionalProperties: pulumi.Output<{ [key: string]: string; } | undefined>; /** * List of tags that can be used for describing the Data Factory Linked Service. */ readonly annotations: pulumi.Output; /** * The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource. */ readonly dataFactoryId: pulumi.Output; /** * The description for the Data Factory Linked Service. */ readonly description: pulumi.Output; /** * The integration runtime reference to associate with the Data Factory Linked Service. */ readonly integrationRuntimeName: pulumi.Output; /** * 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](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions. */ readonly name: pulumi.Output; /** * A map of parameters to associate with the Data Factory Linked Service. */ readonly parameters: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `storageAccountKey` and `useManagedIdentity`. */ readonly servicePrincipalId: pulumi.Output; /** * The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account. */ readonly servicePrincipalKey: pulumi.Output; /** * The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `servicePrincipalId`, `servicePrincipalKey`, `tenant` and `useManagedIdentity`. */ readonly storageAccountKey: pulumi.Output; /** * The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account. * * > **Note:** If `servicePrincipalId` is used, `servicePrincipalKey` and `tenant` are also required. */ readonly tenant: pulumi.Output; /** * The endpoint for the Azure Data Lake Storage Gen2 service. * * > **Note:** Users should specify only one of the following three authentication strategies: storage account key, managed identity, service principal. */ readonly url: pulumi.Output; /** * Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `servicePrincipalId`, `servicePrincipalKey`, `tenant` and `storageAccountKey`. */ readonly useManagedIdentity: pulumi.Output; /** * Create a LinkedServiceDataLakeStorageGen2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: LinkedServiceDataLakeStorageGen2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LinkedServiceDataLakeStorageGen2 resources. */ export interface LinkedServiceDataLakeStorageGen2State { /** * A map of additional properties to associate with the Data Factory Linked Service. * * The following supported arguments are specific to Data Lake Storage Gen2 Linked Service: */ additionalProperties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * List of tags that can be used for describing the Data Factory Linked Service. */ annotations?: pulumi.Input[]>; /** * The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource. */ dataFactoryId?: pulumi.Input; /** * The description for the Data Factory Linked Service. */ description?: pulumi.Input; /** * The integration runtime reference to associate with the Data Factory Linked Service. */ integrationRuntimeName?: pulumi.Input; /** * 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](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions. */ name?: pulumi.Input; /** * A map of parameters to associate with the Data Factory Linked Service. */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `storageAccountKey` and `useManagedIdentity`. */ servicePrincipalId?: pulumi.Input; /** * The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account. */ servicePrincipalKey?: pulumi.Input; /** * The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `servicePrincipalId`, `servicePrincipalKey`, `tenant` and `useManagedIdentity`. */ storageAccountKey?: pulumi.Input; /** * The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account. * * > **Note:** If `servicePrincipalId` is used, `servicePrincipalKey` and `tenant` are also required. */ tenant?: pulumi.Input; /** * The endpoint for the Azure Data Lake Storage Gen2 service. * * > **Note:** Users should specify only one of the following three authentication strategies: storage account key, managed identity, service principal. */ url?: pulumi.Input; /** * Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `servicePrincipalId`, `servicePrincipalKey`, `tenant` and `storageAccountKey`. */ useManagedIdentity?: pulumi.Input; } /** * The set of arguments for constructing a LinkedServiceDataLakeStorageGen2 resource. */ export interface LinkedServiceDataLakeStorageGen2Args { /** * A map of additional properties to associate with the Data Factory Linked Service. * * The following supported arguments are specific to Data Lake Storage Gen2 Linked Service: */ additionalProperties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * List of tags that can be used for describing the Data Factory Linked Service. */ annotations?: pulumi.Input[]>; /** * The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource. */ dataFactoryId: pulumi.Input; /** * The description for the Data Factory Linked Service. */ description?: pulumi.Input; /** * The integration runtime reference to associate with the Data Factory Linked Service. */ integrationRuntimeName?: pulumi.Input; /** * 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](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions. */ name?: pulumi.Input; /** * A map of parameters to associate with the Data Factory Linked Service. */ parameters?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The service principal id with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `storageAccountKey` and `useManagedIdentity`. */ servicePrincipalId?: pulumi.Input; /** * The service principal key with which to authenticate against the Azure Data Lake Storage Gen2 account. */ servicePrincipalKey?: pulumi.Input; /** * The Storage Account Key with which to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `servicePrincipalId`, `servicePrincipalKey`, `tenant` and `useManagedIdentity`. */ storageAccountKey?: pulumi.Input; /** * The tenant id or name in which the service principal exists to authenticate against the Azure Data Lake Storage Gen2 account. * * > **Note:** If `servicePrincipalId` is used, `servicePrincipalKey` and `tenant` are also required. */ tenant?: pulumi.Input; /** * The endpoint for the Azure Data Lake Storage Gen2 service. * * > **Note:** Users should specify only one of the following three authentication strategies: storage account key, managed identity, service principal. */ url: pulumi.Input; /** * Whether to use the Data Factory's managed identity to authenticate against the Azure Data Lake Storage Gen2 account. Incompatible with `servicePrincipalId`, `servicePrincipalKey`, `tenant` and `storageAccountKey`. */ useManagedIdentity?: pulumi.Input; }