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.
Create a StoreFile Resource
new StoreFile(name: string, args: StoreFileArgs, opts?: CustomResourceOptions);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:
- Account
Name string Specifies the name of the Data Lake Store for which the File should created.
- Local
File stringPath The path to the local file to be added to the Data Lake Store.
- Remote
File stringPath The path created for the file on the Data Lake Store.
- Account
Name string Specifies the name of the Data Lake Store for which the File should created.
- Local
File stringPath The path to the local file to be added to the Data Lake Store.
- Remote
File stringPath The path created for the file on the Data Lake Store.
- account
Name string Specifies the name of the Data Lake Store for which the File should created.
- local
File stringPath The path to the local file to be added to the Data Lake Store.
- remote
File stringPath 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_ strpath The path to the local file to be added to the Data Lake Store.
- remote_
file_ strpath 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:
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): StoreFilestatic 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:
- Account
Name string Specifies the name of the Data Lake Store for which the File should created.
- Local
File stringPath The path to the local file to be added to the Data Lake Store.
- Remote
File stringPath The path created for the file on the Data Lake Store.
- Account
Name string Specifies the name of the Data Lake Store for which the File should created.
- Local
File stringPath The path to the local file to be added to the Data Lake Store.
- Remote
File stringPath The path created for the file on the Data Lake Store.
- account
Name string Specifies the name of the Data Lake Store for which the File should created.
- local
File stringPath The path to the local file to be added to the Data Lake Store.
- remote
File stringPath 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_ strpath The path to the local file to be added to the Data Lake Store.
- remote_
file_ strpath 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
azurermTerraform Provider.