Class DataLakeGen2Filesystem
Manages a Data Lake Gen2 File System within an Azure Storage Account.
NOTE: This Resource requires using Azure Active Directory to connect to Azure Storage, which in turn requires the
Storagespecific roles - which are not granted by default.
Example Usage
using Pulumi;
using Azure = Pulumi.Azure;
class MyStack : Stack
{
public MyStack()
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new Azure.Storage.AccountArgs
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
AccountKind = "StorageV2",
IsHnsEnabled = "true",
});
var exampleDataLakeGen2Filesystem = new Azure.Storage.DataLakeGen2Filesystem("exampleDataLakeGen2Filesystem", new Azure.Storage.DataLakeGen2FilesystemArgs
{
StorageAccountId = exampleAccount.Id,
Properties =
{
{ "hello", "aGVsbG8=" },
},
});
}
}
Inherited Members
Namespace: Pulumi.Azure.Storage
Assembly: Pulumi.Azure.dll
Syntax
public class DataLakeGen2Filesystem : CustomResource
Constructors
View SourceDataLakeGen2Filesystem(String, DataLakeGen2FilesystemArgs, CustomResourceOptions)
Create a DataLakeGen2Filesystem resource with the given unique name, arguments, and options.
Declaration
public DataLakeGen2Filesystem(string name, DataLakeGen2FilesystemArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DataLakeGen2FilesystemArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceName
The name of the Data Lake Gen2 File System which should be created within the Storage Account. Must be unique within the storage account the queue is located. Changing this forces a new resource to be created.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Properties
A mapping of Key to Base64-Encoded Values which should be assigned to this Data Lake Gen2 File System.
Declaration
public Output<ImmutableDictionary<string, string>> Properties { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
StorageAccountId
Specifies the ID of the Storage Account in which the Data Lake Gen2 File System should exist. Changing this forces a new resource to be created.
Declaration
public Output<string> StorageAccountId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, DataLakeGen2FilesystemState, CustomResourceOptions)
Get an existing DataLakeGen2Filesystem resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DataLakeGen2Filesystem Get(string name, Input<string> id, DataLakeGen2FilesystemState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DataLakeGen2FilesystemState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DataLakeGen2Filesystem |