Fix tests
This commit is contained in:
Родитель
3082f988cd
Коммит
88248f2870
|
@ -9,7 +9,7 @@ exports.setEnvironment = function() {
|
||||||
exports.scopes = [[function (nock) {
|
exports.scopes = [[function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2017-05-10')
|
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"NotRegistered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"NotRegistered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -26,7 +26,7 @@ nock('http://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2017-05-10')
|
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"NotRegistered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"NotRegistered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
|
|
@ -9,7 +9,7 @@ exports.setEnvironment = function() {
|
||||||
exports.scopes = [[function (nock) {
|
exports.scopes = [[function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2017-05-10')
|
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -26,7 +26,7 @@ nock('http://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2017-05-10')
|
.get('/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/9ed7cca5-c306-4f66-9d1c-2766e67013d8/providers/Microsoft.Devices\",\"namespace\":\"Microsoft.Devices\",\"resourceTypes\":[{\"resourceType\":\"checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"usages\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"]},{\"resourceType\":\"IotHubs\",\"locations\":[\"West US\",\"North Europe\",\"East Asia\",\"East US\",\"West Europe\",\"Southeast Asia\",\"Japan East\",\"Japan West\",\"Australia East\",\"Australia Southeast\",\"West US 2\",\"West Central US\"],\"apiVersions\":[\"2017-01-19\",\"2016-02-03\",\"2015-08-15-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
|
|
@ -9,7 +9,7 @@ exports.setEnvironment = function() {
|
||||||
exports.scopes = [[function (nock) {
|
exports.scopes = [[function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2017-05-10')
|
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Unregistered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Unregistered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -26,7 +26,7 @@ nock('http://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2017-05-10')
|
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Unregistered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Unregistered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
|
|
@ -9,7 +9,7 @@ exports.setEnvironment = function() {
|
||||||
exports.scopes = [[function (nock) {
|
exports.scopes = [[function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2017-05-10')
|
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -26,7 +26,7 @@ nock('http://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2017-05-10')
|
.get('/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DatalakeStore?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590/providers/Microsoft.DataLakeStore\",\"namespace\":\"Microsoft.DataLakeStore\",\"authorization\":{\"applicationId\":\"e9f49c6b-5ce5-44c8-925d-015017e9f7ad\",\"roleDefinitionId\":\"17eb9cca-f08a-4499-b2d3-852d175f614f\"},\"resourceTypes\":[{\"resourceType\":\"accounts\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"],\"capabilities\":\"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"},{\"resourceType\":\"accounts/firewallRules\",\"locations\":[\"East US 2\",\"North Europe\",\"Central US\"],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/operationresults\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/checkNameAvailability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"locations/capability\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]},{\"resourceType\":\"operations\",\"locations\":[],\"apiVersions\":[\"2016-11-01\",\"2015-10-01-preview\"]}],\"registrationState\":\"Registered\"}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -9,7 +9,7 @@ exports.scopes = [[function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.filteringRequestBody(function (path) { return '*';})
|
.filteringRequestBody(function (path) { return '*';})
|
||||||
.put('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2017-05-10', '*')
|
.put('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2018-05-01', '*')
|
||||||
.reply(201, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
.reply(201, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-length': '206',
|
'content-length': '206',
|
||||||
|
@ -27,7 +27,7 @@ function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.filteringRequestBody(function (path) { return '*';})
|
.filteringRequestBody(function (path) { return '*';})
|
||||||
.put('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2017-05-10', '*')
|
.put('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2018-05-01', '*')
|
||||||
.reply(201, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
.reply(201, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-length': '206',
|
'content-length': '206',
|
||||||
|
@ -44,7 +44,7 @@ nock('https://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2017-05-10')
|
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -61,7 +61,7 @@ nock('http://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2017-05-10')
|
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2018-05-01')
|
||||||
.reply(200, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -78,7 +78,7 @@ nock('https://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups?api-version=2017-05-10')
|
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups?api-version=2018-05-01')
|
||||||
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/ARMDash\",\"name\":\"ARMDash\",\"location\":\"southcentralus\",\"tags\":{\"Environment\":\"Test\",\"Dept\":\"IT\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-ApplicationInsights-CentralUS\",\"name\":\"Default-ApplicationInsights-CentralUS\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-Storage-WestUS\",\"name\":\"Default-Storage-WestUS\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/onesdk2851\",\"name\":\"onesdk2851\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest\",\"name\":\"vtest\",\"location\":\"southcentralus\",\"tags\":{\"Value\":\"testval\",\"Name\":\"testtag\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest8\",\"name\":\"vtest8\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/xTestResource3432\",\"name\":\"xTestResource3432\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/ARMDash\",\"name\":\"ARMDash\",\"location\":\"southcentralus\",\"tags\":{\"Environment\":\"Test\",\"Dept\":\"IT\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-ApplicationInsights-CentralUS\",\"name\":\"Default-ApplicationInsights-CentralUS\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-Storage-WestUS\",\"name\":\"Default-Storage-WestUS\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/onesdk2851\",\"name\":\"onesdk2851\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest\",\"name\":\"vtest\",\"location\":\"southcentralus\",\"tags\":{\"Value\":\"testval\",\"Name\":\"testtag\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest8\",\"name\":\"vtest8\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/xTestResource3432\",\"name\":\"xTestResource3432\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -95,7 +95,7 @@ nock('http://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups?api-version=2017-05-10')
|
.get('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups?api-version=2018-05-01')
|
||||||
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/ARMDash\",\"name\":\"ARMDash\",\"location\":\"southcentralus\",\"tags\":{\"Environment\":\"Test\",\"Dept\":\"IT\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-ApplicationInsights-CentralUS\",\"name\":\"Default-ApplicationInsights-CentralUS\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-Storage-WestUS\",\"name\":\"Default-Storage-WestUS\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/onesdk2851\",\"name\":\"onesdk2851\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest\",\"name\":\"vtest\",\"location\":\"southcentralus\",\"tags\":{\"Value\":\"testval\",\"Name\":\"testtag\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest8\",\"name\":\"vtest8\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/xTestResource3432\",\"name\":\"xTestResource3432\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", { 'cache-control': 'no-cache',
|
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/ARMDash\",\"name\":\"ARMDash\",\"location\":\"southcentralus\",\"tags\":{\"Environment\":\"Test\",\"Dept\":\"IT\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-ApplicationInsights-CentralUS\",\"name\":\"Default-ApplicationInsights-CentralUS\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/Default-Storage-WestUS\",\"name\":\"Default-Storage-WestUS\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/onesdk2851\",\"name\":\"onesdk2851\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/testg102\",\"name\":\"testg102\",\"location\":\"westus\",\"tags\":{\"tag1\":\"val1\",\"tag2\":\"val2\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest\",\"name\":\"vtest\",\"location\":\"southcentralus\",\"tags\":{\"Value\":\"testval\",\"Name\":\"testtag\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/vtest8\",\"name\":\"vtest8\",\"location\":\"westus\",\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourceGroups/xTestResource3432\",\"name\":\"xTestResource3432\",\"location\":\"westus\",\"tags\":{},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
'content-type': 'application/json; charset=utf-8',
|
'content-type': 'application/json; charset=utf-8',
|
||||||
|
@ -112,7 +112,7 @@ nock('https://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('http://management.azure.com:443')
|
nock('http://management.azure.com:443')
|
||||||
.delete('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2017-05-10')
|
.delete('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2018-05-01')
|
||||||
.reply(202, "", { 'cache-control': 'no-cache',
|
.reply(202, "", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
expires: '-1',
|
expires: '-1',
|
||||||
|
@ -130,7 +130,7 @@ nock('http://management.azure.com:443')
|
||||||
function (nock) {
|
function (nock) {
|
||||||
var result =
|
var result =
|
||||||
nock('https://management.azure.com:443')
|
nock('https://management.azure.com:443')
|
||||||
.delete('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2017-05-10')
|
.delete('/subscriptions/38b598fc-e57a-423f-b2e7-dc0ddb631f1f/resourcegroups/testg102?api-version=2018-05-01')
|
||||||
.reply(202, "", { 'cache-control': 'no-cache',
|
.reply(202, "", { 'cache-control': 'no-cache',
|
||||||
pragma: 'no-cache',
|
pragma: 'no-cache',
|
||||||
expires: '-1',
|
expires: '-1',
|
||||||
|
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Загрузка…
Ссылка в новой задаче