We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Linked Service (connection) between an Azure Blob Storage Account 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 exampleAccount = Azure.Storage.GetAccount.Invoke(new Azure.Storage.GetAccountInvokeArgs
{
Name = "storageaccountname",
ResourceGroupName = exampleResourceGroup.Name,
});
var exampleFactory = new Azure.DataFactory.Factory("exampleFactory", new Azure.DataFactory.FactoryArgs
{
Location = exampleResourceGroup.Location,
ResourceGroupName = exampleResourceGroup.Name,
});
var exampleLinkedServiceAzureBlobStorage = new Azure.DataFactory.LinkedServiceAzureBlobStorage("exampleLinkedServiceAzureBlobStorage", new Azure.DataFactory.LinkedServiceAzureBlobStorageArgs
{
ResourceGroupName = exampleResourceGroup.Name,
DataFactoryId = exampleFactory.Id,
ConnectionString = exampleAccount.Apply(exampleAccount => exampleAccount.PrimaryConnectionString),
});
}
}
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-azure/sdk/v4/go/azure/storage"
"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
}
exampleAccount := storage.LookupAccountOutput(ctx, storage.GetAccountOutputArgs{
Name: pulumi.String("storageaccountname"),
ResourceGroupName: exampleResourceGroup.Name,
}, nil)
exampleFactory, err := datafactory.NewFactory(ctx, "exampleFactory", &datafactory.FactoryArgs{
Location: exampleResourceGroup.Location,
ResourceGroupName: exampleResourceGroup.Name,
})
if err != nil {
return err
}
_, err = datafactory.NewLinkedServiceAzureBlobStorage(ctx, "exampleLinkedServiceAzureBlobStorage", &datafactory.LinkedServiceAzureBlobStorageArgs{
ResourceGroupName: exampleResourceGroup.Name,
DataFactoryId: exampleFactory.ID(),
ConnectionString: exampleAccount.ApplyT(func(exampleAccount storage.GetAccountResult) (string, error) {
return exampleAccount.PrimaryConnectionString, nil
}).(pulumi.StringOutput),
})
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 exampleAccount = azure.storage.getAccountOutput({
name: "storageaccountname",
resourceGroupName: exampleResourceGroup.name,
});
const exampleFactory = new azure.datafactory.Factory("exampleFactory", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
});
const exampleLinkedServiceAzureBlobStorage = new azure.datafactory.LinkedServiceAzureBlobStorage("exampleLinkedServiceAzureBlobStorage", {
resourceGroupName: exampleResourceGroup.name,
dataFactoryId: exampleFactory.id,
connectionString: exampleAccount.apply(exampleAccount => exampleAccount.primaryConnectionString),
});
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.get_account_output(name="storageaccountname",
resource_group_name=example_resource_group.name)
example_factory = azure.datafactory.Factory("exampleFactory",
location=example_resource_group.location,
resource_group_name=example_resource_group.name)
example_linked_service_azure_blob_storage = azure.datafactory.LinkedServiceAzureBlobStorage("exampleLinkedServiceAzureBlobStorage",
resource_group_name=example_resource_group.name,
data_factory_id=example_factory.id,
connection_string=example_account.primary_connection_string)
Example coming soon!
With SAS Uri And SAS Token.
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var testResourceGroup = new Azure.Core.ResourceGroup("testResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var current = Output.Create(Azure.Core.GetClientConfig.InvokeAsync());
var testFactory = new Azure.DataFactory.Factory("testFactory", new Azure.DataFactory.FactoryArgs
{
Location = testResourceGroup.Location,
ResourceGroupName = testResourceGroup.Name,
});
var testKeyVault = new Azure.KeyVault.KeyVault("testKeyVault", new Azure.KeyVault.KeyVaultArgs
{
Location = testResourceGroup.Location,
ResourceGroupName = testResourceGroup.Name,
TenantId = current.Apply(current => current.TenantId),
SkuName = "standard",
});
var testLinkedServiceKeyVault = new Azure.DataFactory.LinkedServiceKeyVault("testLinkedServiceKeyVault", new Azure.DataFactory.LinkedServiceKeyVaultArgs
{
ResourceGroupName = testResourceGroup.Name,
DataFactoryId = testFactory.Id,
KeyVaultId = testKeyVault.Id,
});
var testLinkedServiceAzureBlobStorage = new Azure.DataFactory.LinkedServiceAzureBlobStorage("testLinkedServiceAzureBlobStorage", new Azure.DataFactory.LinkedServiceAzureBlobStorageArgs
{
ResourceGroupName = testResourceGroup.Name,
DataFactoryId = testFactory.Id,
SasUri = "https://storageaccountname.blob.core.windows.net",
KeyVaultSasToken = new Azure.DataFactory.Inputs.LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs
{
LinkedServiceName = testLinkedServiceKeyVault.Name,
SecretName = "secret",
},
});
}
}
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-azure/sdk/v4/go/azure/keyvault"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
testResourceGroup, err := core.NewResourceGroup(ctx, "testResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
current, err := core.GetClientConfig(ctx, nil, nil)
if err != nil {
return err
}
testFactory, err := datafactory.NewFactory(ctx, "testFactory", &datafactory.FactoryArgs{
Location: testResourceGroup.Location,
ResourceGroupName: testResourceGroup.Name,
})
if err != nil {
return err
}
testKeyVault, err := keyvault.NewKeyVault(ctx, "testKeyVault", &keyvault.KeyVaultArgs{
Location: testResourceGroup.Location,
ResourceGroupName: testResourceGroup.Name,
TenantId: pulumi.String(current.TenantId),
SkuName: pulumi.String("standard"),
})
if err != nil {
return err
}
testLinkedServiceKeyVault, err := datafactory.NewLinkedServiceKeyVault(ctx, "testLinkedServiceKeyVault", &datafactory.LinkedServiceKeyVaultArgs{
ResourceGroupName: testResourceGroup.Name,
DataFactoryId: testFactory.ID(),
KeyVaultId: testKeyVault.ID(),
})
if err != nil {
return err
}
_, err = datafactory.NewLinkedServiceAzureBlobStorage(ctx, "testLinkedServiceAzureBlobStorage", &datafactory.LinkedServiceAzureBlobStorageArgs{
ResourceGroupName: testResourceGroup.Name,
DataFactoryId: testFactory.ID(),
SasUri: pulumi.String("https://storageaccountname.blob.core.windows.net"),
KeyVaultSasToken: &datafactory.LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs{
LinkedServiceName: testLinkedServiceKeyVault.Name,
SecretName: pulumi.String("secret"),
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const testResourceGroup = new azure.core.ResourceGroup("testResourceGroup", {location: "West Europe"});
const current = azure.core.getClientConfig({});
const testFactory = new azure.datafactory.Factory("testFactory", {
location: testResourceGroup.location,
resourceGroupName: testResourceGroup.name,
});
const testKeyVault = new azure.keyvault.KeyVault("testKeyVault", {
location: testResourceGroup.location,
resourceGroupName: testResourceGroup.name,
tenantId: current.then(current => current.tenantId),
skuName: "standard",
});
const testLinkedServiceKeyVault = new azure.datafactory.LinkedServiceKeyVault("testLinkedServiceKeyVault", {
resourceGroupName: testResourceGroup.name,
dataFactoryId: testFactory.id,
keyVaultId: testKeyVault.id,
});
const testLinkedServiceAzureBlobStorage = new azure.datafactory.LinkedServiceAzureBlobStorage("testLinkedServiceAzureBlobStorage", {
resourceGroupName: testResourceGroup.name,
dataFactoryId: testFactory.id,
sasUri: "https://storageaccountname.blob.core.windows.net",
keyVaultSasToken: {
linkedServiceName: testLinkedServiceKeyVault.name,
secretName: "secret",
},
});
import pulumi
import pulumi_azure as azure
test_resource_group = azure.core.ResourceGroup("testResourceGroup", location="West Europe")
current = azure.core.get_client_config()
test_factory = azure.datafactory.Factory("testFactory",
location=test_resource_group.location,
resource_group_name=test_resource_group.name)
test_key_vault = azure.keyvault.KeyVault("testKeyVault",
location=test_resource_group.location,
resource_group_name=test_resource_group.name,
tenant_id=current.tenant_id,
sku_name="standard")
test_linked_service_key_vault = azure.datafactory.LinkedServiceKeyVault("testLinkedServiceKeyVault",
resource_group_name=test_resource_group.name,
data_factory_id=test_factory.id,
key_vault_id=test_key_vault.id)
test_linked_service_azure_blob_storage = azure.datafactory.LinkedServiceAzureBlobStorage("testLinkedServiceAzureBlobStorage",
resource_group_name=test_resource_group.name,
data_factory_id=test_factory.id,
sas_uri="https://storageaccountname.blob.core.windows.net",
key_vault_sas_token=azure.datafactory.LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs(
linked_service_name=test_linked_service_key_vault.name,
secret_name="secret",
))
Example coming soon!
Create LinkedServiceAzureBlobStorage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LinkedServiceAzureBlobStorage(name: string, args: LinkedServiceAzureBlobStorageArgs, opts?: CustomResourceOptions);@overload
def LinkedServiceAzureBlobStorage(resource_name: str,
args: LinkedServiceAzureBlobStorageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LinkedServiceAzureBlobStorage(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
name: Optional[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,
connection_string: Optional[str] = None,
key_vault_sas_token: Optional[LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs] = None,
parameters: Optional[Mapping[str, str]] = None,
additional_properties: Optional[Mapping[str, str]] = None,
sas_uri: Optional[str] = None,
service_endpoint: Optional[str] = None,
service_principal_id: Optional[str] = None,
service_principal_key: Optional[str] = None,
tenant_id: Optional[str] = None,
use_managed_identity: Optional[bool] = None)func NewLinkedServiceAzureBlobStorage(ctx *Context, name string, args LinkedServiceAzureBlobStorageArgs, opts ...ResourceOption) (*LinkedServiceAzureBlobStorage, error)public LinkedServiceAzureBlobStorage(string name, LinkedServiceAzureBlobStorageArgs args, CustomResourceOptions? opts = null)
public LinkedServiceAzureBlobStorage(String name, LinkedServiceAzureBlobStorageArgs args)
public LinkedServiceAzureBlobStorage(String name, LinkedServiceAzureBlobStorageArgs args, CustomResourceOptions options)
type: azure:datafactory:LinkedServiceAzureBlobStorage
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 LinkedServiceAzureBlobStorageArgs
- 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 LinkedServiceAzureBlobStorageArgs
- 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 LinkedServiceAzureBlobStorageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LinkedServiceAzureBlobStorageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LinkedServiceAzureBlobStorageArgs
- 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 linkedServiceAzureBlobStorageResource = new Azure.DataFactory.LinkedServiceAzureBlobStorage("linkedServiceAzureBlobStorageResource", new()
{
ResourceGroupName = "string",
Name = "string",
Annotations = new[]
{
"string",
},
DataFactoryId = "string",
Description = "string",
IntegrationRuntimeName = "string",
ConnectionString = "string",
KeyVaultSasToken = new Azure.DataFactory.Inputs.LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs
{
LinkedServiceName = "string",
SecretName = "string",
},
Parameters =
{
{ "string", "string" },
},
AdditionalProperties =
{
{ "string", "string" },
},
SasUri = "string",
ServiceEndpoint = "string",
ServicePrincipalId = "string",
ServicePrincipalKey = "string",
TenantId = "string",
UseManagedIdentity = false,
});
example, err := datafactory.NewLinkedServiceAzureBlobStorage(ctx, "linkedServiceAzureBlobStorageResource", &datafactory.LinkedServiceAzureBlobStorageArgs{
ResourceGroupName: pulumi.String("string"),
Name: pulumi.String("string"),
Annotations: pulumi.StringArray{
pulumi.String("string"),
},
DataFactoryId: pulumi.String("string"),
Description: pulumi.String("string"),
IntegrationRuntimeName: pulumi.String("string"),
ConnectionString: pulumi.String("string"),
KeyVaultSasToken: &datafactory.LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs{
LinkedServiceName: pulumi.String("string"),
SecretName: pulumi.String("string"),
},
Parameters: pulumi.StringMap{
"string": pulumi.String("string"),
},
AdditionalProperties: pulumi.StringMap{
"string": pulumi.String("string"),
},
SasUri: pulumi.String("string"),
ServiceEndpoint: pulumi.String("string"),
ServicePrincipalId: pulumi.String("string"),
ServicePrincipalKey: pulumi.String("string"),
TenantId: pulumi.String("string"),
UseManagedIdentity: pulumi.Bool(false),
})
var linkedServiceAzureBlobStorageResource = new LinkedServiceAzureBlobStorage("linkedServiceAzureBlobStorageResource", LinkedServiceAzureBlobStorageArgs.builder()
.resourceGroupName("string")
.name("string")
.annotations("string")
.dataFactoryId("string")
.description("string")
.integrationRuntimeName("string")
.connectionString("string")
.keyVaultSasToken(LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs.builder()
.linkedServiceName("string")
.secretName("string")
.build())
.parameters(Map.of("string", "string"))
.additionalProperties(Map.of("string", "string"))
.sasUri("string")
.serviceEndpoint("string")
.servicePrincipalId("string")
.servicePrincipalKey("string")
.tenantId("string")
.useManagedIdentity(false)
.build());
linked_service_azure_blob_storage_resource = azure.datafactory.LinkedServiceAzureBlobStorage("linkedServiceAzureBlobStorageResource",
resource_group_name="string",
name="string",
annotations=["string"],
data_factory_id="string",
description="string",
integration_runtime_name="string",
connection_string="string",
key_vault_sas_token={
"linked_service_name": "string",
"secret_name": "string",
},
parameters={
"string": "string",
},
additional_properties={
"string": "string",
},
sas_uri="string",
service_endpoint="string",
service_principal_id="string",
service_principal_key="string",
tenant_id="string",
use_managed_identity=False)
const linkedServiceAzureBlobStorageResource = new azure.datafactory.LinkedServiceAzureBlobStorage("linkedServiceAzureBlobStorageResource", {
resourceGroupName: "string",
name: "string",
annotations: ["string"],
dataFactoryId: "string",
description: "string",
integrationRuntimeName: "string",
connectionString: "string",
keyVaultSasToken: {
linkedServiceName: "string",
secretName: "string",
},
parameters: {
string: "string",
},
additionalProperties: {
string: "string",
},
sasUri: "string",
serviceEndpoint: "string",
servicePrincipalId: "string",
servicePrincipalKey: "string",
tenantId: "string",
useManagedIdentity: false,
});
type: azure:datafactory:LinkedServiceAzureBlobStorage
properties:
additionalProperties:
string: string
annotations:
- string
connectionString: string
dataFactoryId: string
description: string
integrationRuntimeName: string
keyVaultSasToken:
linkedServiceName: string
secretName: string
name: string
parameters:
string: string
resourceGroupName: string
sasUri: string
serviceEndpoint: string
servicePrincipalId: string
servicePrincipalKey: string
tenantId: string
useManagedIdentity: false
LinkedServiceAzureBlobStorage 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 LinkedServiceAzureBlobStorage resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- Additional
Properties 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.
- Connection
String string - The connection string. Conflicts with
sas_uriandservice_endpoint. - Data
Factory stringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- Data
Factory stringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- Description string
- The description for the Data Factory Linked Service.
- Integration
Runtime stringName - The integration runtime reference to associate with the Data Factory Linked Service.
- Key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- Sas
Uri string - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - Service
Endpoint string - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - Service
Principal stringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - Service
Principal stringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - Tenant
Id string - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- Use
Managed boolIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- Resource
Group stringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- Additional
Properties 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.
- Connection
String string - The connection string. Conflicts with
sas_uriandservice_endpoint. - Data
Factory stringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- Data
Factory stringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- Description string
- The description for the Data Factory Linked Service.
- Integration
Runtime stringName - The integration runtime reference to associate with the Data Factory Linked Service.
- Key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token Args - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- Sas
Uri string - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - Service
Endpoint string - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - Service
Principal stringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - Service
Principal stringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - Tenant
Id string - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- Use
Managed boolIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- resource
Group StringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- additional
Properties 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.
- connection
String String - The connection string. Conflicts with
sas_uriandservice_endpoint. - data
Factory StringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data
Factory StringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description String
- The description for the Data Factory Linked Service.
- integration
Runtime StringName - The integration runtime reference to associate with the Data Factory Linked Service.
- key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- sas
Uri String - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service
Endpoint String - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service
Principal StringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service
Principal StringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant
Id String - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use
Managed BooleanIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- resource
Group stringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- additional
Properties {[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.
- connection
String string - The connection string. Conflicts with
sas_uriandservice_endpoint. - data
Factory stringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data
Factory stringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description string
- The description for the Data Factory Linked Service.
- integration
Runtime stringName - The integration runtime reference to associate with the Data Factory Linked Service.
- key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- sas
Uri string - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service
Endpoint string - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service
Principal stringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service
Principal stringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant
Id string - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use
Managed booleanIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- resource_
group_ strname - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- 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.
- connection_
string str - The connection string. Conflicts with
sas_uriandservice_endpoint. - data_
factory_ strid - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data_
factory_ strname - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description str
- The description for the Data Factory Linked Service.
- integration_
runtime_ strname - The integration runtime reference to associate with the Data Factory Linked Service.
- key_
vault_ Linkedsas_ token Service Azure Blob Storage Key Vault Sas Token Args - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- sas_
uri str - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service_
endpoint str - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service_
principal_ strid - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service_
principal_ strkey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant_
id str - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use_
managed_ boolidentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- resource
Group StringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- additional
Properties 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.
- connection
String String - The connection string. Conflicts with
sas_uriandservice_endpoint. - data
Factory StringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data
Factory StringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description String
- The description for the Data Factory Linked Service.
- integration
Runtime StringName - The integration runtime reference to associate with the Data Factory Linked Service.
- key
Vault Property MapSas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- sas
Uri String - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service
Endpoint String - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service
Principal StringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service
Principal StringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant
Id String - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use
Managed BooleanIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
Outputs
All input properties are implicitly available as output properties. Additionally, the LinkedServiceAzureBlobStorage 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 LinkedServiceAzureBlobStorage Resource
Get an existing LinkedServiceAzureBlobStorage 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?: LinkedServiceAzureBlobStorageState, opts?: CustomResourceOptions): LinkedServiceAzureBlobStorage@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_properties: Optional[Mapping[str, str]] = None,
annotations: Optional[Sequence[str]] = None,
connection_string: Optional[str] = None,
data_factory_id: Optional[str] = None,
data_factory_name: Optional[str] = None,
description: Optional[str] = None,
integration_runtime_name: Optional[str] = None,
key_vault_sas_token: Optional[LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs] = None,
name: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
resource_group_name: Optional[str] = None,
sas_uri: Optional[str] = None,
service_endpoint: Optional[str] = None,
service_principal_id: Optional[str] = None,
service_principal_key: Optional[str] = None,
tenant_id: Optional[str] = None,
use_managed_identity: Optional[bool] = None) -> LinkedServiceAzureBlobStoragefunc GetLinkedServiceAzureBlobStorage(ctx *Context, name string, id IDInput, state *LinkedServiceAzureBlobStorageState, opts ...ResourceOption) (*LinkedServiceAzureBlobStorage, error)public static LinkedServiceAzureBlobStorage Get(string name, Input<string> id, LinkedServiceAzureBlobStorageState? state, CustomResourceOptions? opts = null)public static LinkedServiceAzureBlobStorage get(String name, Output<String> id, LinkedServiceAzureBlobStorageState state, CustomResourceOptions options)resources: _: type: azure:datafactory:LinkedServiceAzureBlobStorage 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.
- Additional
Properties 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.
- Connection
String string - The connection string. Conflicts with
sas_uriandservice_endpoint. - Data
Factory stringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- Data
Factory stringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- Description string
- The description for the Data Factory Linked Service.
- Integration
Runtime stringName - The integration runtime reference to associate with the Data Factory Linked Service.
- Key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- Resource
Group stringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- Sas
Uri string - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - Service
Endpoint string - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - Service
Principal stringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - Service
Principal stringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - Tenant
Id string - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- Use
Managed boolIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- Additional
Properties 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.
- Connection
String string - The connection string. Conflicts with
sas_uriandservice_endpoint. - Data
Factory stringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- Data
Factory stringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- Description string
- The description for the Data Factory Linked Service.
- Integration
Runtime stringName - The integration runtime reference to associate with the Data Factory Linked Service.
- Key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token Args - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- Resource
Group stringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- Sas
Uri string - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - Service
Endpoint string - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - Service
Principal stringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - Service
Principal stringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - Tenant
Id string - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- Use
Managed boolIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- additional
Properties 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.
- connection
String String - The connection string. Conflicts with
sas_uriandservice_endpoint. - data
Factory StringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data
Factory StringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description String
- The description for the Data Factory Linked Service.
- integration
Runtime StringName - The integration runtime reference to associate with the Data Factory Linked Service.
- key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- resource
Group StringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- sas
Uri String - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service
Endpoint String - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service
Principal StringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service
Principal StringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant
Id String - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use
Managed BooleanIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- additional
Properties {[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.
- connection
String string - The connection string. Conflicts with
sas_uriandservice_endpoint. - data
Factory stringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data
Factory stringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description string
- The description for the Data Factory Linked Service.
- integration
Runtime stringName - The integration runtime reference to associate with the Data Factory Linked Service.
- key
Vault LinkedSas Token Service Azure Blob Storage Key Vault Sas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- resource
Group stringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- sas
Uri string - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service
Endpoint string - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service
Principal stringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service
Principal stringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant
Id string - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use
Managed booleanIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_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.
- connection_
string str - The connection string. Conflicts with
sas_uriandservice_endpoint. - data_
factory_ strid - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data_
factory_ strname - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description str
- The description for the Data Factory Linked Service.
- integration_
runtime_ strname - The integration runtime reference to associate with the Data Factory Linked Service.
- key_
vault_ Linkedsas_ token Service Azure Blob Storage Key Vault Sas Token Args - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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_ strname - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- sas_
uri str - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service_
endpoint str - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service_
principal_ strid - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service_
principal_ strkey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant_
id str - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use_
managed_ boolidentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
- additional
Properties 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.
- connection
String String - The connection string. Conflicts with
sas_uriandservice_endpoint. - data
Factory StringId - The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
- data
Factory StringName - The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.
- description String
- The description for the Data Factory Linked Service.
- integration
Runtime StringName - The integration runtime reference to associate with the Data Factory Linked Service.
- key
Vault Property MapSas Token - A
key_vault_sas_tokenblock 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. Asas_uriis required. - 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.
- resource
Group StringName - The name of the resource group in which to create the Data Factory Linked Service. Changing this forces a new resource
- sas
Uri String - The SAS URI. Conflicts with
connection_stringandservice_endpoint. - service
Endpoint String - The Service Endpoint. Conflicts with
connection_stringandsas_uri. Required withuse_managed_identity. - service
Principal StringId - The service principal id in which to authenticate against the Azure Blob Storage account. Required if
service_principal_keyis set. - service
Principal StringKey - The service principal key in which to authenticate against the AAzure Blob Storage account. Required if
service_principal_idis set. - tenant
Id String - The tenant id or name in which to authenticate against the Azure Blob Storage account.
- use
Managed BooleanIdentity - Whether to use the Data Factory's managed identity to authenticate against the Azure Blob Storage account. Incompatible with
service_principal_idandservice_principal_key.
Supporting Types
LinkedServiceAzureBlobStorageKeyVaultSasToken, LinkedServiceAzureBlobStorageKeyVaultSasTokenArgs
- Linked
Service stringName - Specifies the name of an existing Key Vault Data Factory Linked Service.
- Secret
Name string - Specifies the secret name in Azure Key Vault that stores the sas token.
- Linked
Service stringName - Specifies the name of an existing Key Vault Data Factory Linked Service.
- Secret
Name string - Specifies the secret name in Azure Key Vault that stores the sas token.
- linked
Service StringName - Specifies the name of an existing Key Vault Data Factory Linked Service.
- secret
Name String - Specifies the secret name in Azure Key Vault that stores the sas token.
- linked
Service stringName - Specifies the name of an existing Key Vault Data Factory Linked Service.
- secret
Name string - Specifies the secret name in Azure Key Vault that stores the sas token.
- linked_
service_ strname - Specifies the name of an existing Key Vault Data Factory Linked Service.
- secret_
name str - Specifies the secret name in Azure Key Vault that stores the sas token.
- linked
Service StringName - Specifies the name of an existing Key Vault Data Factory Linked Service.
- secret
Name String - Specifies the secret name in Azure Key Vault that stores the sas token.
Import
Data Factory Linked Service’s can be imported using the resource id, e.g.
$ pulumi import azure:datafactory/linkedServiceAzureBlobStorage:LinkedServiceAzureBlobStorage 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
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi