How to use the azure-sb.ServiceBusService function in azure-sb

To help you get started, we’ve selected a few azure-sb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BabylonJS / Extensions / LeaderBoard / Zumo / service / node_modules / azure / lib / azure.js View on Github external
* @param {string} [storageAccessKey]                  The storage access key.
* @param {string} [host]                              The host address.
* @param {object} [authenticationProvider]            The authentication provider.
* @return {QueueService}                              A new QueueService object.
*/
exports.createQueueService = function (storageAccountOrConnectionString, storageAccessKey, host, authenticationProvider) {
  return new QueueService(storageAccountOrConnectionString, storageAccessKey, host, authenticationProvider);
};

/**
* Service Bus client exports.
* @ignore
*/

var azureSb = require('azure-sb');
var ServiceBusService = azureSb.ServiceBusService;
exports.ServiceBusService = ServiceBusService;

/**
* Creates a new {@link ServiceBusService} object.
*
* @param {string} [configOrNamespaceOrConnectionString]  The service bus namespace or other config information.
* @param {string} [accessKey]                    The password.
* @param {string} [issuer]                       The issuer.
* @param {string} [acsNamespace]                 The acs namespace. Usually the same as the sb namespace with "-sb" suffix.
* @param {string} [host]                         The host address.
* @param {object} [authenticationProvider]       The authentication provider.
* @return {ServiceBusService}                    A new ServiceBusService object.
*/
exports.createServiceBusService = azureSb.createServiceBusService;

/**
github Azure / azure-sdk-for-node / lib / azure.js View on Github external
* @param {string} [storageAccountOrConnectionString]  The storage account or the connection string.
 * @param {string} [storageAccessKey]                  The storage access key.
 * @param {string} [host]                              The host address.
 * @param {object} [authenticationProvider]            The authentication provider.
 * @return {QueueService}                              A new QueueService object.
 */
exports.createQueueService = function (storageAccountOrConnectionString, storageAccessKey, host, authenticationProvider) {
  return new QueueService(storageAccountOrConnectionString, storageAccessKey, host, authenticationProvider);
};

/**
 * Service Bus client exports.
 * @ignore
 */
var azureSb = require('azure-sb');
var ServiceBusService = azureSb.ServiceBusService;
exports.ServiceBusService = ServiceBusService;

/**
 * Creates a new {@link ServiceBusService} object.
 *
 * @method
 * @param {string} [configOrNamespaceOrConnectionString]  The service bus namespace or other config information.
 * @param {string} [accessKey]                    The password.
 * @param {string} [issuer]                       The issuer.
 * @param {string} [acsNamespace]                 The acs namespace. Usually the same as the sb namespace with "-sb" suffix.
 * @param {string} [host]                         The host address.
 * @param {object} [authenticationProvider]       The authentication provider.
 * @return {ServiceBusService}                    A new ServiceBusService object.
 */
exports.createServiceBusService = azureSb.createServiceBusService;