code: function AzureBlobStorage(config) {
          // Store node for further use
          node = this;
          nodeConfig = config;
  
          // Create the Node-RED node
          RED.nodes.createNode(this, config);
          clientAccountName = this.credentials.accountname;
          clientAccountKey = this.credentials.key;
          clientContainerName = this.credentials.container;
          clientBlobName = this.credentials.blob;
          var blobService = Client.createBlobService(clientAccountName, clientAccountKey);
  
          this.on('input', function (msg) {
              node.log("Uploading blob...");
              var messageJSON = null;
  
              clientAccountName = this.credentials.accountname;
              clientAccountKey = this.credentials.key;
              clientContainerName = this.credentials.container;
              if (!this.credentials.blob) {
                  var nameObject = path.parse(msg.payload);
                  clientBlobName = nameObject.base;
              }
              
              // Sending data to Azure Blob Storage
              setStatus(statusEnum.sending);
              createContainer(clientContainerName, blobService, function() {
  
                  uploadBlob(msg.payload, blobService, clientContainerName, clientBlobName, function () {
  
                      node.log("Upload completed!");
  
                  });
              }); 
          });
  
          this.on('close', function () {
              disconnectFrom(this);
          });
      }
docs: Main function called by Node-RED