Class StoreFile
Manages a Azure Data Lake Store File.
Note: If you want to change the data in the remote file without changing the
local_file_path, then taint the resource so theazure.datalake.StoreFilegets recreated with the new data.
Inherited Members
Namespace: Pulumi.Azure.DataLake
Assembly: Pulumi.Azure.dll
Syntax
public class StoreFile : CustomResource
Constructors
View SourceStoreFile(String, StoreFileArgs, CustomResourceOptions)
Create a StoreFile resource with the given unique name, arguments, and options.
Declaration
public StoreFile(string name, StoreFileArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| StoreFileArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccountName
Specifies the name of the Data Lake Store for which the File should created.
Declaration
public Output<string> AccountName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
LocalFilePath
The path to the local file to be added to the Data Lake Store.
Declaration
public Output<string> LocalFilePath { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RemoteFilePath
The path created for the file on the Data Lake Store.
Declaration
public Output<string> RemoteFilePath { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, StoreFileState, CustomResourceOptions)
Get an existing StoreFile resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static StoreFile Get(string name, Input<string> id, StoreFileState 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. |
| StoreFileState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| StoreFile |