function BlobService(storageAccountOrConnectionString, storageAccessKey, host, sas, endpointSuffix, token) {
  var storageServiceSettings = StorageServiceClient.getStorageSettings(storageAccountOrConnectionString, storageAccessKey, host, sas, endpointSuffix, token);

  BlobService['super_'].call(this,
    storageServiceSettings._name,
    storageServiceSettings._key,
    storageServiceSettings._blobEndpoint,
    storageServiceSettings._usePathStyleUri,
    storageServiceSettings._sasToken,
    token);
  
  this.defaultEnableReuseSocket = Constants.DEFAULT_ENABLE_REUSE_SOCKET;
  this.singleBlobPutThresholdInBytes = BlobConstants.DEFAULT_SINGLE_BLOB_PUT_THRESHOLD_IN_BYTES;
  this.parallelOperationThreadCount = Constants.DEFAULT_PARALLEL_OPERATION_THREAD_COUNT;
}
Creates a new BlobService object.
If no connection string or storageaccount and storageaccesskey are provided,
the AZURE_STORAGE_CONNECTION_STRING or AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY environment variables will be used.
@class
The BlobService class is used to perform operations on the Microsoft Azure Blob Service.
The Blob Service provides storage for binary large objects, and provides
functions for working with data stored in blobs as either streams or pages of data.

For more information on the Blob Service, as well as task focused information on using it in a Node.js application, see
[How to Use the Blob Service from Node.js](http://azure.microsoft.com/en-us/documentation/articles/storage-nodejs-how-to-use-blob-storage/).
The following defaults can be set on the blob service.
singleBlobPutThresholdInBytes                       The default maximum size, in bytes, of a blob before it must be separated into blocks.
defaultEnableReuseSocket                            The default boolean value to enable socket reuse when uploading local files or streams.
                                                    If the Node.js version is lower than 0.10.x, socket reuse will always be turned off.
defaultTimeoutIntervalInMs                          The default timeout interval, in milliseconds, to use for request made via the Blob service.
defaultClientRequestTimeoutInMs                     The default timeout of client requests, in milliseconds, to use for the request made via the Blob service.
defaultMaximumExecutionTimeInMs                     The default maximum execution time across all potential retries, for requests made via the Blob service.
defaultLocationMode                                 The default location mode for requests made via the Blob service.
parallelOperationThreadCount                        The number of parallel operations that may be performed when uploading a blob that is greater than 
                                                    the value specified by the singleBlobPutThresholdInBytes property in size.
useNagleAlgorithm                                   Determines whether the Nagle algorithm is used for requests made via the Blob service; true to use the  
                                                    Nagle algorithm; otherwise, false. The default value is false.
enableGlobalHttpAgent                               Determines whether global HTTP(s) agent is enabled; true to use Global HTTP(s) agent; otherwise, false to use
                                                    http(s).Agent({keepAlive:true}).
@constructor
@extends {StorageServiceClient}

@param {string} [storageAccountOrConnectionString]  The storage account or the connection string.
@param {string} [storageAccessKey]                  The storage access key.
@param {string|object} [host]                       The host address. To define primary only, pass a string. 
                                                    Otherwise 'host.primaryHost' defines the primary host and 'host.secondaryHost' defines the secondary host.
@param {string} [sas]                               The Shared Access Signature string.
@param {string} [endpointSuffix]                    The endpoint suffix.
@param {TokenCredential} [token]                    The {@link TokenCredential} object.