Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

BlobDataSet

An Azure storage blob data set. API Version: 2020-09-01.

Example Usage

DataSets_Create

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var blobDataSet = new AzureNative.DataShare.BlobDataSet("blobDataSet", new AzureNative.DataShare.BlobDataSetArgs
        {
            AccountName = "Account1",
            ContainerName = "C1",
            DataSetName = "Dataset1",
            FilePath = "file21",
            Kind = "Blob",
            ResourceGroup = "SampleResourceGroup",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
            StorageAccountName = "storage2",
            SubscriptionId = "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
        });
    }

}
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewBlobDataSet(ctx, "blobDataSet", &datashare.BlobDataSetArgs{
			AccountName:        pulumi.String("Account1"),
			ContainerName:      pulumi.String("C1"),
			DataSetName:        pulumi.String("Dataset1"),
			FilePath:           pulumi.String("file21"),
			Kind:               pulumi.String("Blob"),
			ResourceGroup:      pulumi.String("SampleResourceGroup"),
			ResourceGroupName:  pulumi.String("SampleResourceGroup"),
			ShareName:          pulumi.String("Share1"),
			StorageAccountName: pulumi.String("storage2"),
			SubscriptionId:     pulumi.String("433a8dfd-e5d5-4e77-ad86-90acdc75eb1a"),
		})
		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 blobDataSet = new BlobDataSet("blobDataSet", BlobDataSetArgs.builder()        
            .accountName("Account1")
            .containerName("C1")
            .dataSetName("Dataset1")
            .filePath("file21")
            .kind("Blob")
            .resourceGroup("SampleResourceGroup")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .storageAccountName("storage2")
            .subscriptionId("433a8dfd-e5d5-4e77-ad86-90acdc75eb1a")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_data_set = azure_native.datashare.BlobDataSet("blobDataSet",
    account_name="Account1",
    container_name="C1",
    data_set_name="Dataset1",
    file_path="file21",
    kind="Blob",
    resource_group="SampleResourceGroup",
    resource_group_name="SampleResourceGroup",
    share_name="Share1",
    storage_account_name="storage2",
    subscription_id="433a8dfd-e5d5-4e77-ad86-90acdc75eb1a")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobDataSet = new azure_native.datashare.BlobDataSet("blobDataSet", {
    accountName: "Account1",
    containerName: "C1",
    dataSetName: "Dataset1",
    filePath: "file21",
    kind: "Blob",
    resourceGroup: "SampleResourceGroup",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
    storageAccountName: "storage2",
    subscriptionId: "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
});
resources:
  blobDataSet:
    type: azure-native:datashare:BlobDataSet
    properties:
      accountName: Account1
      containerName: C1
      dataSetName: Dataset1
      filePath: file21
      kind: Blob
      resourceGroup: SampleResourceGroup
      resourceGroupName: SampleResourceGroup
      shareName: Share1
      storageAccountName: storage2
      subscriptionId: 433a8dfd-e5d5-4e77-ad86-90acdc75eb1a

DataSets_KustoCluster_Create

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var blobDataSet = new AzureNative.DataShare.BlobDataSet("blobDataSet", new AzureNative.DataShare.BlobDataSetArgs
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    }

}
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewBlobDataSet(ctx, "blobDataSet", &datashare.BlobDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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 blobDataSet = new BlobDataSet("blobDataSet", BlobDataSetArgs.builder()        
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_data_set = azure_native.datashare.BlobDataSet("blobDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobDataSet = new azure_native.datashare.BlobDataSet("blobDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
resources:
  blobDataSet:
    type: azure-native:datashare:BlobDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1

DataSets_KustoDatabase_Create

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var blobDataSet = new AzureNative.DataShare.BlobDataSet("blobDataSet", new AzureNative.DataShare.BlobDataSetArgs
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    }

}
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewBlobDataSet(ctx, "blobDataSet", &datashare.BlobDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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 blobDataSet = new BlobDataSet("blobDataSet", BlobDataSetArgs.builder()        
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_data_set = azure_native.datashare.BlobDataSet("blobDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobDataSet = new azure_native.datashare.BlobDataSet("blobDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
resources:
  blobDataSet:
    type: azure-native:datashare:BlobDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1

DataSets_SqlDBTable_Create

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var blobDataSet = new AzureNative.DataShare.BlobDataSet("blobDataSet", new AzureNative.DataShare.BlobDataSetArgs
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    }

}
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewBlobDataSet(ctx, "blobDataSet", &datashare.BlobDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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 blobDataSet = new BlobDataSet("blobDataSet", BlobDataSetArgs.builder()        
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_data_set = azure_native.datashare.BlobDataSet("blobDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobDataSet = new azure_native.datashare.BlobDataSet("blobDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
resources:
  blobDataSet:
    type: azure-native:datashare:BlobDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1

DataSets_SqlDWTable_Create

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var blobDataSet = new AzureNative.DataShare.BlobDataSet("blobDataSet", new AzureNative.DataShare.BlobDataSetArgs
        {
            AccountName = "Account1",
            DataSetName = "Dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "Share1",
        });
    }

}
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewBlobDataSet(ctx, "blobDataSet", &datashare.BlobDataSetArgs{
			AccountName:       pulumi.String("Account1"),
			DataSetName:       pulumi.String("Dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("Share1"),
		})
		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 blobDataSet = new BlobDataSet("blobDataSet", BlobDataSetArgs.builder()        
            .accountName("Account1")
            .dataSetName("Dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("Share1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_data_set = azure_native.datashare.BlobDataSet("blobDataSet",
    account_name="Account1",
    data_set_name="Dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="Share1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobDataSet = new azure_native.datashare.BlobDataSet("blobDataSet", {
    accountName: "Account1",
    dataSetName: "Dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "Share1",
});
resources:
  blobDataSet:
    type: azure-native:datashare:BlobDataSet
    properties:
      accountName: Account1
      dataSetName: Dataset1
      resourceGroupName: SampleResourceGroup
      shareName: Share1

DataSets_SynapseWorkspaceSqlPoolTable_Create

using Pulumi;
using AzureNative = Pulumi.AzureNative;

class MyStack : Stack
{
    public MyStack()
    {
        var blobDataSet = new AzureNative.DataShare.BlobDataSet("blobDataSet", new AzureNative.DataShare.BlobDataSetArgs
        {
            AccountName = "sourceAccount",
            DataSetName = "dataset1",
            ResourceGroupName = "SampleResourceGroup",
            ShareName = "share1",
        });
    }

}
package main

import (
	datashare "github.com/pulumi/pulumi-azure-native/sdk/go/azure/datashare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datashare.NewBlobDataSet(ctx, "blobDataSet", &datashare.BlobDataSetArgs{
			AccountName:       pulumi.String("sourceAccount"),
			DataSetName:       pulumi.String("dataset1"),
			ResourceGroupName: pulumi.String("SampleResourceGroup"),
			ShareName:         pulumi.String("share1"),
		})
		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 blobDataSet = new BlobDataSet("blobDataSet", BlobDataSetArgs.builder()        
            .accountName("sourceAccount")
            .dataSetName("dataset1")
            .resourceGroupName("SampleResourceGroup")
            .shareName("share1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

blob_data_set = azure_native.datashare.BlobDataSet("blobDataSet",
    account_name="sourceAccount",
    data_set_name="dataset1",
    resource_group_name="SampleResourceGroup",
    share_name="share1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const blobDataSet = new azure_native.datashare.BlobDataSet("blobDataSet", {
    accountName: "sourceAccount",
    dataSetName: "dataset1",
    resourceGroupName: "SampleResourceGroup",
    shareName: "share1",
});
resources:
  blobDataSet:
    type: azure-native:datashare:BlobDataSet
    properties:
      accountName: sourceAccount
      dataSetName: dataset1
      resourceGroupName: SampleResourceGroup
      shareName: share1

Create a BlobDataSet Resource

new BlobDataSet(name: string, args: BlobDataSetArgs, opts?: CustomResourceOptions);
@overload
def BlobDataSet(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                account_name: Optional[str] = None,
                container_name: Optional[str] = None,
                data_set_name: Optional[str] = None,
                file_path: Optional[str] = None,
                resource_group: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                share_name: Optional[str] = None,
                storage_account_name: Optional[str] = None,
                subscription_id: Optional[str] = None)
@overload
def BlobDataSet(resource_name: str,
                args: BlobDataSetArgs,
                opts: Optional[ResourceOptions] = None)
func NewBlobDataSet(ctx *Context, name string, args BlobDataSetArgs, opts ...ResourceOption) (*BlobDataSet, error)
public BlobDataSet(string name, BlobDataSetArgs args, CustomResourceOptions? opts = null)
public BlobDataSet(String name, BlobDataSetArgs args)
public BlobDataSet(String name, BlobDataSetArgs args, CustomResourceOptions options)
type: azure-native:datashare:BlobDataSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BlobDataSetArgs
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 BlobDataSetArgs
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 BlobDataSetArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BlobDataSetArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BlobDataSetArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BlobDataSet 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 BlobDataSet resource accepts the following input properties:

AccountName string

The name of the share account.

ContainerName string

Container that has the file path.

FilePath string

File path within the source data set

ResourceGroup string

Resource group of storage account

ResourceGroupName string

The resource group name.

ShareName string

The name of the share to add the data set to.

StorageAccountName string

Storage account name of the source data set

SubscriptionId string

Subscription id of storage account

DataSetName string

The name of the dataSet.

AccountName string

The name of the share account.

ContainerName string

Container that has the file path.

FilePath string

File path within the source data set

ResourceGroup string

Resource group of storage account

ResourceGroupName string

The resource group name.

ShareName string

The name of the share to add the data set to.

StorageAccountName string

Storage account name of the source data set

SubscriptionId string

Subscription id of storage account

DataSetName string

The name of the dataSet.

accountName String

The name of the share account.

containerName String

Container that has the file path.

filePath String

File path within the source data set

resourceGroup String

Resource group of storage account

resourceGroupName String

The resource group name.

shareName String

The name of the share to add the data set to.

storageAccountName String

Storage account name of the source data set

subscriptionId String

Subscription id of storage account

dataSetName String

The name of the dataSet.

accountName string

The name of the share account.

containerName string

Container that has the file path.

filePath string

File path within the source data set

resourceGroup string

Resource group of storage account

resourceGroupName string

The resource group name.

shareName string

The name of the share to add the data set to.

storageAccountName string

Storage account name of the source data set

subscriptionId string

Subscription id of storage account

dataSetName string

The name of the dataSet.

account_name str

The name of the share account.

container_name str

Container that has the file path.

file_path str

File path within the source data set

resource_group str

Resource group of storage account

resource_group_name str

The resource group name.

share_name str

The name of the share to add the data set to.

storage_account_name str

Storage account name of the source data set

subscription_id str

Subscription id of storage account

data_set_name str

The name of the dataSet.

accountName String

The name of the share account.

containerName String

Container that has the file path.

filePath String

File path within the source data set

resourceGroup String

Resource group of storage account

resourceGroupName String

The resource group name.

shareName String

The name of the share to add the data set to.

storageAccountName String

Storage account name of the source data set

subscriptionId String

Subscription id of storage account

dataSetName String

The name of the dataSet.

Outputs

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

DataSetId string

Unique id for identifying a data set resource

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the azure resource

SystemData Pulumi.AzureNative.DataShare.Outputs.SystemDataResponse

System Data of the Azure resource.

Type string

Type of the azure resource

DataSetId string

Unique id for identifying a data set resource

Id string

The provider-assigned unique ID for this managed resource.

Name string

Name of the azure resource

SystemData SystemDataResponse

System Data of the Azure resource.

Type string

Type of the azure resource

dataSetId String

Unique id for identifying a data set resource

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the azure resource

systemData SystemDataResponse

System Data of the Azure resource.

type String

Type of the azure resource

dataSetId string

Unique id for identifying a data set resource

id string

The provider-assigned unique ID for this managed resource.

name string

Name of the azure resource

systemData SystemDataResponse

System Data of the Azure resource.

type string

Type of the azure resource

data_set_id str

Unique id for identifying a data set resource

id str

The provider-assigned unique ID for this managed resource.

name str

Name of the azure resource

system_data SystemDataResponse

System Data of the Azure resource.

type str

Type of the azure resource

dataSetId String

Unique id for identifying a data set resource

id String

The provider-assigned unique ID for this managed resource.

name String

Name of the azure resource

systemData Property Map

System Data of the Azure resource.

type String

Type of the azure resource

Supporting Types

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The type of identity that last modified the resource.

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The type of identity that last modified the resource.

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The type of identity that last modified the resource.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The type of identity that last modified the resource.

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The type of identity that last modified the resource.

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The type of identity that last modified the resource.

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:datashare:BlobDataSet dataset1 /subscriptions/0f3dcfc3-18f8-4099-b381-8353e19d43a7/resourceGroups/SampleResourceGroup/providers/Microsoft.DataShare/accounts/sourceAccount/shares/share1/dataSets/dataset1 

Package Details

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