1. Packages
  2. Azure Classic
  3. API Docs
  4. datashare
  5. getDatasetDataLakeGen1

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

    Use this data source to access information about an existing DataShareDataLakeGen1Dataset.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var example = Output.Create(Azure.DataShare.GetDatasetDataLakeGen1.InvokeAsync(new Azure.DataShare.GetDatasetDataLakeGen1Args
            {
                Name = "example-dsdsdlg1",
                DataShareId = "example-share-id",
            }));
            this.Id = example.Apply(example => example.Id);
        }
    
        [Output("id")]
        public Output<string> Id { get; set; }
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/datashare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := datashare.LookupDatasetDataLakeGen1(ctx, &datashare.LookupDatasetDataLakeGen1Args{
    			Name:        "example-dsdsdlg1",
    			DataShareId: "example-share-id",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("id", example.Id)
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = azure.datashare.getDatasetDataLakeGen1({
        name: "example-dsdsdlg1",
        dataShareId: "example-share-id",
    });
    export const id = example.then(example => example.id);
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.datashare.get_dataset_data_lake_gen1(name="example-dsdsdlg1",
        data_share_id="example-share-id")
    pulumi.export("id", example.id)
    

    Example coming soon!

    Using getDatasetDataLakeGen1

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDatasetDataLakeGen1(args: GetDatasetDataLakeGen1Args, opts?: InvokeOptions): Promise<GetDatasetDataLakeGen1Result>
    function getDatasetDataLakeGen1Output(args: GetDatasetDataLakeGen1OutputArgs, opts?: InvokeOptions): Output<GetDatasetDataLakeGen1Result>
    def get_dataset_data_lake_gen1(data_share_id: Optional[str] = None,
                                   name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDatasetDataLakeGen1Result
    def get_dataset_data_lake_gen1_output(data_share_id: Optional[pulumi.Input[str]] = None,
                                   name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDatasetDataLakeGen1Result]
    func LookupDatasetDataLakeGen1(ctx *Context, args *LookupDatasetDataLakeGen1Args, opts ...InvokeOption) (*LookupDatasetDataLakeGen1Result, error)
    func LookupDatasetDataLakeGen1Output(ctx *Context, args *LookupDatasetDataLakeGen1OutputArgs, opts ...InvokeOption) LookupDatasetDataLakeGen1ResultOutput

    > Note: This function is named LookupDatasetDataLakeGen1 in the Go SDK.

    public static class GetDatasetDataLakeGen1 
    {
        public static Task<GetDatasetDataLakeGen1Result> InvokeAsync(GetDatasetDataLakeGen1Args args, InvokeOptions? opts = null)
        public static Output<GetDatasetDataLakeGen1Result> Invoke(GetDatasetDataLakeGen1InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDatasetDataLakeGen1Result> getDatasetDataLakeGen1(GetDatasetDataLakeGen1Args args, InvokeOptions options)
    public static Output<GetDatasetDataLakeGen1Result> getDatasetDataLakeGen1(GetDatasetDataLakeGen1Args args, InvokeOptions options)
    
    fn::invoke:
      function: azure:datashare/getDatasetDataLakeGen1:getDatasetDataLakeGen1
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
    Name string
    The name of the Data Share Data Lake Gen1 Dataset.
    DataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
    Name string
    The name of the Data Share Data Lake Gen1 Dataset.
    dataShareId String
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
    name String
    The name of the Data Share Data Lake Gen1 Dataset.
    dataShareId string
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
    name string
    The name of the Data Share Data Lake Gen1 Dataset.
    data_share_id str
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
    name str
    The name of the Data Share Data Lake Gen1 Dataset.
    dataShareId String
    The resource ID of the Data Share where this Data Share Data Lake Gen1 Dataset should be created.
    name String
    The name of the Data Share Data Lake Gen1 Dataset.

    getDatasetDataLakeGen1 Result

    The following output properties are available:

    DataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    DataShareId string
    DisplayName string
    The displayed name of the Data Share Dataset.
    FileName string
    The file name of the data lake store to be shared with the receiver.
    FolderPath string
    The folder path of the data lake store to be shared with the receiver.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    DataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    DataShareId string
    DisplayName string
    The displayed name of the Data Share Dataset.
    FileName string
    The file name of the data lake store to be shared with the receiver.
    FolderPath string
    The folder path of the data lake store to be shared with the receiver.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    dataLakeStoreId String
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId String
    displayName String
    The displayed name of the Data Share Dataset.
    fileName String
    The file name of the data lake store to be shared with the receiver.
    folderPath String
    The folder path of the data lake store to be shared with the receiver.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    dataLakeStoreId string
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId string
    displayName string
    The displayed name of the Data Share Dataset.
    fileName string
    The file name of the data lake store to be shared with the receiver.
    folderPath string
    The folder path of the data lake store to be shared with the receiver.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    data_lake_store_id str
    The resource ID of the Data Lake Store to be shared with the receiver.
    data_share_id str
    display_name str
    The displayed name of the Data Share Dataset.
    file_name str
    The file name of the data lake store to be shared with the receiver.
    folder_path str
    The folder path of the data lake store to be shared with the receiver.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    dataLakeStoreId String
    The resource ID of the Data Lake Store to be shared with the receiver.
    dataShareId String
    displayName String
    The displayed name of the Data Share Dataset.
    fileName String
    The file name of the data lake store to be shared with the receiver.
    folderPath String
    The folder path of the data lake store to be shared with the receiver.
    id String
    The provider-assigned unique ID for this managed resource.
    name String

    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.