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

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 JSON Dataset inside an Azure Data Factory.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleFactory = new Azure.DataFactory.Factory("exampleFactory", new Azure.DataFactory.FactoryArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
            });
            var exampleLinkedServiceWeb = new Azure.DataFactory.LinkedServiceWeb("exampleLinkedServiceWeb", new Azure.DataFactory.LinkedServiceWebArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                DataFactoryId = exampleFactory.Id,
                AuthenticationType = "Anonymous",
                Url = "https://www.bing.com",
            });
            var exampleDatasetJson = new Azure.DataFactory.DatasetJson("exampleDatasetJson", new Azure.DataFactory.DatasetJsonArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                DataFactoryId = exampleFactory.Id,
                LinkedServiceName = exampleLinkedServiceWeb.Name,
                HttpServerLocation = new Azure.DataFactory.Inputs.DatasetJsonHttpServerLocationArgs
                {
                    RelativeUrl = "/fizz/buzz/",
                    Path = "foo/bar/",
                    Filename = "foo.txt",
                },
                Encoding = "UTF-8",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datafactory"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleFactory, err := datafactory.NewFactory(ctx, "exampleFactory", &datafactory.FactoryArgs{
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleLinkedServiceWeb, err := datafactory.NewLinkedServiceWeb(ctx, "exampleLinkedServiceWeb", &datafactory.LinkedServiceWebArgs{
    			ResourceGroupName:  exampleResourceGroup.Name,
    			DataFactoryId:      exampleFactory.ID(),
    			AuthenticationType: pulumi.String("Anonymous"),
    			Url:                pulumi.String("https://www.bing.com"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = datafactory.NewDatasetJson(ctx, "exampleDatasetJson", &datafactory.DatasetJsonArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			DataFactoryId:     exampleFactory.ID(),
    			LinkedServiceName: exampleLinkedServiceWeb.Name,
    			HttpServerLocation: &datafactory.DatasetJsonHttpServerLocationArgs{
    				RelativeUrl: pulumi.String("/fizz/buzz/"),
    				Path:        pulumi.String("foo/bar/"),
    				Filename:    pulumi.String("foo.txt"),
    			},
    			Encoding: pulumi.String("UTF-8"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleFactory = new azure.datafactory.Factory("exampleFactory", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
    });
    const exampleLinkedServiceWeb = new azure.datafactory.LinkedServiceWeb("exampleLinkedServiceWeb", {
        resourceGroupName: exampleResourceGroup.name,
        dataFactoryId: exampleFactory.id,
        authenticationType: "Anonymous",
        url: "https://www.bing.com",
    });
    const exampleDatasetJson = new azure.datafactory.DatasetJson("exampleDatasetJson", {
        resourceGroupName: exampleResourceGroup.name,
        dataFactoryId: exampleFactory.id,
        linkedServiceName: exampleLinkedServiceWeb.name,
        httpServerLocation: {
            relativeUrl: "/fizz/buzz/",
            path: "foo/bar/",
            filename: "foo.txt",
        },
        encoding: "UTF-8",
    });
    
    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_linked_service_web = azure.datafactory.LinkedServiceWeb("exampleLinkedServiceWeb",
        resource_group_name=example_resource_group.name,
        data_factory_id=example_factory.id,
        authentication_type="Anonymous",
        url="https://www.bing.com")
    example_dataset_json = azure.datafactory.DatasetJson("exampleDatasetJson",
        resource_group_name=example_resource_group.name,
        data_factory_id=example_factory.id,
        linked_service_name=example_linked_service_web.name,
        http_server_location=azure.datafactory.DatasetJsonHttpServerLocationArgs(
            relative_url="/fizz/buzz/",
            path="foo/bar/",
            filename="foo.txt",
        ),
        encoding="UTF-8")
    

    Example coming soon!

    Create DatasetJson Resource

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

    Constructor syntax

    new DatasetJson(name: string, args: DatasetJsonArgs, opts?: CustomResourceOptions);
    @overload
    def DatasetJson(resource_name: str,
                    args: DatasetJsonArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatasetJson(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    linked_service_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    data_factory_id: Optional[str] = None,
                    additional_properties: Optional[Mapping[str, str]] = None,
                    data_factory_name: Optional[str] = None,
                    description: Optional[str] = None,
                    encoding: Optional[str] = None,
                    folder: Optional[str] = None,
                    http_server_location: Optional[DatasetJsonHttpServerLocationArgs] = None,
                    azure_blob_storage_location: Optional[DatasetJsonAzureBlobStorageLocationArgs] = None,
                    name: Optional[str] = None,
                    parameters: Optional[Mapping[str, str]] = None,
                    annotations: Optional[Sequence[str]] = None,
                    schema_columns: Optional[Sequence[DatasetJsonSchemaColumnArgs]] = None)
    func NewDatasetJson(ctx *Context, name string, args DatasetJsonArgs, opts ...ResourceOption) (*DatasetJson, error)
    public DatasetJson(string name, DatasetJsonArgs args, CustomResourceOptions? opts = null)
    public DatasetJson(String name, DatasetJsonArgs args)
    public DatasetJson(String name, DatasetJsonArgs args, CustomResourceOptions options)
    
    type: azure:datafactory:DatasetJson
    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 DatasetJsonArgs
    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 DatasetJsonArgs
    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 DatasetJsonArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatasetJsonArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatasetJsonArgs
    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 datasetJsonResource = new Azure.DataFactory.DatasetJson("datasetJsonResource", new()
    {
        LinkedServiceName = "string",
        ResourceGroupName = "string",
        DataFactoryId = "string",
        AdditionalProperties = 
        {
            { "string", "string" },
        },
        Description = "string",
        Encoding = "string",
        Folder = "string",
        HttpServerLocation = new Azure.DataFactory.Inputs.DatasetJsonHttpServerLocationArgs
        {
            Filename = "string",
            Path = "string",
            RelativeUrl = "string",
            DynamicFilenameEnabled = false,
            DynamicPathEnabled = false,
        },
        AzureBlobStorageLocation = new Azure.DataFactory.Inputs.DatasetJsonAzureBlobStorageLocationArgs
        {
            Container = "string",
            Filename = "string",
            Path = "string",
            DynamicFilenameEnabled = false,
            DynamicPathEnabled = false,
        },
        Name = "string",
        Parameters = 
        {
            { "string", "string" },
        },
        Annotations = new[]
        {
            "string",
        },
        SchemaColumns = new[]
        {
            new Azure.DataFactory.Inputs.DatasetJsonSchemaColumnArgs
            {
                Name = "string",
                Description = "string",
                Type = "string",
            },
        },
    });
    
    example, err := datafactory.NewDatasetJson(ctx, "datasetJsonResource", &datafactory.DatasetJsonArgs{
    	LinkedServiceName: pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	DataFactoryId:     pulumi.String("string"),
    	AdditionalProperties: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	Encoding:    pulumi.String("string"),
    	Folder:      pulumi.String("string"),
    	HttpServerLocation: &datafactory.DatasetJsonHttpServerLocationArgs{
    		Filename:               pulumi.String("string"),
    		Path:                   pulumi.String("string"),
    		RelativeUrl:            pulumi.String("string"),
    		DynamicFilenameEnabled: pulumi.Bool(false),
    		DynamicPathEnabled:     pulumi.Bool(false),
    	},
    	AzureBlobStorageLocation: &datafactory.DatasetJsonAzureBlobStorageLocationArgs{
    		Container:              pulumi.String("string"),
    		Filename:               pulumi.String("string"),
    		Path:                   pulumi.String("string"),
    		DynamicFilenameEnabled: pulumi.Bool(false),
    		DynamicPathEnabled:     pulumi.Bool(false),
    	},
    	Name: pulumi.String("string"),
    	Parameters: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Annotations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SchemaColumns: datafactory.DatasetJsonSchemaColumnArray{
    		&datafactory.DatasetJsonSchemaColumnArgs{
    			Name:        pulumi.String("string"),
    			Description: pulumi.String("string"),
    			Type:        pulumi.String("string"),
    		},
    	},
    })
    
    var datasetJsonResource = new DatasetJson("datasetJsonResource", DatasetJsonArgs.builder()
        .linkedServiceName("string")
        .resourceGroupName("string")
        .dataFactoryId("string")
        .additionalProperties(Map.of("string", "string"))
        .description("string")
        .encoding("string")
        .folder("string")
        .httpServerLocation(DatasetJsonHttpServerLocationArgs.builder()
            .filename("string")
            .path("string")
            .relativeUrl("string")
            .dynamicFilenameEnabled(false)
            .dynamicPathEnabled(false)
            .build())
        .azureBlobStorageLocation(DatasetJsonAzureBlobStorageLocationArgs.builder()
            .container("string")
            .filename("string")
            .path("string")
            .dynamicFilenameEnabled(false)
            .dynamicPathEnabled(false)
            .build())
        .name("string")
        .parameters(Map.of("string", "string"))
        .annotations("string")
        .schemaColumns(DatasetJsonSchemaColumnArgs.builder()
            .name("string")
            .description("string")
            .type("string")
            .build())
        .build());
    
    dataset_json_resource = azure.datafactory.DatasetJson("datasetJsonResource",
        linked_service_name="string",
        resource_group_name="string",
        data_factory_id="string",
        additional_properties={
            "string": "string",
        },
        description="string",
        encoding="string",
        folder="string",
        http_server_location={
            "filename": "string",
            "path": "string",
            "relative_url": "string",
            "dynamic_filename_enabled": False,
            "dynamic_path_enabled": False,
        },
        azure_blob_storage_location={
            "container": "string",
            "filename": "string",
            "path": "string",
            "dynamic_filename_enabled": False,
            "dynamic_path_enabled": False,
        },
        name="string",
        parameters={
            "string": "string",
        },
        annotations=["string"],
        schema_columns=[{
            "name": "string",
            "description": "string",
            "type": "string",
        }])
    
    const datasetJsonResource = new azure.datafactory.DatasetJson("datasetJsonResource", {
        linkedServiceName: "string",
        resourceGroupName: "string",
        dataFactoryId: "string",
        additionalProperties: {
            string: "string",
        },
        description: "string",
        encoding: "string",
        folder: "string",
        httpServerLocation: {
            filename: "string",
            path: "string",
            relativeUrl: "string",
            dynamicFilenameEnabled: false,
            dynamicPathEnabled: false,
        },
        azureBlobStorageLocation: {
            container: "string",
            filename: "string",
            path: "string",
            dynamicFilenameEnabled: false,
            dynamicPathEnabled: false,
        },
        name: "string",
        parameters: {
            string: "string",
        },
        annotations: ["string"],
        schemaColumns: [{
            name: "string",
            description: "string",
            type: "string",
        }],
    });
    
    type: azure:datafactory:DatasetJson
    properties:
        additionalProperties:
            string: string
        annotations:
            - string
        azureBlobStorageLocation:
            container: string
            dynamicFilenameEnabled: false
            dynamicPathEnabled: false
            filename: string
            path: string
        dataFactoryId: string
        description: string
        encoding: string
        folder: string
        httpServerLocation:
            dynamicFilenameEnabled: false
            dynamicPathEnabled: false
            filename: string
            path: string
            relativeUrl: string
        linkedServiceName: string
        name: string
        parameters:
            string: string
        resourceGroupName: string
        schemaColumns:
            - description: string
              name: string
              type: string
    

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

    LinkedServiceName string
    The Data Factory Linked Service name in which to associate the Dataset with.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Dataset.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Dataset.
    AzureBlobStorageLocation DatasetJsonAzureBlobStorageLocation
    A azure_blob_storage_location block as defined below.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    Description string
    The description for the Data Factory Dataset.
    Encoding string
    The encoding format for the file.
    Folder string
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    HttpServerLocation DatasetJsonHttpServerLocation
    A http_server_location block as defined below.
    Name string
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    Parameters Dictionary<string, string>
    A map of parameters to associate with the Data Factory Dataset.
    SchemaColumns List<DatasetJsonSchemaColumn>
    A schema_column block as defined below.
    LinkedServiceName string
    The Data Factory Linked Service name in which to associate the Dataset with.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Dataset.
    Annotations []string
    List of tags that can be used for describing the Data Factory Dataset.
    AzureBlobStorageLocation DatasetJsonAzureBlobStorageLocationArgs
    A azure_blob_storage_location block as defined below.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    Description string
    The description for the Data Factory Dataset.
    Encoding string
    The encoding format for the file.
    Folder string
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    HttpServerLocation DatasetJsonHttpServerLocationArgs
    A http_server_location block as defined below.
    Name string
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    Parameters map[string]string
    A map of parameters to associate with the Data Factory Dataset.
    SchemaColumns []DatasetJsonSchemaColumnArgs
    A schema_column block as defined below.
    linkedServiceName String
    The Data Factory Linked Service name in which to associate the Dataset with.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Dataset.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Dataset.
    azureBlobStorageLocation DatasetJsonAzureBlobStorageLocation
    A azure_blob_storage_location block as defined below.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description String
    The description for the Data Factory Dataset.
    encoding String
    The encoding format for the file.
    folder String
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    httpServerLocation DatasetJsonHttpServerLocation
    A http_server_location block as defined below.
    name String
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters Map<String,String>
    A map of parameters to associate with the Data Factory Dataset.
    schemaColumns List<DatasetJsonSchemaColumn>
    A schema_column block as defined below.
    linkedServiceName string
    The Data Factory Linked Service name in which to associate the Dataset with.
    resourceGroupName string
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Dataset.
    annotations string[]
    List of tags that can be used for describing the Data Factory Dataset.
    azureBlobStorageLocation DatasetJsonAzureBlobStorageLocation
    A azure_blob_storage_location block as defined below.
    dataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description string
    The description for the Data Factory Dataset.
    encoding string
    The encoding format for the file.
    folder string
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    httpServerLocation DatasetJsonHttpServerLocation
    A http_server_location block as defined below.
    name string
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters {[key: string]: string}
    A map of parameters to associate with the Data Factory Dataset.
    schemaColumns DatasetJsonSchemaColumn[]
    A schema_column block as defined below.
    linked_service_name str
    The Data Factory Linked Service name in which to associate the Dataset with.
    resource_group_name str
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Dataset.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Dataset.
    azure_blob_storage_location DatasetJsonAzureBlobStorageLocationArgs
    A azure_blob_storage_location block as defined below.
    data_factory_id str
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    data_factory_name str
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description str
    The description for the Data Factory Dataset.
    encoding str
    The encoding format for the file.
    folder str
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    http_server_location DatasetJsonHttpServerLocationArgs
    A http_server_location block as defined below.
    name str
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters Mapping[str, str]
    A map of parameters to associate with the Data Factory Dataset.
    schema_columns Sequence[DatasetJsonSchemaColumnArgs]
    A schema_column block as defined below.
    linkedServiceName String
    The Data Factory Linked Service name in which to associate the Dataset with.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Dataset.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Dataset.
    azureBlobStorageLocation Property Map
    A azure_blob_storage_location block as defined below.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description String
    The description for the Data Factory Dataset.
    encoding String
    The encoding format for the file.
    folder String
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    httpServerLocation Property Map
    A http_server_location block as defined below.
    name String
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters Map<String>
    A map of parameters to associate with the Data Factory Dataset.
    schemaColumns List<Property Map>
    A schema_column block as defined below.

    Outputs

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

    Get an existing DatasetJson 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?: DatasetJsonState, opts?: CustomResourceOptions): DatasetJson
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_properties: Optional[Mapping[str, str]] = None,
            annotations: Optional[Sequence[str]] = None,
            azure_blob_storage_location: Optional[DatasetJsonAzureBlobStorageLocationArgs] = None,
            data_factory_id: Optional[str] = None,
            data_factory_name: Optional[str] = None,
            description: Optional[str] = None,
            encoding: Optional[str] = None,
            folder: Optional[str] = None,
            http_server_location: Optional[DatasetJsonHttpServerLocationArgs] = None,
            linked_service_name: Optional[str] = None,
            name: Optional[str] = None,
            parameters: Optional[Mapping[str, str]] = None,
            resource_group_name: Optional[str] = None,
            schema_columns: Optional[Sequence[DatasetJsonSchemaColumnArgs]] = None) -> DatasetJson
    func GetDatasetJson(ctx *Context, name string, id IDInput, state *DatasetJsonState, opts ...ResourceOption) (*DatasetJson, error)
    public static DatasetJson Get(string name, Input<string> id, DatasetJsonState? state, CustomResourceOptions? opts = null)
    public static DatasetJson get(String name, Output<String> id, DatasetJsonState state, CustomResourceOptions options)
    resources:  _:    type: azure:datafactory:DatasetJson    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdditionalProperties Dictionary<string, string>
    A map of additional properties to associate with the Data Factory Dataset.
    Annotations List<string>
    List of tags that can be used for describing the Data Factory Dataset.
    AzureBlobStorageLocation DatasetJsonAzureBlobStorageLocation
    A azure_blob_storage_location block as defined below.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    Description string
    The description for the Data Factory Dataset.
    Encoding string
    The encoding format for the file.
    Folder string
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    HttpServerLocation DatasetJsonHttpServerLocation
    A http_server_location block as defined below.
    LinkedServiceName string
    The Data Factory Linked Service name in which to associate the Dataset with.
    Name string
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    Parameters Dictionary<string, string>
    A map of parameters to associate with the Data Factory Dataset.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    SchemaColumns List<DatasetJsonSchemaColumn>
    A schema_column block as defined below.
    AdditionalProperties map[string]string
    A map of additional properties to associate with the Data Factory Dataset.
    Annotations []string
    List of tags that can be used for describing the Data Factory Dataset.
    AzureBlobStorageLocation DatasetJsonAzureBlobStorageLocationArgs
    A azure_blob_storage_location block as defined below.
    DataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    DataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    Description string
    The description for the Data Factory Dataset.
    Encoding string
    The encoding format for the file.
    Folder string
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    HttpServerLocation DatasetJsonHttpServerLocationArgs
    A http_server_location block as defined below.
    LinkedServiceName string
    The Data Factory Linked Service name in which to associate the Dataset with.
    Name string
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    Parameters map[string]string
    A map of parameters to associate with the Data Factory Dataset.
    ResourceGroupName string
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    SchemaColumns []DatasetJsonSchemaColumnArgs
    A schema_column block as defined below.
    additionalProperties Map<String,String>
    A map of additional properties to associate with the Data Factory Dataset.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Dataset.
    azureBlobStorageLocation DatasetJsonAzureBlobStorageLocation
    A azure_blob_storage_location block as defined below.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description String
    The description for the Data Factory Dataset.
    encoding String
    The encoding format for the file.
    folder String
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    httpServerLocation DatasetJsonHttpServerLocation
    A http_server_location block as defined below.
    linkedServiceName String
    The Data Factory Linked Service name in which to associate the Dataset with.
    name String
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters Map<String,String>
    A map of parameters to associate with the Data Factory Dataset.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    schemaColumns List<DatasetJsonSchemaColumn>
    A schema_column block as defined below.
    additionalProperties {[key: string]: string}
    A map of additional properties to associate with the Data Factory Dataset.
    annotations string[]
    List of tags that can be used for describing the Data Factory Dataset.
    azureBlobStorageLocation DatasetJsonAzureBlobStorageLocation
    A azure_blob_storage_location block as defined below.
    dataFactoryId string
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName string
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description string
    The description for the Data Factory Dataset.
    encoding string
    The encoding format for the file.
    folder string
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    httpServerLocation DatasetJsonHttpServerLocation
    A http_server_location block as defined below.
    linkedServiceName string
    The Data Factory Linked Service name in which to associate the Dataset with.
    name string
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters {[key: string]: string}
    A map of parameters to associate with the Data Factory Dataset.
    resourceGroupName string
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    schemaColumns DatasetJsonSchemaColumn[]
    A schema_column block as defined below.
    additional_properties Mapping[str, str]
    A map of additional properties to associate with the Data Factory Dataset.
    annotations Sequence[str]
    List of tags that can be used for describing the Data Factory Dataset.
    azure_blob_storage_location DatasetJsonAzureBlobStorageLocationArgs
    A azure_blob_storage_location block as defined below.
    data_factory_id str
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    data_factory_name str
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description str
    The description for the Data Factory Dataset.
    encoding str
    The encoding format for the file.
    folder str
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    http_server_location DatasetJsonHttpServerLocationArgs
    A http_server_location block as defined below.
    linked_service_name str
    The Data Factory Linked Service name in which to associate the Dataset with.
    name str
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters Mapping[str, str]
    A map of parameters to associate with the Data Factory Dataset.
    resource_group_name str
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    schema_columns Sequence[DatasetJsonSchemaColumnArgs]
    A schema_column block as defined below.
    additionalProperties Map<String>
    A map of additional properties to associate with the Data Factory Dataset.
    annotations List<String>
    List of tags that can be used for describing the Data Factory Dataset.
    azureBlobStorageLocation Property Map
    A azure_blob_storage_location block as defined below.
    dataFactoryId String
    The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
    dataFactoryName String
    The Data Factory name in which to associate the Linked Service with. Changing this forces a new resource.

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

    description String
    The description for the Data Factory Dataset.
    encoding String
    The encoding format for the file.
    folder String
    The folder that this Dataset is in. If not specified, the Dataset will appear at the root level.
    httpServerLocation Property Map
    A http_server_location block as defined below.
    linkedServiceName String
    The Data Factory Linked Service name in which to associate the Dataset with.
    name String
    Specifies the name of the Data Factory Dataset. Changing this forces a new resource to be created. Must be globally unique. See the Microsoft documentation for all restrictions.
    parameters Map<String>
    A map of parameters to associate with the Data Factory Dataset.
    resourceGroupName String
    The name of the resource group in which to create the Data Factory Dataset. Changing this forces a new resource
    schemaColumns List<Property Map>
    A schema_column block as defined below.

    Supporting Types

    DatasetJsonAzureBlobStorageLocation, DatasetJsonAzureBlobStorageLocationArgs

    Container string
    The container on the Azure Blob Storage Account hosting the file.
    Filename string
    The filename of the file on the web server.
    Path string
    The folder path to the file on the web server.
    DynamicFilenameEnabled bool
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    DynamicPathEnabled bool
    Is the path using dynamic expression, function or system variables? Defaults to false.
    Container string
    The container on the Azure Blob Storage Account hosting the file.
    Filename string
    The filename of the file on the web server.
    Path string
    The folder path to the file on the web server.
    DynamicFilenameEnabled bool
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    DynamicPathEnabled bool
    Is the path using dynamic expression, function or system variables? Defaults to false.
    container String
    The container on the Azure Blob Storage Account hosting the file.
    filename String
    The filename of the file on the web server.
    path String
    The folder path to the file on the web server.
    dynamicFilenameEnabled Boolean
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamicPathEnabled Boolean
    Is the path using dynamic expression, function or system variables? Defaults to false.
    container string
    The container on the Azure Blob Storage Account hosting the file.
    filename string
    The filename of the file on the web server.
    path string
    The folder path to the file on the web server.
    dynamicFilenameEnabled boolean
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamicPathEnabled boolean
    Is the path using dynamic expression, function or system variables? Defaults to false.
    container str
    The container on the Azure Blob Storage Account hosting the file.
    filename str
    The filename of the file on the web server.
    path str
    The folder path to the file on the web server.
    dynamic_filename_enabled bool
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamic_path_enabled bool
    Is the path using dynamic expression, function or system variables? Defaults to false.
    container String
    The container on the Azure Blob Storage Account hosting the file.
    filename String
    The filename of the file on the web server.
    path String
    The folder path to the file on the web server.
    dynamicFilenameEnabled Boolean
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamicPathEnabled Boolean
    Is the path using dynamic expression, function or system variables? Defaults to false.

    DatasetJsonHttpServerLocation, DatasetJsonHttpServerLocationArgs

    Filename string
    The filename of the file on the web server.
    Path string
    The folder path to the file on the web server.
    RelativeUrl string
    The base URL to the web server hosting the file.
    DynamicFilenameEnabled bool
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    DynamicPathEnabled bool
    Is the path using dynamic expression, function or system variables? Defaults to false.
    Filename string
    The filename of the file on the web server.
    Path string
    The folder path to the file on the web server.
    RelativeUrl string
    The base URL to the web server hosting the file.
    DynamicFilenameEnabled bool
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    DynamicPathEnabled bool
    Is the path using dynamic expression, function or system variables? Defaults to false.
    filename String
    The filename of the file on the web server.
    path String
    The folder path to the file on the web server.
    relativeUrl String
    The base URL to the web server hosting the file.
    dynamicFilenameEnabled Boolean
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamicPathEnabled Boolean
    Is the path using dynamic expression, function or system variables? Defaults to false.
    filename string
    The filename of the file on the web server.
    path string
    The folder path to the file on the web server.
    relativeUrl string
    The base URL to the web server hosting the file.
    dynamicFilenameEnabled boolean
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamicPathEnabled boolean
    Is the path using dynamic expression, function or system variables? Defaults to false.
    filename str
    The filename of the file on the web server.
    path str
    The folder path to the file on the web server.
    relative_url str
    The base URL to the web server hosting the file.
    dynamic_filename_enabled bool
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamic_path_enabled bool
    Is the path using dynamic expression, function or system variables? Defaults to false.
    filename String
    The filename of the file on the web server.
    path String
    The folder path to the file on the web server.
    relativeUrl String
    The base URL to the web server hosting the file.
    dynamicFilenameEnabled Boolean
    Is the filename using dynamic expression, function or system variables? Defaults to false.
    dynamicPathEnabled Boolean
    Is the path using dynamic expression, function or system variables? Defaults to false.

    DatasetJsonSchemaColumn, DatasetJsonSchemaColumnArgs

    Name string
    The name of the column.
    Description string
    The description of the column.
    Type string
    Type of the column. Valid values are Byte, Byte[], Boolean, Date, DateTime,DateTimeOffset, Decimal, Double, Guid, Int16, Int32, Int64, Single, String, TimeSpan. Please note these values are case sensitive.
    Name string
    The name of the column.
    Description string
    The description of the column.
    Type string
    Type of the column. Valid values are Byte, Byte[], Boolean, Date, DateTime,DateTimeOffset, Decimal, Double, Guid, Int16, Int32, Int64, Single, String, TimeSpan. Please note these values are case sensitive.
    name String
    The name of the column.
    description String
    The description of the column.
    type String
    Type of the column. Valid values are Byte, Byte[], Boolean, Date, DateTime,DateTimeOffset, Decimal, Double, Guid, Int16, Int32, Int64, Single, String, TimeSpan. Please note these values are case sensitive.
    name string
    The name of the column.
    description string
    The description of the column.
    type string
    Type of the column. Valid values are Byte, Byte[], Boolean, Date, DateTime,DateTimeOffset, Decimal, Double, Guid, Int16, Int32, Int64, Single, String, TimeSpan. Please note these values are case sensitive.
    name str
    The name of the column.
    description str
    The description of the column.
    type str
    Type of the column. Valid values are Byte, Byte[], Boolean, Date, DateTime,DateTimeOffset, Decimal, Double, Guid, Int16, Int32, Int64, Single, String, TimeSpan. Please note these values are case sensitive.
    name String
    The name of the column.
    description String
    The description of the column.
    type String
    Type of the column. Valid values are Byte, Byte[], Boolean, Date, DateTime,DateTimeOffset, Decimal, Double, Guid, Int16, Int32, Int64, Single, String, TimeSpan. Please note these values are case sensitive.

    Import

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

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