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 the azure.datalake.StoreFile gets recreated with the new data.

Create a StoreFile Resource

def StoreFile(resource_name, opts=None, account_name=None, local_file_path=None, remote_file_path=None, __props__=None);
func NewStoreFile(ctx *Context, name string, args StoreFileArgs, opts ...ResourceOption) (*StoreFile, error)
public StoreFile(string name, StoreFileArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args StoreFileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args StoreFileArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args StoreFileArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

StoreFile Resource Properties

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

Inputs

The StoreFile resource accepts the following input properties:

AccountName string

Specifies the name of the Data Lake Store for which the File should created.

LocalFilePath string

The path to the local file to be added to the Data Lake Store.

RemoteFilePath string

The path created for the file on the Data Lake Store.

AccountName string

Specifies the name of the Data Lake Store for which the File should created.

LocalFilePath string

The path to the local file to be added to the Data Lake Store.

RemoteFilePath string

The path created for the file on the Data Lake Store.

accountName string

Specifies the name of the Data Lake Store for which the File should created.

localFilePath string

The path to the local file to be added to the Data Lake Store.

remoteFilePath string

The path created for the file on the Data Lake Store.

account_name str

Specifies the name of the Data Lake Store for which the File should created.

local_file_path str

The path to the local file to be added to the Data Lake Store.

remote_file_path str

The path created for the file on the Data Lake Store.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing StoreFile Resource

Get an existing StoreFile 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?: StoreFileState, opts?: CustomResourceOptions): StoreFile
static get(resource_name, id, opts=None, account_name=None, local_file_path=None, remote_file_path=None, __props__=None);
func GetStoreFile(ctx *Context, name string, id IDInput, state *StoreFileState, opts ...ResourceOption) (*StoreFile, error)
public static StoreFile Get(string name, Input<string> id, StoreFileState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

AccountName string

Specifies the name of the Data Lake Store for which the File should created.

LocalFilePath string

The path to the local file to be added to the Data Lake Store.

RemoteFilePath string

The path created for the file on the Data Lake Store.

AccountName string

Specifies the name of the Data Lake Store for which the File should created.

LocalFilePath string

The path to the local file to be added to the Data Lake Store.

RemoteFilePath string

The path created for the file on the Data Lake Store.

accountName string

Specifies the name of the Data Lake Store for which the File should created.

localFilePath string

The path to the local file to be added to the Data Lake Store.

remoteFilePath string

The path created for the file on the Data Lake Store.

account_name str

Specifies the name of the Data Lake Store for which the File should created.

local_file_path str

The path to the local file to be added to the Data Lake Store.

remote_file_path str

The path created for the file on the Data Lake Store.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.