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

We recommend using Azure Native.

Azure v6.31.0 published on Monday, Dec 29, 2025 by Pulumi
azure logo

We recommend using Azure Native.

Azure v6.31.0 published on Monday, Dec 29, 2025 by Pulumi

    Manages a Data Share Blob Storage Dataset.

    Create DatasetBlobStorage Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DatasetBlobStorage(name: string, args: DatasetBlobStorageArgs, opts?: CustomResourceOptions);
    @overload
    def DatasetBlobStorage(resource_name: str,
                           args: DatasetBlobStorageArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatasetBlobStorage(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           container_name: Optional[str] = None,
                           data_share_id: Optional[str] = None,
                           storage_account: Optional[DatasetBlobStorageStorageAccountArgs] = None,
                           file_path: Optional[str] = None,
                           folder_path: Optional[str] = None,
                           name: Optional[str] = None)
    func NewDatasetBlobStorage(ctx *Context, name string, args DatasetBlobStorageArgs, opts ...ResourceOption) (*DatasetBlobStorage, error)
    public DatasetBlobStorage(string name, DatasetBlobStorageArgs args, CustomResourceOptions? opts = null)
    public DatasetBlobStorage(String name, DatasetBlobStorageArgs args)
    public DatasetBlobStorage(String name, DatasetBlobStorageArgs args, CustomResourceOptions options)
    
    type: azure:datashare:DatasetBlobStorage
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DatasetBlobStorageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DatasetBlobStorageArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DatasetBlobStorageArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DatasetBlobStorageArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DatasetBlobStorageArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var datasetBlobStorageResource = new Azure.DataShare.DatasetBlobStorage("datasetBlobStorageResource", new()
    {
        ContainerName = "string",
        DataShareId = "string",
        StorageAccount = new Azure.DataShare.Inputs.DatasetBlobStorageStorageAccountArgs
        {
            Name = "string",
            ResourceGroupName = "string",
            SubscriptionId = "string",
        },
        FilePath = "string",
        FolderPath = "string",
        Name = "string",
    });
    
    example, err := datashare.NewDatasetBlobStorage(ctx, "datasetBlobStorageResource", &datashare.DatasetBlobStorageArgs{
    	ContainerName: pulumi.String("string"),
    	DataShareId:   pulumi.String("string"),
    	StorageAccount: &datashare.DatasetBlobStorageStorageAccountArgs{
    		Name:              pulumi.String("string"),
    		ResourceGroupName: pulumi.String("string"),
    		SubscriptionId:    pulumi.String("string"),
    	},
    	FilePath:   pulumi.String("string"),
    	FolderPath: pulumi.String("string"),
    	Name:       pulumi.String("string"),
    })
    
    var datasetBlobStorageResource = new DatasetBlobStorage("datasetBlobStorageResource", DatasetBlobStorageArgs.builder()
        .containerName("string")
        .dataShareId("string")
        .storageAccount(DatasetBlobStorageStorageAccountArgs.builder()
            .name("string")
            .resourceGroupName("string")
            .subscriptionId("string")
            .build())
        .filePath("string")
        .folderPath("string")
        .name("string")
        .build());
    
    dataset_blob_storage_resource = azure.datashare.DatasetBlobStorage("datasetBlobStorageResource",
        container_name="string",
        data_share_id="string",
        storage_account={
            "name": "string",
            "resource_group_name": "string",
            "subscription_id": "string",
        },
        file_path="string",
        folder_path="string",
        name="string")
    
    const datasetBlobStorageResource = new azure.datashare.DatasetBlobStorage("datasetBlobStorageResource", {
        containerName: "string",
        dataShareId: "string",
        storageAccount: {
            name: "string",
            resourceGroupName: "string",
            subscriptionId: "string",
        },
        filePath: "string",
        folderPath: "string",
        name: "string",
    });
    
    type: azure:datashare:DatasetBlobStorage
    properties:
        containerName: string
        dataShareId: string
        filePath: string
        folderPath: string
        name: string
        storageAccount:
            name: string
            resourceGroupName: string
            subscriptionId: string
    

    DatasetBlobStorage Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DatasetBlobStorage resource accepts the following input properties:

    ContainerName string
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    DataShareId string
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    StorageAccount DatasetBlobStorageStorageAccount
    A storage_account block as defined below. Changing this forces a new resource to be created.
    FilePath string
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    FolderPath string
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    Name string
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    ContainerName string
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    DataShareId string
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    StorageAccount DatasetBlobStorageStorageAccountArgs
    A storage_account block as defined below. Changing this forces a new resource to be created.
    FilePath string
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    FolderPath string
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    Name string
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    containerName String
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    dataShareId String
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storageAccount DatasetBlobStorageStorageAccount
    A storage_account block as defined below. Changing this forces a new resource to be created.
    filePath String
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folderPath String
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name String
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    containerName string
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    dataShareId string
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storageAccount DatasetBlobStorageStorageAccount
    A storage_account block as defined below. Changing this forces a new resource to be created.
    filePath string
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folderPath string
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name string
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    container_name str
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    data_share_id str
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storage_account DatasetBlobStorageStorageAccountArgs
    A storage_account block as defined below. Changing this forces a new resource to be created.
    file_path str
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folder_path str
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name str
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    containerName String
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    dataShareId String
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storageAccount Property Map
    A storage_account block as defined below. Changing this forces a new resource to be created.
    filePath String
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folderPath String
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name String
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DatasetBlobStorage resource produces the following output properties:

    DisplayName string
    The name of the Data Share Dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The name of the Data Share Dataset.
    Id string
    The provider-assigned unique ID for this managed resource.
    displayName String
    The name of the Data Share Dataset.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName string
    The name of the Data Share Dataset.
    id string
    The provider-assigned unique ID for this managed resource.
    display_name str
    The name of the Data Share Dataset.
    id str
    The provider-assigned unique ID for this managed resource.
    displayName String
    The name of the Data Share Dataset.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DatasetBlobStorage Resource

    Get an existing DatasetBlobStorage resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DatasetBlobStorageState, opts?: CustomResourceOptions): DatasetBlobStorage
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            container_name: Optional[str] = None,
            data_share_id: Optional[str] = None,
            display_name: Optional[str] = None,
            file_path: Optional[str] = None,
            folder_path: Optional[str] = None,
            name: Optional[str] = None,
            storage_account: Optional[DatasetBlobStorageStorageAccountArgs] = None) -> DatasetBlobStorage
    func GetDatasetBlobStorage(ctx *Context, name string, id IDInput, state *DatasetBlobStorageState, opts ...ResourceOption) (*DatasetBlobStorage, error)
    public static DatasetBlobStorage Get(string name, Input<string> id, DatasetBlobStorageState? state, CustomResourceOptions? opts = null)
    public static DatasetBlobStorage get(String name, Output<String> id, DatasetBlobStorageState state, CustomResourceOptions options)
    resources:  _:    type: azure:datashare:DatasetBlobStorage    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ContainerName string
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    DataShareId string
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    DisplayName string
    The name of the Data Share Dataset.
    FilePath string
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    FolderPath string
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    Name string
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    StorageAccount DatasetBlobStorageStorageAccount
    A storage_account block as defined below. Changing this forces a new resource to be created.
    ContainerName string
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    DataShareId string
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    DisplayName string
    The name of the Data Share Dataset.
    FilePath string
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    FolderPath string
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    Name string
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    StorageAccount DatasetBlobStorageStorageAccountArgs
    A storage_account block as defined below. Changing this forces a new resource to be created.
    containerName String
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    dataShareId String
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    displayName String
    The name of the Data Share Dataset.
    filePath String
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folderPath String
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name String
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storageAccount DatasetBlobStorageStorageAccount
    A storage_account block as defined below. Changing this forces a new resource to be created.
    containerName string
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    dataShareId string
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    displayName string
    The name of the Data Share Dataset.
    filePath string
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folderPath string
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name string
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storageAccount DatasetBlobStorageStorageAccount
    A storage_account block as defined below. Changing this forces a new resource to be created.
    container_name str
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    data_share_id str
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    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. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folder_path str
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name str
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storage_account DatasetBlobStorageStorageAccountArgs
    A storage_account block as defined below. Changing this forces a new resource to be created.
    containerName String
    The name of the storage account container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    dataShareId String
    The ID of the Data Share in which this Data Share Blob Storage Dataset should be created. Changing this forces a new Data Share Blob Storage Dataset to be created.
    displayName String
    The name of the Data Share Dataset.
    filePath String
    The path of the file in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    folderPath String
    The path of the folder in the storage container to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name String
    The name which should be used for this Data Share Blob Storage Dataset. Changing this forces a new Data Share Blob Storage Dataset to be created.
    storageAccount Property Map
    A storage_account block as defined below. Changing this forces a new resource to be created.

    Supporting Types

    DatasetBlobStorageStorageAccount, DatasetBlobStorageStorageAccountArgs

    Name string
    The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    ResourceGroupName string
    The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    SubscriptionId string
    The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    Name string
    The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    ResourceGroupName string
    The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    SubscriptionId string
    The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name String
    The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    resourceGroupName String
    The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    subscriptionId String
    The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name string
    The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    resourceGroupName string
    The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    subscriptionId string
    The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name str
    The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    resource_group_name str
    The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    subscription_id str
    The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    name String
    The name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    resourceGroupName String
    The resource group name of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.
    subscriptionId String
    The subscription id of the storage account to be shared with the receiver. Changing this forces a new Data Share Blob Storage Dataset to be created.

    Import

    Data Share Blob Storage Datasets can be imported using the resource id, e.g.

    $ pulumi import azure:datashare/datasetBlobStorage:DatasetBlobStorage example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DataShare/accounts/account1/shares/share1/dataSets/dataSet1
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.

    Azure v6.31.0 published on Monday, Dec 29, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate