import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Linked Service (connection) between an Azure Blob Storage Account and Azure Data Factory. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const exampleResourceGroup = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const example = azure.storage.getAccountOutput({ * name: "storageaccountname", * resourceGroupName: exampleResourceGroup.name, * }); * const exampleFactory = new azure.datafactory.Factory("example", { * name: "example", * location: exampleResourceGroup.location, * resourceGroupName: exampleResourceGroup.name, * }); * const exampleLinkedServiceAzureBlobStorage = new azure.datafactory.LinkedServiceAzureBlobStorage("example", { * name: "example", * dataFactoryId: exampleFactory.id, * connectionString: example.apply(example => example.primaryConnectionString), * }); * ``` * * ## Import * * Data Factory Linked Service's can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/linkedservices/example * ``` */ export declare class LinkedServiceAzureBlobStorage extends pulumi.CustomResource { /** * Get an existing LinkedServiceAzureBlobStorage 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?: LinkedServiceAzureBlobStorageState, opts?: pulumi.CustomResourceOptions): LinkedServiceAzureBlobStorage; /** * Returns true if the given object is an instance of LinkedServiceAzureBlobStorage. 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 LinkedServiceAzureBlobStorage; /** * A map of additional properties to associate with the Data Factory Linked Service. * * The following supported arguments are specific to Azure Blob Storage 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 connection string. Conflicts with `connectionStringInsecure`, `sasUri` and `serviceEndpoint`. */ readonly connectionString: pulumi.Output; /** * The connection string sent insecurely. Conflicts with `connectionString`, `sasUri` and `serviceEndpoint`. * * > **Note:** `connectionString` uses the Azure [SecureString](https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.datafactory.models.securestring) to encrypt the contents within the REST payload sent to Azure whilst the `connectionStringInsecure` is sent as a regular string. Both properties are still sent using SSL/HTTPS. At this time the portal will not decrypt Secure Strings so the `connectionString` property in the portal will show as `******` whilst `connectionStringInsecure` will be viewable in the portal. */ readonly connectionStringInsecure: 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; /** * @deprecated the `keyVaultSasToken` property has been deprecated in favour of the `sasTokenLinkedKeyVaultKey` property and will be removed in v5.0 of the AzureRM Provider */ readonly keyVaultSasToken: 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>; /** * A `sasTokenLinkedKeyVaultKey` block as defined below. Use this argument to store SAS Token in an existing Key Vault. It needs an existing Key Vault Data Factory Linked Service. A `sasUri` is required. */ readonly sasTokenLinkedKeyVaultKey: pulumi.Output; /** * The SAS URI. Conflicts with `connectionStringInsecure`, `connectionString` and `serviceEndpoint`. */ readonly sasUri: pulumi.Output; readonly serviceEndpoint: pulumi.Output; readonly servicePrincipalId: pulumi.Output; readonly servicePrincipalKey: pulumi.Output; readonly servicePrincipalLinkedKeyVaultKey: pulumi.Output; readonly storageKind: pulumi.Output; readonly tenantId: pulumi.Output; readonly useManagedIdentity: pulumi.Output; /** * Create a LinkedServiceAzureBlobStorage 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: LinkedServiceAzureBlobStorageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering LinkedServiceAzureBlobStorage resources. */ export interface LinkedServiceAzureBlobStorageState { /** * A map of additional properties to associate with the Data Factory Linked Service. * * The following supported arguments are specific to Azure Blob Storage 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 connection string. Conflicts with `connectionStringInsecure`, `sasUri` and `serviceEndpoint`. */ connectionString?: pulumi.Input; /** * The connection string sent insecurely. Conflicts with `connectionString`, `sasUri` and `serviceEndpoint`. * * > **Note:** `connectionString` uses the Azure [SecureString](https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.datafactory.models.securestring) to encrypt the contents within the REST payload sent to Azure whilst the `connectionStringInsecure` is sent as a regular string. Both properties are still sent using SSL/HTTPS. At this time the portal will not decrypt Secure Strings so the `connectionString` property in the portal will show as `******` whilst `connectionStringInsecure` will be viewable in the portal. */ connectionStringInsecure?: 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; /** * @deprecated the `keyVaultSasToken` property has been deprecated in favour of the `sasTokenLinkedKeyVaultKey` property and will be removed in v5.0 of the AzureRM Provider */ keyVaultSasToken?: 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; }>; /** * A `sasTokenLinkedKeyVaultKey` block as defined below. Use this argument to store SAS Token in an existing Key Vault. It needs an existing Key Vault Data Factory Linked Service. A `sasUri` is required. */ sasTokenLinkedKeyVaultKey?: pulumi.Input; /** * The SAS URI. Conflicts with `connectionStringInsecure`, `connectionString` and `serviceEndpoint`. */ sasUri?: pulumi.Input; serviceEndpoint?: pulumi.Input; servicePrincipalId?: pulumi.Input; servicePrincipalKey?: pulumi.Input; servicePrincipalLinkedKeyVaultKey?: pulumi.Input; storageKind?: pulumi.Input; tenantId?: pulumi.Input; useManagedIdentity?: pulumi.Input; } /** * The set of arguments for constructing a LinkedServiceAzureBlobStorage resource. */ export interface LinkedServiceAzureBlobStorageArgs { /** * A map of additional properties to associate with the Data Factory Linked Service. * * The following supported arguments are specific to Azure Blob Storage 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 connection string. Conflicts with `connectionStringInsecure`, `sasUri` and `serviceEndpoint`. */ connectionString?: pulumi.Input; /** * The connection string sent insecurely. Conflicts with `connectionString`, `sasUri` and `serviceEndpoint`. * * > **Note:** `connectionString` uses the Azure [SecureString](https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.datafactory.models.securestring) to encrypt the contents within the REST payload sent to Azure whilst the `connectionStringInsecure` is sent as a regular string. Both properties are still sent using SSL/HTTPS. At this time the portal will not decrypt Secure Strings so the `connectionString` property in the portal will show as `******` whilst `connectionStringInsecure` will be viewable in the portal. */ connectionStringInsecure?: 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; /** * @deprecated the `keyVaultSasToken` property has been deprecated in favour of the `sasTokenLinkedKeyVaultKey` property and will be removed in v5.0 of the AzureRM Provider */ keyVaultSasToken?: 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; }>; /** * A `sasTokenLinkedKeyVaultKey` block as defined below. Use this argument to store SAS Token in an existing Key Vault. It needs an existing Key Vault Data Factory Linked Service. A `sasUri` is required. */ sasTokenLinkedKeyVaultKey?: pulumi.Input; /** * The SAS URI. Conflicts with `connectionStringInsecure`, `connectionString` and `serviceEndpoint`. */ sasUri?: pulumi.Input; serviceEndpoint?: pulumi.Input; servicePrincipalId?: pulumi.Input; servicePrincipalKey?: pulumi.Input; servicePrincipalLinkedKeyVaultKey?: pulumi.Input; storageKind?: pulumi.Input; tenantId?: pulumi.Input; useManagedIdentity?: pulumi.Input; }