Options
All
  • Public
  • Public/Protected
  • All
Menu

@azure/storage-file-share

Package version

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

Authenticator

Authenticator: function

Type declaration

    • (challenge: object): Promise<string>
    • Parameters

      • challenge: object

      Returns Promise<string>

AzureClientLogger

AzureClientLogger: Debugger

An AzureClientLogger is a function that can log to an appropriate severity level.

AzureLogLevel

AzureLogLevel: "verbose" | "info" | "warning" | "error"

The log levels supported by the logger. The log levels in order of most verbose to least verbose are:

  • verbose
  • info
  • warning
  • error

CopyStatusType

CopyStatusType: "pending" | "success" | "aborted" | "failed"

Defines values for CopyStatusType. Possible values include: 'pending', 'success', 'aborted', 'failed'

readonly
enum

{string}

CredentialPolicyCreator

CredentialPolicyCreator: function

A factory function that creates a new CredentialPolicy that uses the provided nextPolicy.

Type declaration

DeleteSnapshotsOptionType

DeleteSnapshotsOptionType: "include"

Defines values for DeleteSnapshotsOptionType. Possible values include: 'include'

readonly
enum

{string}

DirectoryCreateResponse

DirectoryCreateResponse: DirectoryCreateHeaders & object

Contains response data for the create operation.

DirectoryDeleteResponse

DirectoryDeleteResponse: DirectoryDeleteHeaders & object

Contains response data for the deleteMethod operation.

DirectoryForceCloseHandlesResponse

DirectoryForceCloseHandlesResponse: DirectoryForceCloseHandlesHeaders & object

Contains response data for the forceCloseHandles operation.

DirectoryGetPropertiesResponse

DirectoryGetPropertiesResponse: DirectoryGetPropertiesHeaders & object

Contains response data for the getProperties operation.

DirectoryListFilesAndDirectoriesSegmentResponse

DirectoryListFilesAndDirectoriesSegmentResponse: ListFilesAndDirectoriesSegmentResponse & DirectoryListFilesAndDirectoriesSegmentHeaders & object

Contains response data for the listFilesAndDirectoriesSegment operation.

DirectoryListHandlesResponse

DirectoryListHandlesResponse: ListHandlesResponse & DirectoryListHandlesHeaders & object

Contains response data for the listHandles operation.

DirectorySetMetadataResponse

DirectorySetMetadataResponse: DirectorySetMetadataHeaders & object

Contains response data for the setMetadata operation.

DirectorySetPropertiesResponse

DirectorySetPropertiesResponse: DirectorySetPropertiesHeaders & object

Contains response data for the setProperties operation.

FileAbortCopyResponse

FileAbortCopyResponse: FileAbortCopyHeaders & object

Contains response data for the abortCopy operation.

FileAttributesPreserveType

FileAttributesPreserveType: "preserve"

Indicates keep existing file attributes unchanged.

FileCreateResponse

FileCreateResponse: FileCreateHeaders & object

Contains response data for the create operation.

FileDeleteResponse

FileDeleteResponse: FileDeleteHeaders & object

Contains response data for the deleteMethod operation.

FileForceCloseHandlesResponse

FileForceCloseHandlesResponse: FileForceCloseHandlesHeaders & object

Contains response data for the forceCloseHandles operation.

FileGetPropertiesResponse

FileGetPropertiesResponse: FileGetPropertiesHeaders & object

Contains response data for the getProperties operation.

FileGetRangeListResponse

FileGetRangeListResponse: FileGetRangeListHeaders & object

Contains response data for the getRangeList operation. Contains response data for the getRangeList operation.

FileListHandlesResponse

FileListHandlesResponse: ListHandlesResponse & FileListHandlesHeaders & object

Contains response data for the listHandles operation.

FilePermissionInheritType

FilePermissionInheritType: "inherit"

Indicates inherit file permission from the parent directory.

FilePermissionPreserveType

FilePermissionPreserveType: "preserve"

Indicates keep existing file permission value unchanged.

FileRangeWriteType

FileRangeWriteType: "update" | "clear"

Defines values for FileRangeWriteType. Possible values include: 'update', 'clear'

readonly
enum

{string}

FileSetHTTPHeadersResponse

FileSetHTTPHeadersResponse: FileSetHTTPHeadersHeaders & object

Contains response data for the setHTTPHeaders operation.

FileSetMetadataResponse

FileSetMetadataResponse: FileSetMetadataHeaders & object

Contains response data for the setMetadata operation.

FileStartCopyResponse

FileStartCopyResponse: FileStartCopyHeaders & object

Contains response data for the startCopy operation.

FileType

FileType: "File"

Defines values for FileType. Possible values include: 'File'

readonly
enum

{string}

FileUploadRangeFromURLResponse

FileUploadRangeFromURLResponse: FileUploadRangeFromURLHeaders & object

Contains response data for the uploadRangeFromURL operation.

FileUploadRangeResponse

FileUploadRangeResponse: FileUploadRangeHeaders & object

Contains response data for the uploadRange operation.

HrTime

HrTime: [number, number]

High resolution HrTime: [seconds: number, nanoseconds: number]

HttpMethods

HttpMethods: "GET" | "PUT" | "POST" | "DELETE" | "PATCH" | "HEAD" | "OPTIONS" | "TRACE"

HttpRequestBody

HttpRequestBody: Blob | string | ArrayBuffer | ArrayBufferView | function

ListSharesIncludeType

ListSharesIncludeType: "snapshots" | "metadata"

Defines values for ListSharesIncludeType. Possible values include: 'snapshots', 'metadata'

readonly
enum

{string}

Mapper

MapperType

Operation

Operation: function

Operation is an async function to be executed and managed by Batch.

Type declaration

    • (): Promise<any>
    • Returns Promise<any>

OutgoingHandler

OutgoingHandler: function

OutgoingHandler is an async function triggered by BufferScheduler.

Type declaration

    • (buffer: Buffer, offset?: undefined | number): Promise<any>
    • Parameters

      • buffer: Buffer
      • Optional offset: undefined | number

      Returns Promise<any>

ParameterPath

ParameterPath: string | string[] | object

PropertyParent

PropertyParent: object

Type declaration

  • [propertyName: string]: any

ProxyOptions

ProxyOptions: ProxySettings

RawHttpHeaders

RawHttpHeaders: object

A HttpHeaders collection represented as a simple JSON object.

Type declaration

  • [headerName: string]: string

ReadableStreamGetter

ReadableStreamGetter: function

Type declaration

    • (offset: number): Promise<ReadableStream>
    • Parameters

      • offset: number

      Returns Promise<ReadableStream>

RequestPolicyFactory

RequestPolicyFactory: object

Creates a new RequestPolicy per-request that uses the provided nextPolicy.

Type declaration

ServiceGetPropertiesResponse

ServiceGetPropertiesResponse: FileServiceProperties & ServiceGetPropertiesHeaders & object

Contains response data for the getProperties operation.

ServiceListSharesSegmentResponse

ServiceListSharesSegmentResponse: ListSharesResponse & ServiceListSharesSegmentHeaders & object

Contains response data for the listSharesSegment operation.

ServiceSetPropertiesResponse

ServiceSetPropertiesResponse: ServiceSetPropertiesHeaders & object

Contains response data for the setProperties operation.

ShareCreatePermissionResponse

ShareCreatePermissionResponse: ShareCreatePermissionHeaders & object

Contains response data for the createPermission operation.

ShareCreateResponse

ShareCreateResponse: ShareCreateHeaders & object

Contains response data for the create operation.

ShareCreateSnapshotResponse

ShareCreateSnapshotResponse: ShareCreateSnapshotHeaders & object

Contains response data for the createSnapshot operation.

ShareDeleteResponse

ShareDeleteResponse: ShareDeleteHeaders & object

Contains response data for the deleteMethod operation.

ShareGetAccessPolicyResponse

ShareGetAccessPolicyResponse: object & ShareGetAccessPolicyHeaders & object

Contains response data for the getAccessPolicy operation.

ShareGetPermissionResponse

ShareGetPermissionResponse: Permission & ShareGetPermissionHeaders & object

Contains response data for the getPermission operation.

ShareGetPropertiesResponse

ShareGetPropertiesResponse: ShareGetPropertiesHeaders & object

Contains response data for the getProperties operation.

ShareGetStatisticsResponse

ShareGetStatisticsResponse: ShareGetStatisticsResponseModel & object

Contains response data for the getStatistics operation. Response - Share Get Statistics Operation.

export
interface

ShareGetStatisticsResponse

ShareSetAccessPolicyResponse

ShareSetAccessPolicyResponse: ShareSetAccessPolicyHeaders & object

Contains response data for the setAccessPolicy operation.

ShareSetMetadataResponse

ShareSetMetadataResponse: ShareSetMetadataHeaders & object

Contains response data for the setMetadata operation.

ShareSetQuotaResponse

ShareSetQuotaResponse: ShareSetQuotaHeaders & object

Contains response data for the setQuota operation.

StorageErrorCode

StorageErrorCode: "AccountAlreadyExists" | "AccountBeingCreated" | "AccountIsDisabled" | "AuthenticationFailed" | "AuthorizationFailure" | "ConditionHeadersNotSupported" | "ConditionNotMet" | "EmptyMetadataKey" | "InsufficientAccountPermissions" | "InternalError" | "InvalidAuthenticationInfo" | "InvalidHeaderValue" | "InvalidHttpVerb" | "InvalidInput" | "InvalidMd5" | "InvalidMetadata" | "InvalidQueryParameterValue" | "InvalidRange" | "InvalidResourceName" | "InvalidUri" | "InvalidXmlDocument" | "InvalidXmlNodeValue" | "Md5Mismatch" | "MetadataTooLarge" | "MissingContentLengthHeader" | "MissingRequiredQueryParameter" | "MissingRequiredHeader" | "MissingRequiredXmlNode" | "MultipleConditionHeadersNotSupported" | "OperationTimedOut" | "OutOfRangeInput" | "OutOfRangeQueryParameterValue" | "RequestBodyTooLarge" | "ResourceTypeMismatch" | "RequestUrlFailedToParse" | "ResourceAlreadyExists" | "ResourceNotFound" | "ServerBusy" | "UnsupportedHeader" | "UnsupportedXmlNode" | "UnsupportedQueryParameter" | "UnsupportedHttpVerb" | "CannotDeleteFileOrDirectory" | "ClientCacheFlushDelay" | "DeletePending" | "DirectoryNotEmpty" | "FileLockConflict" | "InvalidFileOrDirectoryPathName" | "ParentNotFound" | "ReadOnlyAttribute" | "ShareAlreadyExists" | "ShareBeingDeleted" | "ShareDisabled" | "ShareNotFound" | "SharingViolation" | "ShareSnapshotInProgress" | "ShareSnapshotCountExceeded" | "ShareSnapshotOperationNotSupported" | "ShareHasSnapshots" | "ContainerQuotaDowngradeNotAllowed"

Defines values for StorageErrorCode. Possible values include: 'AccountAlreadyExists', 'AccountBeingCreated', 'AccountIsDisabled', 'AuthenticationFailed', 'AuthorizationFailure', 'ConditionHeadersNotSupported', 'ConditionNotMet', 'EmptyMetadataKey', 'InsufficientAccountPermissions', 'InternalError', 'InvalidAuthenticationInfo', 'InvalidHeaderValue', 'InvalidHttpVerb', 'InvalidInput', 'InvalidMd5', 'InvalidMetadata', 'InvalidQueryParameterValue', 'InvalidRange', 'InvalidResourceName', 'InvalidUri', 'InvalidXmlDocument', 'InvalidXmlNodeValue', 'Md5Mismatch', 'MetadataTooLarge', 'MissingContentLengthHeader', 'MissingRequiredQueryParameter', 'MissingRequiredHeader', 'MissingRequiredXmlNode', 'MultipleConditionHeadersNotSupported', 'OperationTimedOut', 'OutOfRangeInput', 'OutOfRangeQueryParameterValue', 'RequestBodyTooLarge', 'ResourceTypeMismatch', 'RequestUrlFailedToParse', 'ResourceAlreadyExists', 'ResourceNotFound', 'ServerBusy', 'UnsupportedHeader', 'UnsupportedXmlNode', 'UnsupportedQueryParameter', 'UnsupportedHttpVerb', 'CannotDeleteFileOrDirectory', 'ClientCacheFlushDelay', 'DeletePending', 'DirectoryNotEmpty', 'FileLockConflict', 'InvalidFileOrDirectoryPathName', 'ParentNotFound', 'ReadOnlyAttribute', 'ShareAlreadyExists', 'ShareBeingDeleted', 'ShareDisabled', 'ShareNotFound', 'SharingViolation', 'ShareSnapshotInProgress', 'ShareSnapshotCountExceeded', 'ShareSnapshotOperationNotSupported', 'ShareHasSnapshots', 'ContainerQuotaDowngradeNotAllowed'

readonly
enum

{string}

TelemetryInfo

TelemetryInfo: object

Type declaration

TimeInput

TimeInput: HrTime | number | Date

Defines TimeInput.

hrtime, expoch milliseconds, performance.now() or Date

TimeNowType

TimeNowType: "now"

Indicates setting as the time of the request.

TimePreserveType

TimePreserveType: "preserve"

Indicates keep existing time value unchanged.

TransferProgressEvent

TransferProgressEvent: object

Fired in response to upload or download progress.

Type declaration

Variables

Const AzureLogger

AzureLogger: AzureClientLogger

The AzureLogger provides a mechanism for overriding where logs are output to. By default, logs are sent to stderr. Override the log method to redirect logs to another location.

Const Constants

Constants: object

Type declaration

Const DEFAULT_HIGH_LEVEL_CONCURRENCY

DEFAULT_HIGH_LEVEL_CONCURRENCY: number = 5

Const DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS

DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS: number = 5

Const DefaultDeserializationOptions

DefaultDeserializationOptions: DeserializationOptions

Const DefaultKeepAliveOptions

DefaultKeepAliveOptions: KeepAliveOptions

Const DefaultRedirectOptions

DefaultRedirectOptions: RedirectOptions

Const DefaultRetryOptions

DefaultRetryOptions: RetryOptions

Const ETagAny

ETagAny: "*" = "*"

Const ETagNone

ETagNone: "" = ""

Const FILE_MAX_SIZE_BYTES

FILE_MAX_SIZE_BYTES: number = 1024 * 1024 * 1024 * 1024

Const FILE_RANGE_MAX_SIZE_BYTES

FILE_RANGE_MAX_SIZE_BYTES: number = 4 * 1024 * 1024

Const FileDownloadResponse

FileDownloadResponse: 1 = 1

Const MapperType

MapperType: object

Type declaration

Const SDK_VERSION

SDK_VERSION: string = "12.0.0-preview.6"

Const SERVICE_VERSION

SERVICE_VERSION: string = "2019-02-02"

Const StorageFileLoggingAllowedHeaderNames

StorageFileLoggingAllowedHeaderNames: string[] = ["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","x-ms-cache-control","x-ms-content-disposition","x-ms-content-encoding","x-ms-content-language","x-ms-content-length","x-ms-content-md5","x-ms-content-type","x-ms-file-attributes","x-ms-file-change-time","x-ms-file-creation-time","x-ms-file-id","x-ms-file-last-write-time","x-ms-file-parent-id","x-ms-handle-id","x-ms-number-of-handles-closed","x-ms-recursive","x-ms-share-quota","x-ms-type","x-ms-write"]

Const StorageFileLoggingAllowedQueryParameters

StorageFileLoggingAllowedQueryParameters: string[] = ["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","copyid","restype"]

Const TokenRefreshBufferMs

TokenRefreshBufferMs: number

Defines the default token refresh buffer duration.

Const defaultJsonContentTypes

defaultJsonContentTypes: string[]

Const defaultXmlContentTypes

defaultXmlContentTypes: string[]

Const fsStat

fsStat: function = util.promisify(isNode ? fs.stat : function stat() {})

ONLY AVAILABLE IN NODE.JS RUNTIME.

Promisified version of fs.stat().

Type declaration

    • (arg1: T1): Promise<TResult>
    • Parameters

      • arg1: T1

      Returns Promise<TResult>

Const getDefaultUserAgentHeaderName

getDefaultUserAgentHeaderName: getDefaultUserAgentKey

Const isNode

isNode: boolean

A constant that indicates whether the environment is node.js or browser based.

Const logger

logger: AzureLogger = createClientLogger("storage-file-share")

The @azure/logger configuration for this package.

Functions

NewStorageRetryPolicyFactory

appendToURLPath

  • appendToURLPath(url: string, name: string): string
  • Append a string to URL path. Will remove duplicated "/" in front of the string when URL path ends with a "/".

    export

    Parameters

    • url: string

      Source URL string

    • name: string

      String to be appended to URL

    Returns string

    An updated URL string

applyMixins

  • applyMixins(targetCtor: any, sourceCtors: any[]): void
  • Applies the properties on the prototype of sourceCtors to the prototype of targetCtor

    Parameters

    • targetCtor: any

      The target object on which the properties need to be applied.

    • sourceCtors: any[]

      An array of source objects from which the properties need to be taken.

    Returns void

base64decode

  • base64decode(encodedString: string): string

base64encode

  • base64encode(content: string): string

bearerTokenAuthenticationPolicy

  • Creates a new BearerTokenAuthenticationPolicy factory.

    Parameters

    • credential: TokenCredential

      The TokenCredential implementation that can supply the bearer token.

    • scopes: string | string[]

      The scopes for which the bearer token applies.

    Returns RequestPolicyFactory

blobToArrayBuffer

  • blobToArrayBuffer(blob: Blob): Promise<ArrayBuffer>

createPipelineFromOptions

createSpan

  • createSpan(operationName: string, tracingOptions?: OperationTracingOptions): object
  • Creates a span using the global tracer.

    Parameters

    • operationName: string
    • Default value tracingOptions: OperationTracingOptions = {}

      The tracingOptions for the underlying http request.

    Returns object

delay

  • delay<T>(t: number, value?: T): Promise<T>
  • A wrapper for setTimeout that resolves a promise after t milliseconds.

    Type parameters

    • T

    Parameters

    • t: number

      The number of milliseconds to be delayed.

    • Optional value: T

      The value to be resolved with after a timeout of t milliseconds.

    Returns Promise<T>

    Resolved promise

deserializationPolicy

  • Create a new serialization RequestPolicyCreator that will serialized HTTP request bodies as they pass through the HTTP pipeline.

    Parameters

    Returns RequestPolicyFactory

deserializeResponseBody

encodeUri

  • encodeUri(uri: string): string
  • Encodes an URI.

    Parameters

    • uri: string

      The URI to be encoded.

    Returns string

    The encoded URI.

escapeURLPath

  • escapeURLPath(url: string): string

executePromisesSequentially

  • executePromisesSequentially(promiseFactories: Array<any>, kickstart: any): Promise<any>
  • Executes an array of promises sequentially. Inspiration of this method is here: https://pouchdb.com/2015/05/18/we-have-a-problem-with-promises.html. An awesome blog on promises!

    Parameters

    • promiseFactories: Array<any>

      An array of promise factories(A function that return a promise)

    • kickstart: any

    Returns Promise<any>

    A chain of resolved or rejected promises

exponentialRetryPolicy

  • exponentialRetryPolicy(retryCount?: undefined | number, retryInterval?: undefined | number, maxRetryInterval?: undefined | number): RequestPolicyFactory
  • Parameters

    • Optional retryCount: undefined | number
    • Optional retryInterval: undefined | number
    • Optional maxRetryInterval: undefined | number

    Returns RequestPolicyFactory

extractConnectionStringParts

extractSpanContextFromTraceParentHeader

  • extractSpanContextFromTraceParentHeader(traceParentHeader: string): SpanContext | undefined
  • Generates a SpanContext given a traceparent header value.

    Parameters

    • traceParentHeader: string

    Returns SpanContext | undefined

    The SpanContext generated from the traceparent value.

fileAttributesToString

fileCreationTimeToString

fileLastWriteTimeToString

flattenResponse

generateAccountSASQueryParameters

generateClientRequestIdPolicy

  • Parameters

    • Optional requestIdHeaderName: undefined | string

    Returns RequestPolicyFactory

generateFileSASQueryParameters

  • ONLY AVAILABLE IN NODE.JS RUNTIME.

    Creates an instance of SASQueryParameters.

    Only accepts required settings needed to create a SAS. For optional settings please set corresponding properties directly, such as permissions, startTime and identifier.

    WARNING: When identifier is not provided, permissions and expiryTime are required. You MUST assign value to identifier or expiryTime & permissions manually if you initial with this constructor.

    export

    Parameters

    Returns SASQueryParameters

generateUuid

  • generateUuid(): string
  • Generated UUID

    Returns string

    RFC4122 v4 UUID.

getAccountNameFromUrl

  • getAccountNameFromUrl(url: string): string

getDefaultProxySettings

  • getDefaultProxySettings(proxyUrl?: undefined | string): ProxySettings | undefined
  • Parameters

    • Optional proxyUrl: undefined | string

    Returns ProxySettings | undefined

getDefaultUserAgentKey

  • getDefaultUserAgentKey(): string
  • Returns string

getDefaultUserAgentValue

  • getDefaultUserAgentValue(): string
  • Returns string

getLogLevel

  • getLogLevel(): "verbose" | "info" | "warning" | "error" | undefined
  • Retrieves the currently specified log level.

    Returns "verbose" | "info" | "warning" | "error" | undefined

getOperationArgumentValueFromParameterPath

getPathStringFromParameter

  • Get the path to this parameter's value as a dotted string (a.b.c).

    Parameters

    Returns string

    The path to this parameter's value as a dotted string.

getPathStringFromParameterPath

  • Parameters

    Returns string

getPlatformSpecificData

  • Returns TelemetryInfo[]

getPropertyParent

  • Get the property parent for the property at the provided path when starting with the provided parent object.

    Parameters

    Returns PropertyParent

getShareNameAndPathFromUrl

  • getShareNameAndPathFromUrl(url: string): object

getTraceParentHeader

  • getTraceParentHeader(spanContext: SpanContext): string | undefined
  • Generates a traceparent value given a span context.

    Parameters

    • spanContext: SpanContext

      Contains context for a specific span.

    Returns string | undefined

    The spanContext represented as a traceparent value.

getTracer

  • Retrieves the active tracer, or returns a no-op implementation if one is not set.

    Returns Tracer

getURLParameter

  • getURLParameter(url: string, name: string): string | string[] | undefined

getURLPath

  • getURLPath(url: string): string | undefined

getURLQueries

  • getURLQueries(url: string): object

ipRangeToString

isAlphaNumericCharacter

  • isAlphaNumericCharacter(character: string): boolean
  • Get whether or not the provided character (single character string) is an alphanumeric (letter or digit) character.

    Parameters

    • character: string

    Returns boolean

isDuration

  • isDuration(value: string): boolean
  • Indicates whether the given string is in ISO 8601 format.

    Parameters

    • value: string

      The value to be validated for ISO 8601 duration format.

    Returns boolean

    true if valid, false otherwise.

isPrimitiveType

  • isPrimitiveType(value: any): boolean
  • Determines whether the given entity is a basic/primitive type (string, number, boolean, null, undefined).

    Parameters

    • value: any

      Any entity

    Returns boolean

    • true is it is primitive type, false otherwise.

isStreamOperation

  • Parameters

    Returns boolean

isTokenCredential

  • isTokenCredential(credential: any): boolean
  • Tests an object to determine whether it implements TokenCredential.

    Parameters

    • credential: any

      The assumed TokenCredential to be tested.

    Returns boolean

isValidUuid

  • isValidUuid(uuid: string): boolean
  • Validates the given uuid as a string

    Parameters

    • uuid: string

      The uuid as a string that needs to be validated

    Returns boolean

    True if the uuid is valid; false otherwise.

keepAlivePolicy

  • Parameters

    Returns object

logPolicy

newPipeline

operationOptionsToRequestOptionsBase

  • Converts an OperationOptions to a RequestOptionsBase

    Type parameters

    • T: OperationOptions

    Parameters

    • opts: T

      OperationOptions object to convert to RequestOptionsBase

    Returns RequestOptionsBase

padStart

  • padStart(currentString: string, targetLength: number, padString?: string): string

parseHeaders

  • Parameters

    • headers: Headers

    Returns HttpHeaders

parseXML

  • parseXML(str: string, opts?: undefined | object): Promise<any>
  • Converts given XML string into JSON

    Parameters

    • str: string

      String containing the XML content to be parsed into JSON

    • Optional opts: undefined | object

      Options that govern the parsing of given xml string includeRoot indicates whether the root element is to be included or not in the output

    Returns Promise<any>

prepareXMLRootList

  • prepareXMLRootList(obj: any, elementName: string): object
  • Parameters

    • obj: any
    • elementName: string

    Returns object

    • [x: string]: any

promiseToCallback

  • promiseToCallback(promise: Promise<any>): Function
  • Converts a Promise to a callback.

    deprecated

    generated code should instead depend on responseToBody

    Parameters

    • promise: Promise<any>

      The Promise to be converted to a callback

    Returns Function

    A function that takes the callback (cb: Function): void

promiseToServiceCallback

  • Converts a Promise to a service callback.

    Type parameters

    • T

    Parameters

    • promise: Promise<HttpOperationResponse>

      The Promise of HttpOperationResponse to be converted to a service callback

    Returns Function

    A function that takes the service callback (cb: ServiceCallback): void

proxyPolicy

rangeToString

  • rangeToString(range: Range): string
  • Generate a range string. For example:

    "bytes=255-" or "bytes=0-511"

    export

    Parameters

    • range: Range

      A range of byte positions.

    Returns string

    The string representation for the byte range.

readStreamToLocalFile

  • readStreamToLocalFile(rs: ReadableStream, file: string): Promise<void>
  • ONLY AVAILABLE IN NODE.JS RUNTIME.

    Writes the content of a readstream to a local file. Returns a Promise which is completed after the file handle is closed. If Promise is rejected, the reason will be set to the first error raised by either the ReadableStream or the fs.WriteStream.

    export

    Parameters

    • rs: ReadableStream

      The read stream.

    • file: string

      Destination file path.

    Returns Promise<void>

redirectPolicy

  • Parameters

    • Optional maximumRetries: undefined | number

    Returns RequestPolicyFactory

replaceAll

  • replaceAll(value: string | undefined, searchValue: string, replaceValue: string): string | undefined
  • Replace all of the instances of searchValue in value with the provided replaceValue.

    Parameters

    • value: string | undefined

      The value to search and replace in.

    • searchValue: string

      The value to search for in the value argument.

    • replaceValue: string

      The value to replace searchValue with in the value argument.

    Returns string | undefined

    The value where each instance of searchValue was replaced with replacedValue.

sanitizeHeaders

sanitizeURL

  • sanitizeURL(url: string): string

serializeObject

  • serializeObject(toSerialize: any): any
  • Parameters

    • toSerialize: any

    Returns any

serializeRequestBody

setLogLevel

  • Immediately enables logging at the specified log level.

    Parameters

    • Optional level: AzureLogLevel

      The log level to enable for logging. Options from most verbose to least verbose are:

      • verbose
      • info
      • warning
      • error

    Returns void

setTracer

  • setTracer(tracer: Tracer): void
  • Sets the global tracer, enabling tracing for the Azure SDK.

    Parameters

    • tracer: Tracer

      An OpenTelemetry Tracer instance.

    Returns void

setURLHost

  • setURLHost(url: string, host: string): string

setURLParameter

  • setURLParameter(url: string, name: string, value?: undefined | string): string
  • Set URL parameter name and value. If name exists in URL parameters, old value will be replaced by name key. If not provide value, the parameter will be deleted.

    export

    Parameters

    • url: string

      Source URL string

    • name: string

      Parameter name

    • Optional value: undefined | string

    Returns string

    An updated URL string

signingPolicy

streamToBuffer

  • streamToBuffer(stream: ReadableStream, buffer: Buffer, offset: number, end: number, encoding?: undefined | string): Promise<void>
  • Reads a readable stream into buffer. Fill the buffer from offset to end.

    export

    Parameters

    • stream: ReadableStream

      A Node.js Readable stream

    • buffer: Buffer

      Buffer to be filled, length must >= offset

    • offset: number

      From which position in the buffer to be filled, inclusive

    • end: number

      To which position in the buffer to be filled, exclusive

    • Optional encoding: undefined | string

    Returns Promise<void>

stringifyXML

  • stringifyXML(obj: any, opts?: undefined | object): string
  • Converts given JSON object to XML string

    Parameters

    • obj: any

      JSON object to be converted into XML string

    • Optional opts: undefined | object

      Options that govern the parsing of given JSON object rootName indicates the name of the root element in the resulting XML

    Returns string

stripRequest

  • Returns a stripped version of the Http Request that does not contain the Authorization header.

    Parameters

    Returns WebResource

    The stripped version of Http Request.

stripResponse

  • Returns a stripped version of the Http Response which only contains body, headers and the status.

    Parameters

    Returns any

    The stripped version of Http Response.

systemErrorRetryPolicy

  • systemErrorRetryPolicy(retryCount?: undefined | number, retryInterval?: undefined | number, minRetryInterval?: undefined | number, maxRetryInterval?: undefined | number): RequestPolicyFactory
  • Parameters

    • Optional retryCount: undefined | number
    • Optional retryInterval: undefined | number
    • Optional minRetryInterval: undefined | number
    • Optional maxRetryInterval: undefined | number

    Returns RequestPolicyFactory

throttlingRetryPolicy

  • Returns RequestPolicyFactory

tracingPolicy

truncatedISO8061Date

  • truncatedISO8061Date(date: Date, withMilliseconds?: boolean): string

urlIsHTTPS

  • urlIsHTTPS(urlToCheck: object): boolean
  • Checks if a parsed URL is HTTPS

    Parameters

    • urlToCheck: object

      The url to check

    Returns boolean

    True if the URL is HTTPS; false otherwise.

userAgentPolicy

validateAndSetDefaultsForFileAndDirectoryCreateCommonOptions

validateAndSetDefaultsForFileAndDirectorySetPropertiesCommonOptions

validateFilePermissionOptions

  • validateFilePermissionOptions(filePermission?: undefined | string, filePermissionKey?: undefined | string): void

Object literals

Const AccessPolicy

AccessPolicy: object

serializedName

serializedName: string = "AccessPolicy"

type

type: object

className

className: string = "AccessPolicy"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

expiry

expiry: object

serializedName

serializedName: string = "Expiry"

xmlName

xmlName: string = "Expiry"

type

type: object

name

name: "String" = "String"

permissions

permissions: object

serializedName

serializedName: string = "Permission"

xmlName

xmlName: string = "Permission"

type

type: object

name

name: "String" = "String"

start

start: object

serializedName

serializedName: string = "Start"

xmlName

xmlName: string = "Start"

type

type: object

name

name: "String" = "String"

Const CorsRule

CorsRule: object

serializedName

serializedName: string = "CorsRule"

type

type: object

className

className: string = "CorsRule"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

allowedHeaders

allowedHeaders: object

required

required: true = true

serializedName

serializedName: string = "AllowedHeaders"

xmlName

xmlName: string = "AllowedHeaders"

type

type: object

name

name: "String" = "String"

allowedMethods

allowedMethods: object

required

required: true = true

serializedName

serializedName: string = "AllowedMethods"

xmlName

xmlName: string = "AllowedMethods"

type

type: object

name

name: "String" = "String"

allowedOrigins

allowedOrigins: object

required

required: true = true

serializedName

serializedName: string = "AllowedOrigins"

xmlName

xmlName: string = "AllowedOrigins"

type

type: object

name

name: "String" = "String"

exposedHeaders

exposedHeaders: object

required

required: true = true

serializedName

serializedName: string = "ExposedHeaders"

xmlName

xmlName: string = "ExposedHeaders"

type

type: object

name

name: "String" = "String"

maxAgeInSeconds

maxAgeInSeconds: object

required

required: true = true

serializedName

serializedName: string = "MaxAgeInSeconds"

xmlName

xmlName: string = "MaxAgeInSeconds"

constraints

constraints: object

InclusiveMinimum

InclusiveMinimum: number = 0

type

type: object

name

name: "Number" = "Number"

Const DirectoryCreateHeaders

DirectoryCreateHeaders: object

serializedName

serializedName: string = "directory-create-headers"

type

type: object

className

className: string = "DirectoryCreateHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

fileAttributes

fileAttributes: object

serializedName

serializedName: string = "x-ms-file-attributes"

type

type: object

name

name: "String" = "String"

fileChangeOn

fileChangeOn: object

serializedName

serializedName: string = "x-ms-file-change-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileCreatedOn

fileCreatedOn: object

serializedName

serializedName: string = "x-ms-file-creation-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileId

fileId: object

serializedName

serializedName: string = "x-ms-file-id"

type

type: object

name

name: "String" = "String"

fileLastWriteOn

fileLastWriteOn: object

serializedName

serializedName: string = "x-ms-file-last-write-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileParentId

fileParentId: object

serializedName

serializedName: string = "x-ms-file-parent-id"

type

type: object

name

name: "String" = "String"

filePermissionKey

filePermissionKey: object

serializedName

serializedName: string = "x-ms-file-permission-key"

type

type: object

name

name: "String" = "String"

isServerEncrypted

isServerEncrypted: object

serializedName

serializedName: string = "x-ms-request-server-encrypted"

type

type: object

name

name: "Boolean" = "Boolean"

lastModified

lastModified: object

serializedName

serializedName: string = "last-modified"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const DirectoryDeleteHeaders

DirectoryDeleteHeaders: object

serializedName

serializedName: string = "directory-delete-headers"

type

type: object

className

className: string = "DirectoryDeleteHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const DirectoryForceCloseHandlesHeaders

DirectoryForceCloseHandlesHeaders: object

serializedName

serializedName: string = "directory-forceclosehandles-headers"

type

type: object

className

className: string = "DirectoryForceCloseHandlesHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

marker

marker: object

serializedName

serializedName: string = "x-ms-marker"

type

type: object

name

name: "String" = "String"

numberOfHandlesClosed

numberOfHandlesClosed: object

serializedName

serializedName: string = "x-ms-number-of-handles-closed"

type

type: object

name

name: "Number" = "Number"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const DirectoryGetPropertiesHeaders

DirectoryGetPropertiesHeaders: object

serializedName

serializedName: string = "directory-getproperties-headers"

type

type: object

className

className: string = "DirectoryGetPropertiesHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

fileAttributes

fileAttributes: object

serializedName

serializedName: string = "x-ms-file-attributes"

type

type: object

name

name: "String" = "String"

fileChangeOn

fileChangeOn: object

serializedName

serializedName: string = "x-ms-file-change-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileCreatedOn

fileCreatedOn: object

serializedName

serializedName: string = "x-ms-file-creation-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileId

fileId: object

serializedName

serializedName: string = "x-ms-file-id"

type

type: object

name

name: "String" = "String"

fileLastWriteOn

fileLastWriteOn: object

serializedName

serializedName: string = "x-ms-file-last-write-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileParentId

fileParentId: object

serializedName

serializedName: string = "x-ms-file-parent-id"

type

type: object

name

name: "String" = "String"

filePermissionKey

filePermissionKey: object

serializedName

serializedName: string = "x-ms-file-permission-key"

type

type: object

name

name: "String" = "String"

isServerEncrypted

isServerEncrypted: object

serializedName

serializedName: string = "x-ms-server-encrypted"

type

type: object

name

name: "Boolean" = "Boolean"

lastModified

lastModified: object

serializedName

serializedName: string = "last-modified"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

metadata

metadata: object

headerCollectionPrefix

headerCollectionPrefix: string = "x-ms-meta-"

serializedName

serializedName: string = "x-ms-meta"

type

type: object

name

name: "Dictionary" = "Dictionary"

value

value: object

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const DirectoryItem

DirectoryItem: object

serializedName

serializedName: string = "DirectoryItem"

xmlName

xmlName: string = "Directory"

type

type: object

className

className: string = "DirectoryItem"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

name

name: object

required

required: true = true

serializedName

serializedName: string = "Name"

xmlName

xmlName: string = "Name"

type

type: object

name

name: "String" = "String"

Const DirectoryListFilesAndDirectoriesSegmentHeaders

DirectoryListFilesAndDirectoriesSegmentHeaders: object

serializedName

serializedName: string = "directory-listfilesanddirectoriessegment-headers"

type

type: object

className

className: string = "DirectoryListFilesAndDirectoriesSegmentHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

contentType

contentType: object

serializedName

serializedName: string = "content-type"

type

type: object

name

name: "String" = "String"

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const DirectoryListHandlesHeaders

DirectoryListHandlesHeaders: object

serializedName

serializedName: string = "directory-listhandles-headers"

type

type: object

className

className: string = "DirectoryListHandlesHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

contentType

contentType: object

serializedName

serializedName: string = "content-type"

type

type: object

name

name: "String" = "String"

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const DirectorySetMetadataHeaders

DirectorySetMetadataHeaders: object

serializedName

serializedName: string = "directory-setmetadata-headers"

type

type: object

className

className: string = "DirectorySetMetadataHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

isServerEncrypted

isServerEncrypted: object

serializedName

serializedName: string = "x-ms-request-server-encrypted"

type

type: object

name

name: "Boolean" = "Boolean"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const DirectorySetPropertiesHeaders

DirectorySetPropertiesHeaders: object

serializedName

serializedName: string = "directory-setproperties-headers"

type

type: object

className

className: string = "DirectorySetPropertiesHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

fileAttributes

fileAttributes: object

serializedName

serializedName: string = "x-ms-file-attributes"

type

type: object

name

name: "String" = "String"

fileChangeOn

fileChangeOn: object

serializedName

serializedName: string = "x-ms-file-change-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileCreatedOn

fileCreatedOn: object

serializedName

serializedName: string = "x-ms-file-creation-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileId

fileId: object

serializedName

serializedName: string = "x-ms-file-id"

type

type: object

name

name: "String" = "String"

fileLastWriteOn

fileLastWriteOn: object

serializedName

serializedName: string = "x-ms-file-last-write-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileParentId

fileParentId: object

serializedName

serializedName: string = "x-ms-file-parent-id"

type

type: object

name

name: "String" = "String"

filePermissionKey

filePermissionKey: object

serializedName

serializedName: string = "x-ms-file-permission-key"

type

type: object

name

name: "String" = "String"

isServerEncrypted

isServerEncrypted: object

serializedName

serializedName: string = "x-ms-request-server-encrypted"

type

type: object

name

name: "Boolean" = "Boolean"

lastModified

lastModified: object

serializedName

serializedName: string = "last-modified"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileAbortCopyHeaders

FileAbortCopyHeaders: object

serializedName

serializedName: string = "file-abortcopy-headers"

type

type: object

className

className: string = "FileAbortCopyHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileCreateHeaders

FileCreateHeaders: object

serializedName

serializedName: string = "file-create-headers"

type

type: object

className

className: string = "FileCreateHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

fileAttributes

fileAttributes: object

serializedName

serializedName: string = "x-ms-file-attributes"

type

type: object

name

name: "String" = "String"

fileChangeOn

fileChangeOn: object

serializedName

serializedName: string = "x-ms-file-change-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileCreatedOn

fileCreatedOn: object

serializedName

serializedName: string = "x-ms-file-creation-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileId

fileId: object

serializedName

serializedName: string = "x-ms-file-id"

type

type: object

name

name: "String" = "String"

fileLastWriteOn

fileLastWriteOn: object

serializedName

serializedName: string = "x-ms-file-last-write-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileParentId

fileParentId: object

serializedName

serializedName: string = "x-ms-file-parent-id"

type

type: object

name

name: "String" = "String"

filePermissionKey

filePermissionKey: object

serializedName

serializedName: string = "x-ms-file-permission-key"

type

type: object

name

name: "String" = "String"

isServerEncrypted

isServerEncrypted: object

serializedName

serializedName: string = "x-ms-request-server-encrypted"

type

type: object

name

name: "Boolean" = "Boolean"

lastModified

lastModified: object

serializedName

serializedName: string = "last-modified"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileDeleteHeaders

FileDeleteHeaders: object

serializedName

serializedName: string = "file-delete-headers"

type

type: object

className

className: string = "FileDeleteHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileDownloadHeaders

FileDownloadHeaders: object

serializedName

serializedName: string = "file-download-headers"

type

type: object

className

className: string = "FileDownloadHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

acceptRanges

acceptRanges: object

serializedName

serializedName: string = "accept-ranges"

type

type: object

name

name: "String" = "String"

cacheControl

cacheControl: object

serializedName

serializedName: string = "cache-control"

type

type: object

name

name: "String" = "String"

contentDisposition

contentDisposition: object

serializedName

serializedName: string = "content-disposition"

type

type: object

name

name: "String" = "String"

contentEncoding

contentEncoding: object

serializedName

serializedName: string = "content-encoding"

type

type: object

name

name: "String" = "String"

contentLanguage

contentLanguage: object

serializedName

serializedName: string = "content-language"

type

type: object

name

name: "String" = "String"

contentLength

contentLength: object

serializedName

serializedName: string = "content-length"

type

type: object

name

name: "Number" = "Number"

contentMD5

contentMD5: object

serializedName

serializedName: string = "content-md5"

type

type: object

name

name: "ByteArray" = "ByteArray"

contentRange

contentRange: object

serializedName

serializedName: string = "content-range"

type

type: object

name

name: "String" = "String"

contentType

contentType: object

serializedName

serializedName: string = "content-type"

type

type: object

name

name: "String" = "String"

copyCompletedOn

copyCompletedOn: object

serializedName

serializedName: string = "x-ms-copy-completion-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

copyId

copyId: object

serializedName

serializedName: string = "x-ms-copy-id"

type

type: object

name

name: "String" = "String"

copyProgress

copyProgress: object

serializedName

serializedName: string = "x-ms-copy-progress"

type

type: object

name

name: "String" = "String"

copySource

copySource: object

serializedName

serializedName: string = "x-ms-copy-source"

type

type: object

name

name: "String" = "String"

copyStatus

copyStatus: object

serializedName

serializedName: string = "x-ms-copy-status"

type

type: object

allowedValues

allowedValues: string[] = ["pending","success","aborted","failed"]

name

name: "Enum" = "Enum"

copyStatusDescription

copyStatusDescription: object

serializedName

serializedName: string = "x-ms-copy-status-description"

type

type: object

name

name: "String" = "String"

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

fileAttributes

fileAttributes: object

serializedName

serializedName: string = "x-ms-file-attributes"

type

type: object

name

name: "String" = "String"

fileChangeOn

fileChangeOn: object

serializedName

serializedName: string = "x-ms-file-change-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileContentMD5

fileContentMD5: object

serializedName

serializedName: string = "x-ms-content-md5"

type

type: object

name

name: "ByteArray" = "ByteArray"

fileCreatedOn

fileCreatedOn: object

serializedName

serializedName: string = "x-ms-file-creation-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileId

fileId: object

serializedName

serializedName: string = "x-ms-file-id"

type

type: object

name

name: "String" = "String"

fileLastWriteOn

fileLastWriteOn: object

serializedName

serializedName: string = "x-ms-file-last-write-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileParentId

fileParentId: object

serializedName

serializedName: string = "x-ms-file-parent-id"

type

type: object

name

name: "String" = "String"

filePermissionKey

filePermissionKey: object

serializedName

serializedName: string = "x-ms-file-permission-key"

type

type: object

name

name: "String" = "String"

isServerEncrypted

isServerEncrypted: object

serializedName

serializedName: string = "x-ms-server-encrypted"

type

type: object

name

name: "Boolean" = "Boolean"

lastModified

lastModified: object

serializedName

serializedName: string = "last-modified"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

metadata

metadata: object

headerCollectionPrefix

headerCollectionPrefix: string = "x-ms-meta-"

serializedName

serializedName: string = "x-ms-meta"

type

type: object

name

name: "Dictionary" = "Dictionary"

value

value: object

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileForceCloseHandlesHeaders

FileForceCloseHandlesHeaders: object

serializedName

serializedName: string = "file-forceclosehandles-headers"

type

type: object

className

className: string = "FileForceCloseHandlesHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

marker

marker: object

serializedName

serializedName: string = "x-ms-marker"

type

type: object

name

name: "String" = "String"

numberOfHandlesClosed

numberOfHandlesClosed: object

serializedName

serializedName: string = "x-ms-number-of-handles-closed"

type

type: object

name

name: "Number" = "Number"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileGetPropertiesHeaders

FileGetPropertiesHeaders: object

serializedName

serializedName: string = "file-getproperties-headers"

type

type: object

className

className: string = "FileGetPropertiesHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

cacheControl

cacheControl: object

serializedName

serializedName: string = "cache-control"

type

type: object

name

name: "String" = "String"

contentDisposition

contentDisposition: object

serializedName

serializedName: string = "content-disposition"

type

type: object

name

name: "String" = "String"

contentEncoding

contentEncoding: object

serializedName

serializedName: string = "content-encoding"

type

type: object

name

name: "String" = "String"

contentLanguage

contentLanguage: object

serializedName

serializedName: string = "content-language"

type

type: object

name

name: "String" = "String"

contentLength

contentLength: object

serializedName

serializedName: string = "content-length"

type

type: object

name

name: "Number" = "Number"

contentMD5

contentMD5: object

serializedName

serializedName: string = "content-md5"

type

type: object

name

name: "ByteArray" = "ByteArray"

contentType

contentType: object

serializedName

serializedName: string = "content-type"

type

type: object

name

name: "String" = "String"

copyCompletedOn

copyCompletedOn: object

serializedName

serializedName: string = "x-ms-copy-completion-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

copyId

copyId: object

serializedName

serializedName: string = "x-ms-copy-id"

type

type: object

name

name: "String" = "String"

copyProgress

copyProgress: object

serializedName

serializedName: string = "x-ms-copy-progress"

type

type: object

name

name: "String" = "String"

copySource

copySource: object

serializedName

serializedName: string = "x-ms-copy-source"

type

type: object

name

name: "String" = "String"

copyStatus

copyStatus: object

serializedName

serializedName: string = "x-ms-copy-status"

type

type: object

allowedValues

allowedValues: string[] = ["pending","success","aborted","failed"]

name

name: "Enum" = "Enum"

copyStatusDescription

copyStatusDescription: object

serializedName

serializedName: string = "x-ms-copy-status-description"

type

type: object

name

name: "String" = "String"

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

fileAttributes

fileAttributes: object

serializedName

serializedName: string = "x-ms-file-attributes"

type

type: object

name

name: "String" = "String"

fileChangeOn

fileChangeOn: object

serializedName

serializedName: string = "x-ms-file-change-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileCreatedOn

fileCreatedOn: object

serializedName

serializedName: string = "x-ms-file-creation-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileId

fileId: object

serializedName

serializedName: string = "x-ms-file-id"

type

type: object

name

name: "String" = "String"

fileLastWriteOn

fileLastWriteOn: object

serializedName

serializedName: string = "x-ms-file-last-write-time"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

fileParentId

fileParentId: object

serializedName

serializedName: string = "x-ms-file-parent-id"

type

type: object

name

name: "String" = "String"

filePermissionKey

filePermissionKey: object

serializedName

serializedName: string = "x-ms-file-permission-key"

type

type: object

name

name: "String" = "String"

fileType

fileType: object

serializedName

serializedName: string = "x-ms-type"

type

type: object

name

name: "String" = "String"

isServerEncrypted

isServerEncrypted: object

serializedName

serializedName: string = "x-ms-server-encrypted"

type

type: object

name

name: "Boolean" = "Boolean"

lastModified

lastModified: object

serializedName

serializedName: string = "last-modified"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

metadata

metadata: object

headerCollectionPrefix

headerCollectionPrefix: string = "x-ms-meta-"

serializedName

serializedName: string = "x-ms-meta"

type

type: object

name

name: "Dictionary" = "Dictionary"

value

value: object

type

type: object

name

name: "String" = "String"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileGetRangeListHeaders

FileGetRangeListHeaders: object

serializedName

serializedName: string = "file-getrangelist-headers"

type

type: object

className

className: string = "FileGetRangeListHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

errorCode

errorCode: object

serializedName

serializedName: string = "x-ms-error-code"

type

type: object

name

name: "String" = "String"

etag

etag: object

serializedName

serializedName: string = "etag"

type

type: object

name

name: "String" = "String"

fileContentLength

fileContentLength: object

serializedName

serializedName: string = "x-ms-content-length"

type

type: object

name

name: "Number" = "Number"

lastModified

lastModified: object

serializedName

serializedName: string = "last-modified"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"

requestId

requestId: object

serializedName

serializedName: string = "x-ms-request-id"

type

type: object

name

name: "String" = "String"

version

version: object

serializedName

serializedName: string = "x-ms-version"

type

type: object

name

name: "String" = "String"

Const FileHttpHeaders

FileHttpHeaders: object

xmlName

xmlName: string = "fileHttpHeaders"

type

type: object

className

className: string = "FileHttpHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

fileCacheControl

fileCacheControl: object

xmlName

xmlName: string = "fileCacheControl"

type

type: object

name

name: "String" = "String"

fileContentDisposition

fileContentDisposition: object

xmlName

xmlName: string = "fileContentDisposition"

type

type: object

name

name: "String" = "String"

fileContentEncoding

fileContentEncoding: object

xmlName

xmlName: string = "fileContentEncoding"

type

type: object

name

name: "String" = "String"

fileContentLanguage

fileContentLanguage: object

xmlName

xmlName: string = "fileContentLanguage"

type

type: object

name

name: "String" = "String"

fileContentMD5

fileContentMD5: object

xmlName

xmlName: string = "fileContentMD5"

type

type: object

name

name: "ByteArray" = "ByteArray"

fileContentType

fileContentType: object

xmlName

xmlName: string = "fileContentType"

type

type: object

name

name: "String" = "String"

Const FileItem

FileItem: object

serializedName

serializedName: string = "FileItem"

xmlName

xmlName: string = "File"

type

type: object

className

className: string = "FileItem"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

name

name: object

required

required: true = true

serializedName

serializedName: string = "Name"

xmlName

xmlName: string = "Name"

type

type: object

name

name: "String" = "String"

properties

properties: object

required

required: true = true

serializedName

serializedName: string = "Properties"

xmlName

xmlName: string = "Properties"

type

type: object

className

className: string = "FileProperty"

name

name: "Composite" = "Composite"

Const FileListHandlesHeaders

FileListHandlesHeaders: object

serializedName

serializedName: string = "file-listhandles-headers"

type

type: object

className

className: string = "FileListHandlesHeaders"

name

name: "Composite" = "Composite"

modelProperties

modelProperties: object

contentType

contentType: object

serializedName

serializedName: string = "content-type"

type

type: object

name

name: "String" = "String"

date

date: object

serializedName

serializedName: string = "date"

type

type: object

name

name: "DateTimeRfc1123" = "DateTimeRfc1123"