get Dataset Blob Storage
suspend fun getDatasetBlobStorage(argument: GetDatasetBlobStoragePlainArgs): GetDatasetBlobStorageResult
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);
Content copied to clipboard
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)
Content copied to clipboard
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),
};
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
variables:
example:
fn::invoke:
function: azure:datashare:getDatasetBlobStorage
arguments:
name: example-dsbsds
dataShareId: example-share-id
outputs:
id: ${example.id}
Content copied to clipboard
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
data Share Id
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
suspend fun getDatasetBlobStorage(argument: suspend GetDatasetBlobStoragePlainArgsBuilder.() -> Unit): GetDatasetBlobStorageResult
Return
A collection of values returned by getDatasetBlobStorage.
Parameters
argument
Builder for com.pulumi.azure.datashare.kotlin.inputs.GetDatasetBlobStoragePlainArgs.