code: function setContainerProperties(blobSvc, options, result, callback) {
    blobSvc.getServiceProperties(function(error, result, response) {
      if (error) {
        return callback(error);
      }
      var serviceProperties = result;
      var allowedOrigins = options.allowedOrigins || ['*'];
      var allowedMethods = options.allowedMethods || ['GET', 'PUT', 'POST'];
      var allowedHeaders = options.allowedHeaders || ['*'];
      var exposedHeaders = options.exposedHeaders || ['*'];
      var maxAgeInSeconds = options.maxAgeInSeconds || DEFAULT_MAX_AGE_IN_SECONDS;
  
      serviceProperties.Cors = {
        CorsRule: [
          {
            AllowedOrigins: allowedOrigins,
            AllowedMethods: allowedMethods,
            AllowedHeaders: allowedHeaders,
            ExposedHeaders: exposedHeaders,
            MaxAgeInSeconds: maxAgeInSeconds
          }
        ]
      };
  
      blobSvc.setServiceProperties(serviceProperties, function(error, result, response) {
        if (error) {
          return callback(error);
        }
        return callback(null, blobSvc);
      });
    });
  }
docs: Set the main properties of the selected container.
  @param {AzureService} blobSvc Azure service object
  @param {Object} options Options passed to UploadFS library
  @param {Object} result Service Properties
  @param {Function} callback Callback to be called when operation is terminated
  @return {any} Return the service which has been initialized