AzureStorageFile Class

Definition

Azure storage file object

public class AzureStorageFile : Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBase
type AzureStorageFile = class
    inherit AzureStorageBase
Public Class AzureStorageFile
Inherits AzureStorageBase
Inheritance
AzureStorageFile

Constructors

AzureStorageFile(CloudFile, AzureStorageContext, ShareClientOptions)

Azure storage file constructor from track1 file object

AzureStorageFile(ShareFileClient, AzureStorageContext, ShareFileItem, ShareClientOptions)

Azure storage file constructor from Track2 list file item

AzureStorageFile(ShareFileClient, AzureStorageContext, ShareFileProperties, ShareClientOptions)

Azure storage file constructor from Track2 get file properties output

Properties

CloudFile

File object

Context (Inherited from AzureStorageBase)
FileProperties

XSCL Track2 File properties, will retrieve the properties on server and return to user

LastModified

file last modified time

Length

File length

ListFileProperties

XSCL Track2 File List properties

Name (Inherited from AzureStorageBase)
ShareFileClient

XSCL Track2 File Client, used to run file APIs

Methods

GetTrack1FileClient(ShareFileClient, StorageCredentials)
GetTrack1FileClient(ShareFileClient, StorageCredentials, ShareClientOptions)
GetTrack2FileClient(CloudFile, ShareClientOptions)

Applies to