Метод | Описание | |
---|---|---|
AppendToFile ( string filePath, string accountName, Stream contents ) : void | ||
CheckAccess ( string path, string accountName, string permissionsToCheck ) : bool | ||
ConcatenateFiles ( string destinationPath, string accountName, string filesToConcatenate, bool deleteDirectory = false ) : void | ||
CopyDirectory ( string destinationFolderPath, string accountName, string sourceFolderPath, |
||
CopyFile ( string destinationPath, string accountName, string sourcePath, |
||
CreateDirectory ( string dirPath, string accountName ) : bool | ||
CreateFile ( string filePath, string accountName, Stream contents = null, bool overwrite = false ) : void | ||
CreateSymLink ( string sourcePath, string accountName, string destinationPath, bool createParent = false ) : void | ||
DataLakeStoreFileSystemClient ( |
||
DeleteFileOrFolder ( string path, string accountName, bool isRecursive ) : bool | ||
DownloadFile ( string filePath, string accountName, string destinationFilePath, |
||
GetAclStatus ( string filePath, string accountName ) : AclStatus | ||
GetContentSummary ( string path, string accountName ) : ContentSummary | ||
GetFileStatus ( string filePath, string accountName ) : FileStatusProperties | ||
GetFileStatuses ( string folderPath, string accountName ) : FileStatuses | ||
GetHomeDirectory ( string accountName ) : string | ||
ModifyAcl ( string path, string accountName, string aclToModify ) : void | ||
PreviewFile ( string filePath, string accountName, long bytesToPreview, long offset, |
||
ReadFromFile ( string filePath, string accountName, long offset, long bytesToRead ) : Stream | ||
RemoveAcl ( string path, string accountName ) : void | ||
RemoveAclEntries ( string path, string accountName, string aclsToRemove ) : void | ||
RemoveDefaultAcl ( string path, string accountName ) : void | ||
RenameFileOrDirectory ( string sourcePath, string accountName, string destinationPath ) : bool | ||
SetAcl ( string path, string accountName, string aclToSet ) : void | ||
SetOwner ( string path, string accountName, string owner, string group ) : void | ||
SetPermission ( string path, string accountName, string permissionsToSet ) : void | ||
SetReplication ( string filePath, string accountName, short replicationValue ) : bool | ||
SetTimes ( string path, string accountName, DateTimeOffset modificationTime, DateTimeOffset accessTime ) : void | ||
TestFileOrFolderExistence ( string path, string accountName, System.IO.FileType &itemType ) : bool | ||
UpdateAclEntries ( string path, string accountName, string newAclSpec ) : void |
Метод | Описание | |
---|---|---|
GetByteCountInDirectory ( string directory, bool recursive, bool isDownload, string accountName ) : long |
Gets the byte count in directory.
|
|
GetFileCountInDirectory ( string directory, bool recursive, bool isDownload, string accountName ) : int |
Gets the file count in directory.
|
|
TrackUploadProgress ( Task uploadTask, System.Management.Automation.ProgressRecord uploadProgress, Cmdlet commandToUpdateProgressFor, |
Tracks the upload progress in the PowerShell console.
|
|
UpdateProgress ( System.Management.Automation.ProgressRecord progress, Cmdlet cmdletRunningRequest = null ) : void |
Updates the progress in a friendly way in the event that we are not running in PowerShell
|
public AppendToFile ( string filePath, string accountName, Stream contents ) : void | ||
filePath | string | |
accountName | string | |
contents | Stream | |
Результат | void |
public CheckAccess ( string path, string accountName, string permissionsToCheck ) : bool | ||
path | string | |
accountName | string | |
permissionsToCheck | string | |
Результат | bool |
public ConcatenateFiles ( string destinationPath, string accountName, string filesToConcatenate, bool deleteDirectory = false ) : void | ||
destinationPath | string | |
accountName | string | |
filesToConcatenate | string | |
deleteDirectory | bool | |
Результат | void |
public CopyDirectory ( string destinationFolderPath, string accountName, string sourceFolderPath, |
||
destinationFolderPath | string | |
accountName | string | |
sourceFolderPath | string | |
cmdletCancellationToken | ||
concurrentFileCount | int | |
perFileThreadCount | int | |
recursive | bool | |
overwrite | bool | |
resume | bool | |
forceBinaryOrText | bool | |
isBinary | bool | |
isDownload | bool | |
cmdletRunningRequest | Cmdlet | |
Результат | void |
public CopyFile ( string destinationPath, string accountName, string sourcePath, |
||
destinationPath | string | |
accountName | string | |
sourcePath | string | |
cmdletCancellationToken | ||
threadCount | int | |
overwrite | bool | |
resume | bool | |
isBinary | bool | |
isDownload | bool | |
cmdletRunningRequest | Cmdlet | |
parentProgress | System.Management.Automation.ProgressRecord | |
Результат | void |
public CreateDirectory ( string dirPath, string accountName ) : bool | ||
dirPath | string | |
accountName | string | |
Результат | bool |
public CreateFile ( string filePath, string accountName, Stream contents = null, bool overwrite = false ) : void | ||
filePath | string | |
accountName | string | |
contents | Stream | |
overwrite | bool | |
Результат | void |
public CreateSymLink ( string sourcePath, string accountName, string destinationPath, bool createParent = false ) : void | ||
sourcePath | string | |
accountName | string | |
destinationPath | string | |
createParent | bool | |
Результат | void |
public DataLakeStoreFileSystemClient ( |
||
context | ||
Результат | Microsoft.Azure.Commands.Common.Authentication.Models |
public DeleteFileOrFolder ( string path, string accountName, bool isRecursive ) : bool | ||
path | string | |
accountName | string | |
isRecursive | bool | |
Результат | bool |
public DownloadFile ( string filePath, string accountName, string destinationFilePath, |
||
filePath | string | |
accountName | string | |
destinationFilePath | string | |
cmdletCancellationToken | ||
overwrite | bool | |
cmdletRunningRequest | Cmdlet | |
Результат | void |
public GetAclStatus ( string filePath, string accountName ) : AclStatus | ||
filePath | string | |
accountName | string | |
Результат | AclStatus |
public GetContentSummary ( string path, string accountName ) : ContentSummary | ||
path | string | |
accountName | string | |
Результат | ContentSummary |
public GetFileStatus ( string filePath, string accountName ) : FileStatusProperties | ||
filePath | string | |
accountName | string | |
Результат | FileStatusProperties |
public GetFileStatuses ( string folderPath, string accountName ) : FileStatuses | ||
folderPath | string | |
accountName | string | |
Результат | FileStatuses |
public GetHomeDirectory ( string accountName ) : string | ||
accountName | string | |
Результат | string |
public ModifyAcl ( string path, string accountName, string aclToModify ) : void | ||
path | string | |
accountName | string | |
aclToModify | string | |
Результат | void |
public PreviewFile ( string filePath, string accountName, long bytesToPreview, long offset, |
||
filePath | string | |
accountName | string | |
bytesToPreview | long | |
offset | long | |
cmdletCancellationToken | ||
cmdletRunningRequest | Cmdlet | |
Результат | Stream |
public ReadFromFile ( string filePath, string accountName, long offset, long bytesToRead ) : Stream | ||
filePath | string | |
accountName | string | |
offset | long | |
bytesToRead | long | |
Результат | Stream |
public RemoveAcl ( string path, string accountName ) : void | ||
path | string | |
accountName | string | |
Результат | void |
public RemoveAclEntries ( string path, string accountName, string aclsToRemove ) : void | ||
path | string | |
accountName | string | |
aclsToRemove | string | |
Результат | void |
public RemoveDefaultAcl ( string path, string accountName ) : void | ||
path | string | |
accountName | string | |
Результат | void |
public RenameFileOrDirectory ( string sourcePath, string accountName, string destinationPath ) : bool | ||
sourcePath | string | |
accountName | string | |
destinationPath | string | |
Результат | bool |
public SetAcl ( string path, string accountName, string aclToSet ) : void | ||
path | string | |
accountName | string | |
aclToSet | string | |
Результат | void |
public SetOwner ( string path, string accountName, string owner, string group ) : void | ||
path | string | |
accountName | string | |
owner | string | |
group | string | |
Результат | void |
public SetPermission ( string path, string accountName, string permissionsToSet ) : void | ||
path | string | |
accountName | string | |
permissionsToSet | string | |
Результат | void |
public SetReplication ( string filePath, string accountName, short replicationValue ) : bool | ||
filePath | string | |
accountName | string | |
replicationValue | short | |
Результат | bool |
public SetTimes ( string path, string accountName, DateTimeOffset modificationTime, DateTimeOffset accessTime ) : void | ||
path | string | |
accountName | string | |
modificationTime | DateTimeOffset | |
accessTime | DateTimeOffset | |
Результат | void |
public TestFileOrFolderExistence ( string path, string accountName, System.IO.FileType &itemType ) : bool | ||
path | string | |
accountName | string | |
itemType | System.IO.FileType | |
Результат | bool |
public UpdateAclEntries ( string path, string accountName, string newAclSpec ) : void | ||
path | string | |
accountName | string | |
newAclSpec | string | |
Результат | void |