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

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 an Azure Data Factory (Version 2).

    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,
            });
        }
    
    }
    
    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
    		}
    		_, err = datafactory.NewFactory(ctx, "exampleFactory", &datafactory.FactoryArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    		})
    		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,
    });
    
    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)
    

    Example coming soon!

    Create Factory Resource

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

    Constructor syntax

    new Factory(name: string, args: FactoryArgs, opts?: CustomResourceOptions);
    @overload
    def Factory(resource_name: str,
                args: FactoryArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Factory(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                resource_group_name: Optional[str] = None,
                customer_managed_key_id: Optional[str] = None,
                github_configuration: Optional[FactoryGithubConfigurationArgs] = None,
                global_parameters: Optional[Sequence[FactoryGlobalParameterArgs]] = None,
                identity: Optional[FactoryIdentityArgs] = None,
                location: Optional[str] = None,
                managed_virtual_network_enabled: Optional[bool] = None,
                name: Optional[str] = None,
                public_network_enabled: Optional[bool] = None,
                tags: Optional[Mapping[str, str]] = None,
                vsts_configuration: Optional[FactoryVstsConfigurationArgs] = None)
    func NewFactory(ctx *Context, name string, args FactoryArgs, opts ...ResourceOption) (*Factory, error)
    public Factory(string name, FactoryArgs args, CustomResourceOptions? opts = null)
    public Factory(String name, FactoryArgs args)
    public Factory(String name, FactoryArgs args, CustomResourceOptions options)
    
    type: azure:datafactory:Factory
    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 FactoryArgs
    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 FactoryArgs
    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 FactoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args FactoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args FactoryArgs
    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 factoryResource = new Azure.DataFactory.Factory("factoryResource", new()
    {
        ResourceGroupName = "string",
        CustomerManagedKeyId = "string",
        GithubConfiguration = new Azure.DataFactory.Inputs.FactoryGithubConfigurationArgs
        {
            AccountName = "string",
            BranchName = "string",
            GitUrl = "string",
            RepositoryName = "string",
            RootFolder = "string",
        },
        GlobalParameters = new[]
        {
            new Azure.DataFactory.Inputs.FactoryGlobalParameterArgs
            {
                Name = "string",
                Type = "string",
                Value = "string",
            },
        },
        Identity = new Azure.DataFactory.Inputs.FactoryIdentityArgs
        {
            Type = "string",
            IdentityIds = new[]
            {
                "string",
            },
            PrincipalId = "string",
            TenantId = "string",
        },
        Location = "string",
        ManagedVirtualNetworkEnabled = false,
        Name = "string",
        PublicNetworkEnabled = false,
        Tags = 
        {
            { "string", "string" },
        },
        VstsConfiguration = new Azure.DataFactory.Inputs.FactoryVstsConfigurationArgs
        {
            AccountName = "string",
            BranchName = "string",
            ProjectName = "string",
            RepositoryName = "string",
            RootFolder = "string",
            TenantId = "string",
        },
    });
    
    example, err := datafactory.NewFactory(ctx, "factoryResource", &datafactory.FactoryArgs{
    	ResourceGroupName:    pulumi.String("string"),
    	CustomerManagedKeyId: pulumi.String("string"),
    	GithubConfiguration: &datafactory.FactoryGithubConfigurationArgs{
    		AccountName:    pulumi.String("string"),
    		BranchName:     pulumi.String("string"),
    		GitUrl:         pulumi.String("string"),
    		RepositoryName: pulumi.String("string"),
    		RootFolder:     pulumi.String("string"),
    	},
    	GlobalParameters: datafactory.FactoryGlobalParameterArray{
    		&datafactory.FactoryGlobalParameterArgs{
    			Name:  pulumi.String("string"),
    			Type:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Identity: &datafactory.FactoryIdentityArgs{
    		Type: pulumi.String("string"),
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    	},
    	Location:                     pulumi.String("string"),
    	ManagedVirtualNetworkEnabled: pulumi.Bool(false),
    	Name:                         pulumi.String("string"),
    	PublicNetworkEnabled:         pulumi.Bool(false),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	VstsConfiguration: &datafactory.FactoryVstsConfigurationArgs{
    		AccountName:    pulumi.String("string"),
    		BranchName:     pulumi.String("string"),
    		ProjectName:    pulumi.String("string"),
    		RepositoryName: pulumi.String("string"),
    		RootFolder:     pulumi.String("string"),
    		TenantId:       pulumi.String("string"),
    	},
    })
    
    var factoryResource = new Factory("factoryResource", FactoryArgs.builder()
        .resourceGroupName("string")
        .customerManagedKeyId("string")
        .githubConfiguration(FactoryGithubConfigurationArgs.builder()
            .accountName("string")
            .branchName("string")
            .gitUrl("string")
            .repositoryName("string")
            .rootFolder("string")
            .build())
        .globalParameters(FactoryGlobalParameterArgs.builder()
            .name("string")
            .type("string")
            .value("string")
            .build())
        .identity(FactoryIdentityArgs.builder()
            .type("string")
            .identityIds("string")
            .principalId("string")
            .tenantId("string")
            .build())
        .location("string")
        .managedVirtualNetworkEnabled(false)
        .name("string")
        .publicNetworkEnabled(false)
        .tags(Map.of("string", "string"))
        .vstsConfiguration(FactoryVstsConfigurationArgs.builder()
            .accountName("string")
            .branchName("string")
            .projectName("string")
            .repositoryName("string")
            .rootFolder("string")
            .tenantId("string")
            .build())
        .build());
    
    factory_resource = azure.datafactory.Factory("factoryResource",
        resource_group_name="string",
        customer_managed_key_id="string",
        github_configuration={
            "account_name": "string",
            "branch_name": "string",
            "git_url": "string",
            "repository_name": "string",
            "root_folder": "string",
        },
        global_parameters=[{
            "name": "string",
            "type": "string",
            "value": "string",
        }],
        identity={
            "type": "string",
            "identity_ids": ["string"],
            "principal_id": "string",
            "tenant_id": "string",
        },
        location="string",
        managed_virtual_network_enabled=False,
        name="string",
        public_network_enabled=False,
        tags={
            "string": "string",
        },
        vsts_configuration={
            "account_name": "string",
            "branch_name": "string",
            "project_name": "string",
            "repository_name": "string",
            "root_folder": "string",
            "tenant_id": "string",
        })
    
    const factoryResource = new azure.datafactory.Factory("factoryResource", {
        resourceGroupName: "string",
        customerManagedKeyId: "string",
        githubConfiguration: {
            accountName: "string",
            branchName: "string",
            gitUrl: "string",
            repositoryName: "string",
            rootFolder: "string",
        },
        globalParameters: [{
            name: "string",
            type: "string",
            value: "string",
        }],
        identity: {
            type: "string",
            identityIds: ["string"],
            principalId: "string",
            tenantId: "string",
        },
        location: "string",
        managedVirtualNetworkEnabled: false,
        name: "string",
        publicNetworkEnabled: false,
        tags: {
            string: "string",
        },
        vstsConfiguration: {
            accountName: "string",
            branchName: "string",
            projectName: "string",
            repositoryName: "string",
            rootFolder: "string",
            tenantId: "string",
        },
    });
    
    type: azure:datafactory:Factory
    properties:
        customerManagedKeyId: string
        githubConfiguration:
            accountName: string
            branchName: string
            gitUrl: string
            repositoryName: string
            rootFolder: string
        globalParameters:
            - name: string
              type: string
              value: string
        identity:
            identityIds:
                - string
            principalId: string
            tenantId: string
            type: string
        location: string
        managedVirtualNetworkEnabled: false
        name: string
        publicNetworkEnabled: false
        resourceGroupName: string
        tags:
            string: string
        vstsConfiguration:
            accountName: string
            branchName: string
            projectName: string
            repositoryName: string
            rootFolder: string
            tenantId: string
    

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

    ResourceGroupName string
    The name of the resource group in which to create the Data Factory.
    CustomerManagedKeyId string
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    GithubConfiguration FactoryGithubConfiguration
    A github_configuration block as defined below.
    GlobalParameters List<FactoryGlobalParameter>
    A list of global_parameter blocks as defined above.
    Identity FactoryIdentity
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManagedVirtualNetworkEnabled bool
    Is Managed Virtual Network enabled?
    Name string
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    PublicNetworkEnabled bool
    Is the Data Factory visible to the public network? Defaults to true.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VstsConfiguration FactoryVstsConfiguration
    A vsts_configuration block as defined below.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory.
    CustomerManagedKeyId string
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    GithubConfiguration FactoryGithubConfigurationArgs
    A github_configuration block as defined below.
    GlobalParameters []FactoryGlobalParameterArgs
    A list of global_parameter blocks as defined above.
    Identity FactoryIdentityArgs
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManagedVirtualNetworkEnabled bool
    Is Managed Virtual Network enabled?
    Name string
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    PublicNetworkEnabled bool
    Is the Data Factory visible to the public network? Defaults to true.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VstsConfiguration FactoryVstsConfigurationArgs
    A vsts_configuration block as defined below.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory.
    customerManagedKeyId String
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    githubConfiguration FactoryGithubConfiguration
    A github_configuration block as defined below.
    globalParameters List<FactoryGlobalParameter>
    A list of global_parameter blocks as defined above.
    identity FactoryIdentity
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managedVirtualNetworkEnabled Boolean
    Is Managed Virtual Network enabled?
    name String
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    publicNetworkEnabled Boolean
    Is the Data Factory visible to the public network? Defaults to true.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    vstsConfiguration FactoryVstsConfiguration
    A vsts_configuration block as defined below.
    resourceGroupName string
    The name of the resource group in which to create the Data Factory.
    customerManagedKeyId string
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    githubConfiguration FactoryGithubConfiguration
    A github_configuration block as defined below.
    globalParameters FactoryGlobalParameter[]
    A list of global_parameter blocks as defined above.
    identity FactoryIdentity
    An identity block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managedVirtualNetworkEnabled boolean
    Is Managed Virtual Network enabled?
    name string
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    publicNetworkEnabled boolean
    Is the Data Factory visible to the public network? Defaults to true.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    vstsConfiguration FactoryVstsConfiguration
    A vsts_configuration block as defined below.
    resource_group_name str
    The name of the resource group in which to create the Data Factory.
    customer_managed_key_id str
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    github_configuration FactoryGithubConfigurationArgs
    A github_configuration block as defined below.
    global_parameters Sequence[FactoryGlobalParameterArgs]
    A list of global_parameter blocks as defined above.
    identity FactoryIdentityArgs
    An identity block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managed_virtual_network_enabled bool
    Is Managed Virtual Network enabled?
    name str
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    public_network_enabled bool
    Is the Data Factory visible to the public network? Defaults to true.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    vsts_configuration FactoryVstsConfigurationArgs
    A vsts_configuration block as defined below.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory.
    customerManagedKeyId String
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    githubConfiguration Property Map
    A github_configuration block as defined below.
    globalParameters List<Property Map>
    A list of global_parameter blocks as defined above.
    identity Property Map
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managedVirtualNetworkEnabled Boolean
    Is Managed Virtual Network enabled?
    name String
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    publicNetworkEnabled Boolean
    Is the Data Factory visible to the public network? Defaults to true.
    tags Map<String>
    A mapping of tags to assign to the resource.
    vstsConfiguration Property Map
    A vsts_configuration block as defined below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Factory 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 Factory Resource

    Get an existing Factory 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?: FactoryState, opts?: CustomResourceOptions): Factory
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            customer_managed_key_id: Optional[str] = None,
            github_configuration: Optional[FactoryGithubConfigurationArgs] = None,
            global_parameters: Optional[Sequence[FactoryGlobalParameterArgs]] = None,
            identity: Optional[FactoryIdentityArgs] = None,
            location: Optional[str] = None,
            managed_virtual_network_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            public_network_enabled: Optional[bool] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            vsts_configuration: Optional[FactoryVstsConfigurationArgs] = None) -> Factory
    func GetFactory(ctx *Context, name string, id IDInput, state *FactoryState, opts ...ResourceOption) (*Factory, error)
    public static Factory Get(string name, Input<string> id, FactoryState? state, CustomResourceOptions? opts = null)
    public static Factory get(String name, Output<String> id, FactoryState state, CustomResourceOptions options)
    resources:  _:    type: azure:datafactory:Factory    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:
    CustomerManagedKeyId string
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    GithubConfiguration FactoryGithubConfiguration
    A github_configuration block as defined below.
    GlobalParameters List<FactoryGlobalParameter>
    A list of global_parameter blocks as defined above.
    Identity FactoryIdentity
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManagedVirtualNetworkEnabled bool
    Is Managed Virtual Network enabled?
    Name string
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    PublicNetworkEnabled bool
    Is the Data Factory visible to the public network? Defaults to true.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory.
    Tags Dictionary<string, string>
    A mapping of tags to assign to the resource.
    VstsConfiguration FactoryVstsConfiguration
    A vsts_configuration block as defined below.
    CustomerManagedKeyId string
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    GithubConfiguration FactoryGithubConfigurationArgs
    A github_configuration block as defined below.
    GlobalParameters []FactoryGlobalParameterArgs
    A list of global_parameter blocks as defined above.
    Identity FactoryIdentityArgs
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    ManagedVirtualNetworkEnabled bool
    Is Managed Virtual Network enabled?
    Name string
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    PublicNetworkEnabled bool
    Is the Data Factory visible to the public network? Defaults to true.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory.
    Tags map[string]string
    A mapping of tags to assign to the resource.
    VstsConfiguration FactoryVstsConfigurationArgs
    A vsts_configuration block as defined below.
    customerManagedKeyId String
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    githubConfiguration FactoryGithubConfiguration
    A github_configuration block as defined below.
    globalParameters List<FactoryGlobalParameter>
    A list of global_parameter blocks as defined above.
    identity FactoryIdentity
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managedVirtualNetworkEnabled Boolean
    Is Managed Virtual Network enabled?
    name String
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    publicNetworkEnabled Boolean
    Is the Data Factory visible to the public network? Defaults to true.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory.
    tags Map<String,String>
    A mapping of tags to assign to the resource.
    vstsConfiguration FactoryVstsConfiguration
    A vsts_configuration block as defined below.
    customerManagedKeyId string
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    githubConfiguration FactoryGithubConfiguration
    A github_configuration block as defined below.
    globalParameters FactoryGlobalParameter[]
    A list of global_parameter blocks as defined above.
    identity FactoryIdentity
    An identity block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managedVirtualNetworkEnabled boolean
    Is Managed Virtual Network enabled?
    name string
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    publicNetworkEnabled boolean
    Is the Data Factory visible to the public network? Defaults to true.
    resourceGroupName string
    The name of the resource group in which to create the Data Factory.
    tags {[key: string]: string}
    A mapping of tags to assign to the resource.
    vstsConfiguration FactoryVstsConfiguration
    A vsts_configuration block as defined below.
    customer_managed_key_id str
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    github_configuration FactoryGithubConfigurationArgs
    A github_configuration block as defined below.
    global_parameters Sequence[FactoryGlobalParameterArgs]
    A list of global_parameter blocks as defined above.
    identity FactoryIdentityArgs
    An identity block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managed_virtual_network_enabled bool
    Is Managed Virtual Network enabled?
    name str
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    public_network_enabled bool
    Is the Data Factory visible to the public network? Defaults to true.
    resource_group_name str
    The name of the resource group in which to create the Data Factory.
    tags Mapping[str, str]
    A mapping of tags to assign to the resource.
    vsts_configuration FactoryVstsConfigurationArgs
    A vsts_configuration block as defined below.
    customerManagedKeyId String
    Specifies the Azure Key Vault Key ID to be used as the Customer Managed Key (CMK) for double encryption. Required with user assigned identity.
    githubConfiguration Property Map
    A github_configuration block as defined below.
    globalParameters List<Property Map>
    A list of global_parameter blocks as defined above.
    identity Property Map
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    managedVirtualNetworkEnabled Boolean
    Is Managed Virtual Network enabled?
    name String
    Specifies the name of the Data Factory. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    publicNetworkEnabled Boolean
    Is the Data Factory visible to the public network? Defaults to true.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory.
    tags Map<String>
    A mapping of tags to assign to the resource.
    vstsConfiguration Property Map
    A vsts_configuration block as defined below.

    Supporting Types

    FactoryGithubConfiguration, FactoryGithubConfigurationArgs

    AccountName string
    Specifies the GitHub account name.
    BranchName string
    Specifies the branch of the repository to get code from.
    GitUrl string
    Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. Use https://github.com for open source repositories.
    RepositoryName string
    Specifies the name of the git repository.
    RootFolder string
    Specifies the root folder within the repository. Set to / for the top level.
    AccountName string
    Specifies the GitHub account name.
    BranchName string
    Specifies the branch of the repository to get code from.
    GitUrl string
    Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. Use https://github.com for open source repositories.
    RepositoryName string
    Specifies the name of the git repository.
    RootFolder string
    Specifies the root folder within the repository. Set to / for the top level.
    accountName String
    Specifies the GitHub account name.
    branchName String
    Specifies the branch of the repository to get code from.
    gitUrl String
    Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. Use https://github.com for open source repositories.
    repositoryName String
    Specifies the name of the git repository.
    rootFolder String
    Specifies the root folder within the repository. Set to / for the top level.
    accountName string
    Specifies the GitHub account name.
    branchName string
    Specifies the branch of the repository to get code from.
    gitUrl string
    Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. Use https://github.com for open source repositories.
    repositoryName string
    Specifies the name of the git repository.
    rootFolder string
    Specifies the root folder within the repository. Set to / for the top level.
    account_name str
    Specifies the GitHub account name.
    branch_name str
    Specifies the branch of the repository to get code from.
    git_url str
    Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. Use https://github.com for open source repositories.
    repository_name str
    Specifies the name of the git repository.
    root_folder str
    Specifies the root folder within the repository. Set to / for the top level.
    accountName String
    Specifies the GitHub account name.
    branchName String
    Specifies the branch of the repository to get code from.
    gitUrl String
    Specifies the GitHub Enterprise host name. For example: https://github.mydomain.com. Use https://github.com for open source repositories.
    repositoryName String
    Specifies the name of the git repository.
    rootFolder String
    Specifies the root folder within the repository. Set to / for the top level.

    FactoryGlobalParameter, FactoryGlobalParameterArgs

    Name string
    Specifies the global parameter name.
    Type string
    Specifies the global parameter type. Possible Values are Array, Bool, Float, Int, Object or String.
    Value string
    Specifies the global parameter value.
    Name string
    Specifies the global parameter name.
    Type string
    Specifies the global parameter type. Possible Values are Array, Bool, Float, Int, Object or String.
    Value string
    Specifies the global parameter value.
    name String
    Specifies the global parameter name.
    type String
    Specifies the global parameter type. Possible Values are Array, Bool, Float, Int, Object or String.
    value String
    Specifies the global parameter value.
    name string
    Specifies the global parameter name.
    type string
    Specifies the global parameter type. Possible Values are Array, Bool, Float, Int, Object or String.
    value string
    Specifies the global parameter value.
    name str
    Specifies the global parameter name.
    type str
    Specifies the global parameter type. Possible Values are Array, Bool, Float, Int, Object or String.
    value str
    Specifies the global parameter value.
    name String
    Specifies the global parameter name.
    type String
    Specifies the global parameter type. Possible Values are Array, Bool, Float, Int, Object or String.
    value String
    Specifies the global parameter value.

    FactoryIdentity, FactoryIdentityArgs

    Type string
    Specifies the identity type of the Data Factory. Possible values are SystemAssigned, UserAssigned and SystemAssigned,UserAssigned.
    IdentityIds List<string>
    Specifies the IDs of user assigned identities. Required if UserAssigned or SystemAssigned,UserAssigned type is used.
    PrincipalId string
    The ID of the Principal (Client) in Azure Active Directory
    TenantId string
    Specifies the Tenant ID associated with the VSTS account.
    Type string
    Specifies the identity type of the Data Factory. Possible values are SystemAssigned, UserAssigned and SystemAssigned,UserAssigned.
    IdentityIds []string
    Specifies the IDs of user assigned identities. Required if UserAssigned or SystemAssigned,UserAssigned type is used.
    PrincipalId string
    The ID of the Principal (Client) in Azure Active Directory
    TenantId string
    Specifies the Tenant ID associated with the VSTS account.
    type String
    Specifies the identity type of the Data Factory. Possible values are SystemAssigned, UserAssigned and SystemAssigned,UserAssigned.
    identityIds List<String>
    Specifies the IDs of user assigned identities. Required if UserAssigned or SystemAssigned,UserAssigned type is used.
    principalId String
    The ID of the Principal (Client) in Azure Active Directory
    tenantId String
    Specifies the Tenant ID associated with the VSTS account.
    type string
    Specifies the identity type of the Data Factory. Possible values are SystemAssigned, UserAssigned and SystemAssigned,UserAssigned.
    identityIds string[]
    Specifies the IDs of user assigned identities. Required if UserAssigned or SystemAssigned,UserAssigned type is used.
    principalId string
    The ID of the Principal (Client) in Azure Active Directory
    tenantId string
    Specifies the Tenant ID associated with the VSTS account.
    type str
    Specifies the identity type of the Data Factory. Possible values are SystemAssigned, UserAssigned and SystemAssigned,UserAssigned.
    identity_ids Sequence[str]
    Specifies the IDs of user assigned identities. Required if UserAssigned or SystemAssigned,UserAssigned type is used.
    principal_id str
    The ID of the Principal (Client) in Azure Active Directory
    tenant_id str
    Specifies the Tenant ID associated with the VSTS account.
    type String
    Specifies the identity type of the Data Factory. Possible values are SystemAssigned, UserAssigned and SystemAssigned,UserAssigned.
    identityIds List<String>
    Specifies the IDs of user assigned identities. Required if UserAssigned or SystemAssigned,UserAssigned type is used.
    principalId String
    The ID of the Principal (Client) in Azure Active Directory
    tenantId String
    Specifies the Tenant ID associated with the VSTS account.

    FactoryVstsConfiguration, FactoryVstsConfigurationArgs

    AccountName string
    Specifies the VSTS account name.
    BranchName string
    Specifies the branch of the repository to get code from.
    ProjectName string
    Specifies the name of the VSTS project.
    RepositoryName string
    Specifies the name of the git repository.
    RootFolder string
    Specifies the root folder within the repository. Set to / for the top level.
    TenantId string
    Specifies the Tenant ID associated with the VSTS account.
    AccountName string
    Specifies the VSTS account name.
    BranchName string
    Specifies the branch of the repository to get code from.
    ProjectName string
    Specifies the name of the VSTS project.
    RepositoryName string
    Specifies the name of the git repository.
    RootFolder string
    Specifies the root folder within the repository. Set to / for the top level.
    TenantId string
    Specifies the Tenant ID associated with the VSTS account.
    accountName String
    Specifies the VSTS account name.
    branchName String
    Specifies the branch of the repository to get code from.
    projectName String
    Specifies the name of the VSTS project.
    repositoryName String
    Specifies the name of the git repository.
    rootFolder String
    Specifies the root folder within the repository. Set to / for the top level.
    tenantId String
    Specifies the Tenant ID associated with the VSTS account.
    accountName string
    Specifies the VSTS account name.
    branchName string
    Specifies the branch of the repository to get code from.
    projectName string
    Specifies the name of the VSTS project.
    repositoryName string
    Specifies the name of the git repository.
    rootFolder string
    Specifies the root folder within the repository. Set to / for the top level.
    tenantId string
    Specifies the Tenant ID associated with the VSTS account.
    account_name str
    Specifies the VSTS account name.
    branch_name str
    Specifies the branch of the repository to get code from.
    project_name str
    Specifies the name of the VSTS project.
    repository_name str
    Specifies the name of the git repository.
    root_folder str
    Specifies the root folder within the repository. Set to / for the top level.
    tenant_id str
    Specifies the Tenant ID associated with the VSTS account.
    accountName String
    Specifies the VSTS account name.
    branchName String
    Specifies the branch of the repository to get code from.
    projectName String
    Specifies the name of the VSTS project.
    repositoryName String
    Specifies the name of the git repository.
    rootFolder String
    Specifies the root folder within the repository. Set to / for the top level.
    tenantId String
    Specifies the Tenant ID associated with the VSTS account.

    Import

    Data Factory can be imported using the resource id, e.g.

     $ pulumi import azure:datafactory/factory:Factory example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/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.