azure-mgmt-hdinsight
Advanced tools
Comparing version
@@ -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); | ||
}; |
@@ -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": [ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
198894
469.99%9
80%3479
732.3%