DataLakeStoreFileSystemClient.CreateFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a file in ADL store
public void CreateFile (string filePath, string accountName, byte[] contents = default, Microsoft.Azure.DataLake.Store.IfExists overwrite = Microsoft.Azure.DataLake.Store.IfExists.Overwrite);
member this.CreateFile : string * string * byte[] * Microsoft.Azure.DataLake.Store.IfExists -> unit
Public Sub CreateFile (filePath As String, accountName As String, Optional contents As Byte() = Nothing, Optional overwrite As IfExists = Microsoft.Azure.DataLake.Store.IfExists.Overwrite)
Parameters
- filePath
- String
File Path
- accountName
- String
Account name
- contents
- Byte[]
Contents
- overwrite
- IfExists
True if we are overwriting the file if it exists, false if we want to fail if the file exists