Class StorageServiceClient

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(storageAccount: string, storageAccessKey: string, host: string, usePathStyleUri: boolean, authenticationProvider: any): StorageServiceClient

Parameters

  • storageAccount: string
  • storageAccessKey: string
  • host: string
  • usePathStyleUri: boolean
  • authenticationProvider: any

Returns

StorageServiceClient

Properties

public apiVersion: string

public static incorrectStorageAccessKeyErr: string

public static incorrectStorageAccountErr: string

public usePathStyleUri: string

Methods

public addListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public emit(event: string, args?: Array<any>): boolean

Parameters

  • event: string
  • args?: Array<any> optional

Returns

boolean

public static getStorageSettings(connectionString: string): StorageServiceSettings

Parameters

  • connectionString: string

Returns

StorageServiceSettings

public static getStorageSettings(storageAccount?: string, storageAccessKey?: string, host?: string): StorageServiceSettings

Parameters

  • storageAccount?: string optional
  • storageAccessKey?: string optional
  • host?: string optional

Returns

StorageServiceSettings

public isEmulated(): boolean

Returns

boolean

public listeners(event: string): Array<Function>

Parameters

  • event: string

Returns

Array<Function>

public on(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public once(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public parseMetadataHeaders(headers: any): any

Parameters

  • headers: any

Returns

any

public performRequest(webResource: WebResource, outputData: string, options: any, callback: Function)

Parameters

  • webResource: WebResource
  • outputData: string
  • options: any
  • callback: Function

public performRequestInputStream(webResource: WebResource, outputData: string, inputStream: any, options: any, callback: Function)

Parameters

  • webResource: WebResource
  • outputData: string
  • inputStream: any
  • options: any
  • callback: Function

public performRequestOutputStream(webResource: WebResource, outputStream: any, options: any, callback: Function)

Parameters

  • webResource: WebResource
  • outputStream: any
  • options: any
  • callback: Function

public removeAllListeners(event?: string): EventEmitter

Parameters

  • event?: string optional

Returns

EventEmitter

public removeListener(event: string, listener: Function): EventEmitter

Parameters

  • event: string
  • listener: Function

Returns

EventEmitter

public setHost(host: string)

Parameters

  • host: string

public setMaxListeners(n: number)

Parameters

  • n: number

public setProxy(proxyUrl: string, proxyPort: number)

Parameters

  • proxyUrl: string
  • proxyPort: number

public withFilter(newFilter: { handle: (requestOptions: any, next: Function) => void; }): ServiceClient

Parameters

  • newFilter: { handle: (requestOptions: any, next: Function) => void; }

Returns

ServiceClient