New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

azure-mgmt-hdinsight

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-mgmt-hdinsight - npm Package Compare versions

Comparing version

to
0.9.16

lib/basicAuthenticationCloudCredentials.js

95

lib/hdinsight.js

@@ -20,32 +20,89 @@ //

/**
* HDInsightService client exports.
* HDInsight client exports.
* @ignore
*/
var HDInsightService = require('./hdinsightservice.js');
exports.HDInsightService = HDInsightService;
var HDInsightJobManagementClient = require('./hDInsightJobManagementClient.js');
exports.HDInsightJobManagementClient = HDInsightJobManagementClient;
/**
*
* Creates a new HDInsightService object
* Creates a new HDInsightJobManagementClient object
* @class
* The HDInsightService class is used to perform operations on the Microsoft Azure HDInsight Service.
* The HDInsightJobManagementClient class is used to perform job CRUD operations on the Microsoft Azure HDInsight Service.
*
* @constructor
* @param {string} configOrSubscriptionId configuration store or subscription ID for the account or the connection string
* @param {object} authentication The authentication object for the client.
* @param {string} clusterName The cluster DNS Name against which the job operations are performed
* @param {object} credentials The authentication object for the client.
*
* You must use either keyfile/certfile or keyvalue/certvalue
* to provide a management certificate to authenticate
* service requests.
* @param {string} [authentication.keyfile] The path to a file that contains the PEM encoded key
* @param {string} [authentication.certfile] The path to a file that contains the PEM encoded certificate
* @param {string} [authentication.keyvalue] A string that contains the PEM encoded key
* @param {string} [authentication.certvalue] A string that contains the PEM encoded certificate
* @param {object} [hostOptions] The host options to override defaults.
* @param {string} [hostOptions.host='management.core.windows.net'] The management endpoint.
* @param {string} [hostOptions.apiversion='2012-03-01'] The API vesion to be used.
* You must use either token or key/cert to authenticate service requests.
* @param {string} [credentials.subscriptionId] The subscription identifier.
* @param {string} [credentials.token] The access token.
* @param {string} [credentials.cert] The cert value.
* @param {string} [credentials.key] The key value.
*/
exports.createHDInsightService = function (configOrSubscriptionId, authentication, hostOptions) {
return new HDInsightService(configOrSubscriptionId, authentication, hostOptions);
exports.createHDInsightJobManagementClient = function (clusterName, credentials) {
return new exports.HDInsightJobManagementClient.HDInsightJobManagementClient(clusterName, credentials);
};
var HDInsightClusterManagementClient = require('./hDInsightClusterManagementClient.js');
exports.HDInsightClusterManagementClient = HDInsightClusterManagementClient;
/**
*
* Creates a new HDInsightClusterManagementClient object
* @class
* The HDInsightClusterManagementClient class is used to perform cluster CRUD operations on the Microsoft Azure HDInsight **Windows** Service.
*
* @constructor
* @param {string} clusterName The cluster DNS Name against which the job operations are performed
* @param {object} credentials The authentication object for the client.
*
* You must use either token or key/cert to authenticate service requests.
* @param {string} [credentials.subscriptionId] The subscription identifier.
* @param {string} [credentials.token] The access token.
* @param {string} [credentials.cert] The cert value.
* @param {string} [credentials.key] The key value.
*/
exports.createHDInsightClusterManagementClient = function (cloudServiceName, credentials) {
return new exports.HDInsightClusterManagementClient.HDInsightClusterManagementClient(cloudServiceName, credentials);
};
var HDInsightCluster2ManagementClient = require('./hDInsightCluster2ManagementClient.js');
exports.HDInsightCluster2ManagementClient = HDInsightCluster2ManagementClient;
/**
*
* Creates a new HDInsightCluster2ManagementClient object
* @class
* The HDInsightCluster2ManagementClient class is used to perform cluster CRUD operations on the Microsoft Azure HDInsight **Linux** Service.
*
* @constructor
* @param {string} clusterName The cluster DNS Name against which the job operations are performed
* @param {object} credentials The authentication object for the client.
*
* You must use either token or key/cert to authenticate service requests.
* @param {string} [credentials.subscriptionId] The subscription identifier.
* @param {string} [credentials.token] The access token.
* @param {string} [credentials.cert] The cert value.
* @param {string} [credentials.key] The key value.
*/
exports.createHDInsightCluster2ManagementClient = function (cloudServiceName, credentials) {
return new exports.HDInsightCluster2ManagementClient.HDInsightCluster2ManagementClient(cloudServiceName, credentials);
};
var BasicAuthenticationCloudCredentials = require('./basicAuthenticationCloudCredentials.js');
exports.BasicAuthenticationCloudCredentials = BasicAuthenticationCloudCredentials;
/**
* Creates a new BasicAuthenticationCloudCredentials object.
* Either a pair of cert / key values need to be pass or a pem file location.
*
* @constructor
* @param {string} credentials.username The username.
* @param {string} credentials.password The password.
*/
exports.createBasicAuthenticationCloudCredentials = function (credentials) {
return new exports.BasicAuthenticationCloudCredentials.BasicAuthenticationCloudCredentials(credentials);
};

2

package.json

@@ -13,3 +13,3 @@ {

],
"version": "0.9.15",
"version": "0.9.16",
"description": "Microsoft Azure HDInsight Service Library for node",

@@ -16,0 +16,0 @@ "tags": [