Azure Classic

Pulumi Official
Package maintained by Pulumi
v5.6.0 published on Friday, May 20, 2022 by Pulumi

DatasetBlobStorage

Manages a Data Share Blob Storage Dataset.

Example Usage

using Pulumi;
using Azure = Pulumi.Azure;
using AzureAD = Pulumi.AzureAD;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
        {
            Location = "West Europe",
        });
        var exampleAccount = new Azure.DataShare.Account("exampleAccount", new Azure.DataShare.AccountArgs
        {
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Identity = new Azure.DataShare.Inputs.AccountIdentityArgs
            {
                Type = "SystemAssigned",
            },
        });
        var exampleShare = new Azure.DataShare.Share("exampleShare", new Azure.DataShare.ShareArgs
        {
            AccountId = exampleAccount.Id,
            Kind = "CopyBased",
        });
        var exampleStorage_accountAccount = new Azure.Storage.Account("exampleStorage/accountAccount", new Azure.Storage.AccountArgs
        {
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            AccountTier = "Standard",
            AccountReplicationType = "RAGRS",
        });
        var exampleContainer = new Azure.Storage.Container("exampleContainer", new Azure.Storage.ContainerArgs
        {
            StorageAccountName = exampleStorage / accountAccount.Name,
            ContainerAccessType = "container",
        });
        var exampleServicePrincipal = AzureAD.GetServicePrincipal.Invoke(new AzureAD.GetServicePrincipalInvokeArgs
        {
            DisplayName = exampleAccount.Name,
        });
        var exampleAssignment = new Azure.Authorization.Assignment("exampleAssignment", new Azure.Authorization.AssignmentArgs
        {
            Scope = exampleStorage / accountAccount.Id,
            RoleDefinitionName = "Storage Blob Data Reader",
            PrincipalId = exampleServicePrincipal.Apply(exampleServicePrincipal => exampleServicePrincipal.ObjectId),
        });
        var exampleDatasetBlobStorage = new Azure.DataShare.DatasetBlobStorage("exampleDatasetBlobStorage", new Azure.DataShare.DatasetBlobStorageArgs
        {
            DataShareId = exampleShare.Id,
            ContainerName = exampleContainer.Name,
            StorageAccount = new Azure.DataShare.Inputs.DatasetBlobStorageStorageAccountArgs
            {
                Name = exampleStorage / accountAccount.Name,
                ResourceGroupName = exampleStorage / accountAccount.ResourceGroupName,
                SubscriptionId = "00000000-0000-0000-0000-000000000000",
            },
            FilePath = "myfile.txt",
        }, new CustomResourceOptions
        {
            DependsOn = 
            {
                exampleAssignment,
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datashare"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
	"github.com/pulumi/pulumi-azuread/sdk/v4/go/azuread"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := datashare.NewAccount(ctx, "exampleAccount", &datashare.AccountArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			Identity: &datashare.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		exampleShare, err := datashare.NewShare(ctx, "exampleShare", &datashare.ShareArgs{
			AccountId: exampleAccount.ID(),
			Kind:      pulumi.String("CopyBased"),
		})
		if err != nil {
			return err
		}
		_, err = storage.NewAccount(ctx, "exampleStorage/accountAccount", &storage.AccountArgs{
			ResourceGroupName:      exampleResourceGroup.Name,
			Location:               exampleResourceGroup.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("RAGRS"),
		})
		if err != nil {
			return err
		}
		exampleContainer, err := storage.NewContainer(ctx, "exampleContainer", &storage.ContainerArgs{
			StorageAccountName:  exampleStorage / accountAccount.Name,
			ContainerAccessType: pulumi.String("container"),
		})
		if err != nil {
			return err
		}
		exampleServicePrincipal := azuread.LookupServicePrincipalOutput(ctx, GetServicePrincipalOutputArgs{
			DisplayName: exampleAccount.Name,
		}, nil)
		exampleAssignment, err := authorization.NewAssignment(ctx, "exampleAssignment", &authorization.AssignmentArgs{
			Scope:              exampleStorage / accountAccount.Id,
			RoleDefinitionName: pulumi.String("Storage Blob Data Reader"),
			PrincipalId: exampleServicePrincipal.ApplyT(func(exampleServicePrincipal GetServicePrincipalResult) (string, error) {
				return exampleServicePrincipal.ObjectId, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = datashare.NewDatasetBlobStorage(ctx, "exampleDatasetBlobStorage", &datashare.DatasetBlobStorageArgs{
			DataShareId:   exampleShare.ID(),
			ContainerName: exampleContainer.Name,
			StorageAccount: &datashare.DatasetBlobStorageStorageAccountArgs{
				Name:              exampleStorage / accountAccount.Name,
				ResourceGroupName: exampleStorage / accountAccount.ResourceGroupName,
				SubscriptionId:    pulumi.String("00000000-0000-0000-0000-000000000000"),
			},
			FilePath: pulumi.String("myfile.txt"),
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleAssignment,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleAccount = new Account("exampleAccount", AccountArgs.builder()        
            .location(exampleResourceGroup.getLocation())
            .resourceGroupName(exampleResourceGroup.getName())
            .identity(AccountIdentity.builder()
                .type("SystemAssigned")
                .build())
            .build());

        var exampleShare = new Share("exampleShare", ShareArgs.builder()        
            .accountId(exampleAccount.getId())
            .kind("CopyBased")
            .build());

        var exampleStorage_accountAccount = new Account("exampleStorage/accountAccount", AccountArgs.builder()        
            .resourceGroupName(exampleResourceGroup.getName())
            .location(exampleResourceGroup.getLocation())
            .accountTier("Standard")
            .accountReplicationType("RAGRS")
            .build());

        var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()        
            .storageAccountName(exampleStorage / accountAccount.getName())
            .containerAccessType("container")
            .build());

        final var exampleServicePrincipal = AzureadFunctions.getServicePrincipal(GetServicePrincipalArgs.builder()
            .displayName(exampleAccount.getName())
            .build());

        var exampleAssignment = new Assignment("exampleAssignment", AssignmentArgs.builder()        
            .scope(exampleStorage / accountAccount.getId())
            .roleDefinitionName("Storage Blob Data Reader")
            .principalId(exampleServicePrincipal.apply(getServicePrincipalResult -> getServicePrincipalResult).apply(exampleServicePrincipal -> exampleServicePrincipal.apply(getServicePrincipalResult -> getServicePrincipalResult.getObjectId())))
            .build());

        var exampleDatasetBlobStorage = new DatasetBlobStorage("exampleDatasetBlobStorage", DatasetBlobStorageArgs.builder()        
            .dataShareId(exampleShare.getId())
            .containerName(exampleContainer.getName())
            .storageAccount(DatasetBlobStorageStorageAccount.builder()
                .name(exampleStorage / accountAccount.getName())
                .resourceGroupName(exampleStorage / accountAccount.getResourceGroupName())
                .subscriptionId("00000000-0000-0000-0000-000000000000")
                .build())
            .filePath("myfile.txt")
            .build());

        }
}
import pulumi
import pulumi_azure as azure
import pulumi_azuread as azuread

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.datashare.Account("exampleAccount",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    identity=azure.datashare.AccountIdentityArgs(
        type="SystemAssigned",
    ))
example_share = azure.datashare.Share("exampleShare",
    account_id=example_account.id,
    kind="CopyBased")
example_storage_account_account = azure.storage.Account("exampleStorage/accountAccount",
    resource_group_name=example_resource_group.name,
    location=example_resource_group.location,
    account_tier="Standard",
    account_replication_type="RAGRS")
example_container = azure.storage.Container("exampleContainer",
    storage_account_name=example_storage / account_account["name"],
    container_access_type="container")
example_service_principal = azuread.get_service_principal_output(display_name=example_account.name)
example_assignment = azure.authorization.Assignment("exampleAssignment",
    scope=example_storage / account_account["id"],
    role_definition_name="Storage Blob Data Reader",
    principal_id=example_service_principal.object_id)
example_dataset_blob_storage = azure.datashare.DatasetBlobStorage("exampleDatasetBlobStorage",
    data_share_id=example_share.id,
    container_name=example_container.name,
    storage_account=azure.datashare.DatasetBlobStorageStorageAccountArgs(
        name=example_storage / account_account["name"],
        resource_group_name=example_storage / account_account["resourceGroupName"],
        subscription_id="00000000-0000-0000-0000-000000000000",
    ),
    file_path="myfile.txt",
    opts=pulumi.ResourceOptions(depends_on=[example_assignment]))
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
import * as azuread from "@pulumi/azuread";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.datashare.Account("exampleAccount", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    identity: {
        type: "SystemAssigned",
    },
});
const exampleShare = new azure.datashare.Share("exampleShare", {
    accountId: exampleAccount.id,
    kind: "CopyBased",
});
const exampleStorage_accountAccount = new azure.storage.Account("exampleStorage/accountAccount", {
    resourceGroupName: exampleResourceGroup.name,
    location: exampleResourceGroup.location,
    accountTier: "Standard",
    accountReplicationType: "RAGRS",
});
const exampleContainer = new azure.storage.Container("exampleContainer", {
    storageAccountName: exampleStorage / accountAccount.name,
    containerAccessType: "container",
});
const exampleServicePrincipal = azuread.getServicePrincipalOutput({
    displayName: exampleAccount.name,
});
const exampleAssignment = new azure.authorization.Assignment("exampleAssignment", {
    scope: exampleStorage / accountAccount.id,
    roleDefinitionName: "Storage Blob Data Reader",
    principalId: exampleServicePrincipal.apply(exampleServicePrincipal => exampleServicePrincipal.objectId),
});
const exampleDatasetBlobStorage = new azure.datashare.DatasetBlobStorage("exampleDatasetBlobStorage", {
    dataShareId: exampleShare.id,
    containerName: exampleContainer.name,
    storageAccount: {
        name: exampleStorage / accountAccount.name,
        resourceGroupName: exampleStorage / accountAccount.resourceGroupName,
        subscriptionId: "00000000-0000-0000-0000-000000000000",
    },
    filePath: "myfile.txt",
}, {
    dependsOn: [exampleAssignment],
});

Coming soon!

Create a DatasetBlobStorage Resource

new DatasetBlobStorage(name: string, args: DatasetBlobStorageArgs, opts?: CustomResourceOptions);
@overload
def DatasetBlobStorage(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       container_name: Optional[str] = None,
                       data_share_id: Optional[str] = None,
                       file_path: Optional[str] = None,
                       folder_path: Optional[str] = None,
                       name: Optional[str] = None,
                       storage_account: Optional[DatasetBlobStorageStorageAccountArgs] = None)
@overload
def DatasetBlobStorage(resource_name: str,
                       args: DatasetBlobStorageArgs,
                       opts: Optional[ResourceOptions] = 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.

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.

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

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 DatasetBlobStorageStorageAccountArgs

A storage_account block as defined below.

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.

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.

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.

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.

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.

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 an 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)
Resource lookup is not supported in YAML
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 DatasetBlobStorageStorageAccountArgs

A storage_account block as defined below.

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.

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.

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.

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.

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.

Supporting Types

DatasetBlobStorageStorageAccount

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

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.