Коммит
c5aeeb0871
28
lib/azure.js
28
lib/azure.js
|
@ -279,7 +279,7 @@ exports.WebsiteManagementService = WebsiteManagementService;
|
||||||
/**
|
/**
|
||||||
* Creates a new {@link WebsiteManagementService} object.
|
* Creates a new {@link WebsiteManagementService} object.
|
||||||
*
|
*
|
||||||
* @deprecated Use {@link createWebsiteManagementClient} instead.
|
* @deprecated Use {@link createWebSiteManagementClient} instead.
|
||||||
*
|
*
|
||||||
* @param {string} subscriptionId The subscription ID for the account.
|
* @param {string} subscriptionId The subscription ID for the account.
|
||||||
* @param {object} authentication The authentication object for the client.
|
* @param {object} authentication The authentication object for the client.
|
||||||
|
@ -401,8 +401,9 @@ exports.createStorageManagementClient = azureStorage.createStorageManagementClie
|
||||||
* Generated StoreClient client exports.
|
* Generated StoreClient client exports.
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
var azureStore = require('azure-mgmt-store');
|
// TODO: uncomment when store is published
|
||||||
exports.StoreManagementClient = azureStore.StoreManagementClient;
|
// var azureStore = require('azure-mgmt-store');
|
||||||
|
// exports.StoreManagementClient = azureStore.StoreManagementClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new {@link StoreManagementClient} object.
|
* Creates a new {@link StoreManagementClient} object.
|
||||||
|
@ -415,14 +416,16 @@ exports.StoreManagementClient = azureStore.StoreManagementClient;
|
||||||
* @param {string} [baseUri] The base uri.
|
* @param {string} [baseUri] The base uri.
|
||||||
* @return {StoreManagementClient} A new StoreManagementClient object.
|
* @return {StoreManagementClient} A new StoreManagementClient object.
|
||||||
*/
|
*/
|
||||||
exports.createStoreManagementClient = azureStore.createStoreManagementClient;
|
// TODO: uncomment when store is published
|
||||||
|
// exports.createStoreManagementClient = azureStore.createStoreManagementClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated SubscriptionClient client exports.
|
* Generated SubscriptionClient client exports.
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
var azureSubscription = require('azure-mgmt-subscription');
|
// TODO: uncomment when subscription is published
|
||||||
exports.SubscriptionClient = azureSubscription.SubscriptionClient;
|
// var azureSubscription = require('azure-mgmt-subscription');
|
||||||
|
// exports.SubscriptionClient = azureSubscription.SubscriptionClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new {@link SubscriptionClient} object.
|
* Creates a new {@link SubscriptionClient} object.
|
||||||
|
@ -435,7 +438,8 @@ exports.SubscriptionClient = azureSubscription.SubscriptionClient;
|
||||||
* @param {string} [baseUri] The base uri.
|
* @param {string} [baseUri] The base uri.
|
||||||
* @return {SubscriptionClient} A new SubscriptionClient object.
|
* @return {SubscriptionClient} A new SubscriptionClient object.
|
||||||
*/
|
*/
|
||||||
exports.createSubscriptionClient = azureSubscription.createSubscriptionClient;
|
// TODO: uncomment when subscription is published
|
||||||
|
// exports.createSubscriptionClient = azureSubscription.createSubscriptionClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated WebsiteManagementService client exports.
|
* Generated WebsiteManagementService client exports.
|
||||||
|
@ -454,7 +458,7 @@ exports.WebSiteManagementClient = azureWebSite.WebSiteManagementClient;
|
||||||
* @param {string} [baseUri] The base uri.
|
* @param {string} [baseUri] The base uri.
|
||||||
* @return {WebSiteManagementClient} A new WebSiteManagementClient object.
|
* @return {WebSiteManagementClient} A new WebSiteManagementClient object.
|
||||||
*/
|
*/
|
||||||
exports.createWebsiteManagementClient = azureWebSite.createWebsiteManagementClient;
|
exports.createWebSiteManagementClient = azureWebSite.createWebSiteManagementClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated ComputeManagementClient client exports.
|
* Generated ComputeManagementClient client exports.
|
||||||
|
@ -499,8 +503,9 @@ exports.createServiceBusManagementClient = azureServiceBus.createServiceBusManag
|
||||||
* Generated SchedulerManagementClient client exports.
|
* Generated SchedulerManagementClient client exports.
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
var azureSchedulerManagement = require('azure-mgmt-scheduler');
|
// TODO: uncomment when scheduler management is published
|
||||||
exports.SchedulerManagementClient = azureSchedulerManagement.SchedulerManagementClient;
|
// var azureSchedulerManagement = require('azure-mgmt-scheduler');
|
||||||
|
// exports.SchedulerManagementClient = azureSchedulerManagement.SchedulerManagementClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new {@link SchedulerManagementClient} object.
|
* Creates a new {@link SchedulerManagementClient} object.
|
||||||
|
@ -513,7 +518,8 @@ exports.SchedulerManagementClient = azureSchedulerManagement.SchedulerManagement
|
||||||
* @param {string} [baseUri] The base uri.
|
* @param {string} [baseUri] The base uri.
|
||||||
* @return {SchedulerManagementClient} A new SchedulerManagementClient object.
|
* @return {SchedulerManagementClient} A new SchedulerManagementClient object.
|
||||||
*/
|
*/
|
||||||
exports.createSchedulerManagementClient = azureSchedulerManagement.createSchedulerManagementClient;
|
// TODO: uncomment when scheduler management is published
|
||||||
|
// exports.createSchedulerManagementClient = azureSchedulerManagement.createSchedulerManagementClient;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generated SchedulerClient client exports.
|
* Generated SchedulerClient client exports.
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Common Client Library for node",
|
"description": "Windows Azure Common Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Compute Management Client Library for node",
|
"description": "Windows Azure Compute Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Management Client Library for node",
|
"description": "Windows Azure Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Virtual Network Management Client Library for node",
|
"description": "Windows Azure Virtual Network Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Scheduler Client Library for node",
|
"description": "Windows Azure Scheduler Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Scheduler Management Client Library for node",
|
"description": "Windows Azure Scheduler Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Service Bus Management Client Library for node",
|
"description": "Windows Azure Service Bus Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17",
|
"azure-common": "0.9.0-pre.1",
|
||||||
"underscore": ">= 1.3.1"
|
"underscore": ">= 1.3.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure SQL Management Client Library for node",
|
"description": "Windows Azure SQL Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17",
|
"azure-common": "0.9.0-pre.1",
|
||||||
"underscore": ">= 1.3.1"
|
"underscore": ">= 1.3.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Storage Management Client Library for node",
|
"description": "Windows Azure Storage Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Store Management Client Library for node",
|
"description": "Windows Azure Store Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure Subscription Management Client Library for node",
|
"description": "Windows Azure Subscription Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17"
|
"azure-common": "0.9.0-pre.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -30,7 +30,7 @@ exports.WebSiteManagementClient = WebSiteManagementClient;
|
||||||
* @param {string} [baseUri] The base uri.
|
* @param {string} [baseUri] The base uri.
|
||||||
* @return {WebSiteManagementClient} A new WebSiteManagementClient object.
|
* @return {WebSiteManagementClient} A new WebSiteManagementClient object.
|
||||||
*/
|
*/
|
||||||
exports.createWebsiteManagementClient = function (credentials, baseUri) {
|
exports.createWebSiteManagementClient = function (credentials, baseUri) {
|
||||||
return new exports.WebSiteManagementClient.WebSiteManagementClient(credentials, baseUri);
|
return new exports.WebSiteManagementClient.WebSiteManagementClient(credentials, baseUri);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.17",
|
"version": "0.9.0-pre.1",
|
||||||
"description": "Windows Azure WebSite Management Client Library for node",
|
"description": "Windows Azure WebSite Management Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": " >= 0.7.17",
|
"azure-common": "0.9.0-pre.1",
|
||||||
"underscore": ">= 1.3.1"
|
"underscore": ">= 1.3.1"
|
||||||
},
|
},
|
||||||
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
"homepage": "http://github.com/WindowsAzure/azure-sdk-for-node",
|
||||||
|
|
21
package.json
21
package.json
|
@ -10,7 +10,7 @@
|
||||||
"Rodrigues, Andre <andrerod@microsoft.com>",
|
"Rodrigues, Andre <andrerod@microsoft.com>",
|
||||||
"Tavares, Chris <ctavares@microsoft.com>"
|
"Tavares, Chris <ctavares@microsoft.com>"
|
||||||
],
|
],
|
||||||
"version": "0.7.18",
|
"version": "0.8.0",
|
||||||
"description": "Windows Azure Client Library for node",
|
"description": "Windows Azure Client Library for node",
|
||||||
"tags": [
|
"tags": [
|
||||||
"azure",
|
"azure",
|
||||||
|
@ -31,16 +31,15 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"azure-common": "*",
|
"azure-common": "0.9.0-pre.1",
|
||||||
"azure-mgmt-compute": "*",
|
"azure-mgmt-compute": "0.9.0-pre.1",
|
||||||
"azure-mgmt": "*",
|
"azure-mgmt": "0.9.0-pre.1",
|
||||||
"azure-mgmt-vnet": "*",
|
"azure-mgmt-vnet": "0.9.0-pre.1",
|
||||||
"azure-mgmt-sb": "*",
|
"azure-mgmt-sb": "0.9.0-pre.1",
|
||||||
"azure-mgmt-sql": "*",
|
"azure-mgmt-sql": "0.9.0-pre.1",
|
||||||
"azure-mgmt-storage": "*",
|
"azure-mgmt-storage": "0.9.0-pre.1",
|
||||||
"azure-mgmt-store": "*",
|
"azure-mgmt-website": "0.9.0-pre.1",
|
||||||
"azure-mgmt-subscription": "*",
|
"azure-scheduler": "0.9.0-pre.1",
|
||||||
"azure-mgmt-website": "*",
|
|
||||||
"mime": ">= 1.2.4",
|
"mime": ">= 1.2.4",
|
||||||
"underscore": ">= 1.3.1",
|
"underscore": ">= 1.3.1",
|
||||||
"request": "2.27.0",
|
"request": "2.27.0",
|
||||||
|
|
|
@ -31,7 +31,7 @@ describe('Token credentials', function () {
|
||||||
before(function (done) {
|
before(function (done) {
|
||||||
assert.notEqual(process.env.AZURE_ACCESS_TOKEN, null);
|
assert.notEqual(process.env.AZURE_ACCESS_TOKEN, null);
|
||||||
|
|
||||||
service = azure.createWebsiteManagementClient(new TokenCloudCredentials({ token: process.env.AZURE_ACCESS_TOKEN, subscriptionId: process.env.AZURE_SUBSCRIPTION_ID }));
|
service = azure.createWebSiteManagementClient(new TokenCloudCredentials({ token: process.env.AZURE_ACCESS_TOKEN, subscriptionId: process.env.AZURE_SUBSCRIPTION_ID }));
|
||||||
service.strictSSL = false;
|
service.strictSSL = false;
|
||||||
suiteUtil = new MockedTestUtils(service, testPrefix);
|
suiteUtil = new MockedTestUtils(service, testPrefix);
|
||||||
suiteUtil.setupSuite(done);
|
suiteUtil.setupSuite(done);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче