We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
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 dictionaryThe following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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:
- Data
Lake stringStore Id - The resource ID of the Data Lake Store to be shared with the receiver.
- string
- Display
Name string - The displayed name of the Data Share Dataset.
- File
Name string - The file name of the data lake store to be shared with the receiver.
- Folder
Path 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 stringStore Id - The resource ID of the Data Lake Store to be shared with the receiver.
- string
- Display
Name string - The displayed name of the Data Share Dataset.
- File
Name string - The file name of the data lake store to be shared with the receiver.
- Folder
Path 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 StringStore Id - The resource ID of the Data Lake Store to be shared with the receiver.
- String
- display
Name String - The displayed name of the Data Share Dataset.
- file
Name String - The file name of the data lake store to be shared with the receiver.
- folder
Path 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 stringStore Id - The resource ID of the Data Lake Store to be shared with the receiver.
- string
- display
Name string - The displayed name of the Data Share Dataset.
- file
Name string - The file name of the data lake store to be shared with the receiver.
- folder
Path 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_ strstore_ id - The resource ID of the Data Lake Store to be shared with the receiver.
- 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
- data
Lake StringStore Id - The resource ID of the Data Lake Store to be shared with the receiver.
- String
- display
Name String - The displayed name of the Data Share Dataset.
- file
Name String - The file name of the data lake store to be shared with the receiver.
- folder
Path 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
azurermTerraform Provider.
We recommend using Azure Native.
Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
