getDatasetBlobStorage

Use this data source to access information about an existing Data Share Blob Storage Dataset.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.datashare.getDatasetBlobStorage({
name: "example-dsbsds",
dataShareId: "example-share-id",
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.datashare.get_dataset_blob_storage(name="example-dsbsds",
data_share_id="example-share-id")
pulumi.export("id", example.id)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.DataShare.GetDatasetBlobStorage.Invoke(new()
{
Name = "example-dsbsds",
DataShareId = "example-share-id",
});
return new Dictionary<string, object?>
{
["id"] = example.Apply(getDatasetBlobStorageResult => getDatasetBlobStorageResult.Id),
};
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := datashare.LookupDatasetBlobStorage(ctx, &datashare.LookupDatasetBlobStorageArgs{
Name: "example-dsbsds",
DataShareId: "example-share-id",
}, nil)
if err != nil {
return err
}
ctx.Export("id", example.Id)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.datashare.DatashareFunctions;
import com.pulumi.azure.datashare.inputs.GetDatasetBlobStorageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = DatashareFunctions.getDatasetBlobStorage(GetDatasetBlobStorageArgs.builder()
.name("example-dsbsds")
.dataShareId("example-share-id")
.build());
ctx.export("id", example.id());
}
}
variables:
example:
fn::invoke:
function: azure:datashare:getDatasetBlobStorage
arguments:
name: example-dsbsds
dataShareId: example-share-id
outputs:
id: ${example.id}

API Providers

This data source uses the following Azure API Providers:

  • Microsoft.DataShare: 2019-11-01

Return

A collection of values returned by getDatasetBlobStorage.

Parameters

argument

A collection of arguments for invoking getDatasetBlobStorage.


Return

A collection of values returned by getDatasetBlobStorage.

Parameters

dataShareId

The ID of the Data Share in which this Data Share Blob Storage Dataset should be created.

name

The name of this Data Share Blob Storage Dataset.

See also


Return

A collection of values returned by getDatasetBlobStorage.

Parameters

argument

Builder for com.pulumi.azure.datashare.kotlin.inputs.GetDatasetBlobStoragePlainArgs.

See also