GetDatasetBlobStorage
Use this data source to access information about an existing Data Share Blob Storage Dataset.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var example = Output.Create(Azure.DataShare.GetDatasetBlobStorage.InvokeAsync(new Azure.DataShare.GetDatasetBlobStorageArgs
{
Name = "example-dsbsds",
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/v3/go/azure/datashare"
"github.com/pulumi/pulumi/sdk/v2/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
})
}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)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);Using GetDatasetBlobStorage
function getDatasetBlobStorage(args: GetDatasetBlobStorageArgs, opts?: InvokeOptions): Promise<GetDatasetBlobStorageResult>function get_dataset_blob_storage(data_share_id=None, name=None, opts=None)func LookupDatasetBlobStorage(ctx *Context, args *LookupDatasetBlobStorageArgs, opts ...InvokeOption) (*LookupDatasetBlobStorageResult, error)Note: This function is named
LookupDatasetBlobStoragein the Go SDK.
public static class GetDatasetBlobStorage {
public static Task<GetDatasetBlobStorageResult> InvokeAsync(GetDatasetBlobStorageArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetDatasetBlobStorage Result
The following output properties are available:
- Container
Name string The name of the storage account container to be shared with the receiver.
- string
- Display
Name string The name of the Data Share Dataset.
- File
Path string The path of the file in the storage container to be shared with the receiver.
- Folder
Path string The folder path of the file in the storage container to be shared with the receiver.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the storage account to be shared with the receiver.
- Storage
Accounts List<GetDataset Blob Storage Storage Account> A
storage_accountblock as defined below.
- Container
Name string The name of the storage account container to be shared with the receiver.
- string
- Display
Name string The name of the Data Share Dataset.
- File
Path string The path of the file in the storage container to be shared with the receiver.
- Folder
Path string The folder path of the file in the storage container to be shared with the receiver.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The name of the storage account to be shared with the receiver.
- Storage
Accounts []GetDataset Blob Storage Storage Account A
storage_accountblock as defined below.
- container
Name string The name of the storage account container to be shared with the receiver.
- string
- display
Name string The name of the Data Share Dataset.
- file
Path string The path of the file in the storage container to be shared with the receiver.
- folder
Path string The folder path of the file in the storage container to be shared with the receiver.
- id string
The provider-assigned unique ID for this managed resource.
- name string
The name of the storage account to be shared with the receiver.
- storage
Accounts GetDataset Blob Storage Storage Account[] A
storage_accountblock as defined below.
- container_
name str The name of the storage account container to be shared with the receiver.
- str
- display_
name str The name of the Data Share Dataset.
- file_
path str The path of the file in the storage container to be shared with the receiver.
- folder_
path str The folder path of the file in the storage container to be shared with the receiver.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The name of the storage account to be shared with the receiver.
- storage_
accounts List[GetDataset Blob Storage Storage Account] A
storage_accountblock as defined below.
Supporting Types
GetDatasetBlobStorageStorageAccount
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Name string
The name of this Data Share Blob Storage Dataset.
- Resource
Group stringName The resource group name of the storage account to be shared with the receiver.
- Subscription
Id string The subscription id of the storage account to be shared with the receiver.
- Name string
The name of this Data Share Blob Storage Dataset.
- Resource
Group stringName The resource group name of the storage account to be shared with the receiver.
- Subscription
Id string The subscription id of the storage account to be shared with the receiver.
- name string
The name of this Data Share Blob Storage Dataset.
- resource
Group stringName The resource group name of the storage account to be shared with the receiver.
- subscription
Id string The subscription id of the storage account to be shared with the receiver.
- name str
The name of this Data Share Blob Storage Dataset.
- resource_
group_ strname The resource group name of the storage account to be shared with the receiver.
- subscription_
id str The subscription id of the storage account to be shared with the receiver.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.