@azure/arm-resources 5.2.1-alpha.20250226.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -8
- package/README.md +0 -2
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +8 -1
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +181 -4
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +28 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +8 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +1167 -892
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.js +97 -97
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/deploymentOperations.js +79 -79
- package/dist/browser/operations/deploymentOperations.js.map +1 -1
- package/dist/browser/operations/deployments.d.ts.map +1 -1
- package/dist/browser/operations/deployments.js +343 -343
- package/dist/browser/operations/deployments.js.map +1 -1
- package/dist/browser/operations/operations.js +9 -9
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/providerResourceTypes.js +5 -5
- package/dist/browser/operations/providerResourceTypes.js.map +1 -1
- package/dist/browser/operations/providers.d.ts +4 -1
- package/dist/browser/operations/providers.d.ts.map +1 -1
- package/dist/browser/operations/providers.js +51 -48
- package/dist/browser/operations/providers.js.map +1 -1
- package/dist/browser/operations/resourceGroups.d.ts.map +1 -1
- package/dist/browser/operations/resourceGroups.js +51 -51
- package/dist/browser/operations/resourceGroups.js.map +1 -1
- package/dist/browser/operations/resources.d.ts +3 -1
- package/dist/browser/operations/resources.d.ts.map +1 -1
- package/dist/browser/operations/resources.js +125 -123
- package/dist/browser/operations/resources.js.map +1 -1
- package/dist/browser/operations/tagsOperations.d.ts +29 -3
- package/dist/browser/operations/tagsOperations.d.ts.map +1 -1
- package/dist/browser/operations/tagsOperations.js +204 -51
- package/dist/browser/operations/tagsOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/deployments.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/browser/operationsInterfaces/providers.d.ts +4 -1
- package/dist/browser/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/providers.js.map +1 -1
- package/dist/browser/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/browser/operationsInterfaces/resources.d.ts +3 -1
- package/dist/browser/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resources.js.map +1 -1
- package/dist/browser/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/browser/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/resourceManagementClient.d.ts +2 -1
- package/dist/browser/resourceManagementClient.d.ts.map +1 -1
- package/dist/browser/resourceManagementClient.js +16 -18
- package/dist/browser/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +8 -1
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +181 -4
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +29 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +8 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +1169 -894
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.js +96 -96
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/deploymentOperations.js +79 -79
- package/dist/commonjs/operations/deploymentOperations.js.map +1 -1
- package/dist/commonjs/operations/deployments.d.ts.map +1 -1
- package/dist/commonjs/operations/deployments.js +342 -342
- package/dist/commonjs/operations/deployments.js.map +1 -1
- package/dist/commonjs/operations/operations.js +9 -9
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/providerResourceTypes.js +5 -5
- package/dist/commonjs/operations/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operations/providers.d.ts +4 -1
- package/dist/commonjs/operations/providers.d.ts.map +1 -1
- package/dist/commonjs/operations/providers.js +51 -48
- package/dist/commonjs/operations/providers.js.map +1 -1
- package/dist/commonjs/operations/resourceGroups.d.ts.map +1 -1
- package/dist/commonjs/operations/resourceGroups.js +50 -50
- package/dist/commonjs/operations/resourceGroups.js.map +1 -1
- package/dist/commonjs/operations/resources.d.ts +3 -1
- package/dist/commonjs/operations/resources.d.ts.map +1 -1
- package/dist/commonjs/operations/resources.js +124 -122
- package/dist/commonjs/operations/resources.js.map +1 -1
- package/dist/commonjs/operations/tagsOperations.d.ts +29 -3
- package/dist/commonjs/operations/tagsOperations.d.ts.map +1 -1
- package/dist/commonjs/operations/tagsOperations.js +204 -51
- package/dist/commonjs/operations/tagsOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deployments.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/providers.d.ts +4 -1
- package/dist/commonjs/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/providers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resources.d.ts +3 -1
- package/dist/commonjs/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/resourceManagementClient.d.ts +2 -1
- package/dist/commonjs/resourceManagementClient.d.ts.map +1 -1
- package/dist/commonjs/resourceManagementClient.js +15 -17
- package/dist/commonjs/resourceManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +8 -1
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +181 -4
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +28 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +8 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +1167 -892
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.js +97 -97
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/deploymentOperations.js +79 -79
- package/dist/esm/operations/deploymentOperations.js.map +1 -1
- package/dist/esm/operations/deployments.d.ts.map +1 -1
- package/dist/esm/operations/deployments.js +343 -343
- package/dist/esm/operations/deployments.js.map +1 -1
- package/dist/esm/operations/operations.js +9 -9
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/providerResourceTypes.js +5 -5
- package/dist/esm/operations/providerResourceTypes.js.map +1 -1
- package/dist/esm/operations/providers.d.ts +4 -1
- package/dist/esm/operations/providers.d.ts.map +1 -1
- package/dist/esm/operations/providers.js +51 -48
- package/dist/esm/operations/providers.js.map +1 -1
- package/dist/esm/operations/resourceGroups.d.ts.map +1 -1
- package/dist/esm/operations/resourceGroups.js +51 -51
- package/dist/esm/operations/resourceGroups.js.map +1 -1
- package/dist/esm/operations/resources.d.ts +3 -1
- package/dist/esm/operations/resources.d.ts.map +1 -1
- package/dist/esm/operations/resources.js +125 -123
- package/dist/esm/operations/resources.js.map +1 -1
- package/dist/esm/operations/tagsOperations.d.ts +29 -3
- package/dist/esm/operations/tagsOperations.d.ts.map +1 -1
- package/dist/esm/operations/tagsOperations.js +204 -51
- package/dist/esm/operations/tagsOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/deployments.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/esm/operationsInterfaces/providers.d.ts +4 -1
- package/dist/esm/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/providers.js.map +1 -1
- package/dist/esm/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/esm/operationsInterfaces/resources.d.ts +3 -1
- package/dist/esm/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resources.js.map +1 -1
- package/dist/esm/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/esm/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/resourceManagementClient.d.ts +2 -1
- package/dist/esm/resourceManagementClient.d.ts.map +1 -1
- package/dist/esm/resourceManagementClient.js +16 -18
- package/dist/esm/resourceManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +8 -1
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +181 -4
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +28 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +8 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +1167 -892
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.js +97 -97
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/deploymentOperations.js +79 -79
- package/dist/react-native/operations/deploymentOperations.js.map +1 -1
- package/dist/react-native/operations/deployments.d.ts.map +1 -1
- package/dist/react-native/operations/deployments.js +343 -343
- package/dist/react-native/operations/deployments.js.map +1 -1
- package/dist/react-native/operations/operations.js +9 -9
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/providerResourceTypes.js +5 -5
- package/dist/react-native/operations/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operations/providers.d.ts +4 -1
- package/dist/react-native/operations/providers.d.ts.map +1 -1
- package/dist/react-native/operations/providers.js +51 -48
- package/dist/react-native/operations/providers.js.map +1 -1
- package/dist/react-native/operations/resourceGroups.d.ts.map +1 -1
- package/dist/react-native/operations/resourceGroups.js +51 -51
- package/dist/react-native/operations/resourceGroups.js.map +1 -1
- package/dist/react-native/operations/resources.d.ts +3 -1
- package/dist/react-native/operations/resources.d.ts.map +1 -1
- package/dist/react-native/operations/resources.js +125 -123
- package/dist/react-native/operations/resources.js.map +1 -1
- package/dist/react-native/operations/tagsOperations.d.ts +29 -3
- package/dist/react-native/operations/tagsOperations.d.ts.map +1 -1
- package/dist/react-native/operations/tagsOperations.js +204 -51
- package/dist/react-native/operations/tagsOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deployments.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operationsInterfaces/providers.d.ts +4 -1
- package/dist/react-native/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/providers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resources.d.ts +3 -1
- package/dist/react-native/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/react-native/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/resourceManagementClient.d.ts +2 -1
- package/dist/react-native/resourceManagementClient.d.ts.map +1 -1
- package/dist/react-native/resourceManagementClient.js +16 -18
- package/dist/react-native/resourceManagementClient.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-resources.api.md +107 -6
|
@@ -10,7 +10,7 @@ import { setContinuationToken } from "../pagingHelper.js";
|
|
|
10
10
|
import * as coreClient from "@azure/core-client";
|
|
11
11
|
import * as Mappers from "../models/mappers.js";
|
|
12
12
|
import * as Parameters from "../models/parameters.js";
|
|
13
|
-
import { createHttpPoller } from "@azure/core-lro";
|
|
13
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
|
14
14
|
import { createLroSpec } from "../lroImpl.js";
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
16
16
|
/** Class containing Deployments operations. */
|
|
@@ -41,7 +41,7 @@ export class DeploymentsImpl {
|
|
|
41
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
42
|
}
|
|
43
43
|
return this.listAtScopePagingPage(scope, options, settings);
|
|
44
|
-
}
|
|
44
|
+
},
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
listAtScopePagingPage(scope, options, settings) {
|
|
@@ -102,7 +102,7 @@ export class DeploymentsImpl {
|
|
|
102
102
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
103
103
|
}
|
|
104
104
|
return this.listAtTenantScopePagingPage(options, settings);
|
|
105
|
-
}
|
|
105
|
+
},
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
listAtTenantScopePagingPage(options, settings) {
|
|
@@ -164,7 +164,7 @@ export class DeploymentsImpl {
|
|
|
164
164
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
165
165
|
}
|
|
166
166
|
return this.listAtManagementGroupScopePagingPage(groupId, options, settings);
|
|
167
|
-
}
|
|
167
|
+
},
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
listAtManagementGroupScopePagingPage(groupId, options, settings) {
|
|
@@ -225,7 +225,7 @@ export class DeploymentsImpl {
|
|
|
225
225
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
226
226
|
}
|
|
227
227
|
return this.listAtSubscriptionScopePagingPage(options, settings);
|
|
228
|
-
}
|
|
228
|
+
},
|
|
229
229
|
};
|
|
230
230
|
}
|
|
231
231
|
listAtSubscriptionScopePagingPage(options, settings) {
|
|
@@ -288,7 +288,7 @@ export class DeploymentsImpl {
|
|
|
288
288
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
289
289
|
}
|
|
290
290
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
291
|
-
}
|
|
291
|
+
},
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
294
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
@@ -362,18 +362,18 @@ export class DeploymentsImpl {
|
|
|
362
362
|
rawResponse: {
|
|
363
363
|
statusCode: currentRawResponse.status,
|
|
364
364
|
body: currentRawResponse.parsedBody,
|
|
365
|
-
headers: currentRawResponse.headers.toJSON()
|
|
366
|
-
}
|
|
365
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
366
|
+
},
|
|
367
367
|
};
|
|
368
368
|
};
|
|
369
369
|
const lro = createLroSpec({
|
|
370
370
|
sendOperationFn,
|
|
371
371
|
args: { scope, deploymentName, options },
|
|
372
|
-
spec: deleteAtScopeOperationSpec
|
|
372
|
+
spec: deleteAtScopeOperationSpec,
|
|
373
373
|
});
|
|
374
374
|
const poller = await createHttpPoller(lro, {
|
|
375
375
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
376
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
376
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
377
377
|
});
|
|
378
378
|
await poller.poll();
|
|
379
379
|
return poller;
|
|
@@ -429,18 +429,18 @@ export class DeploymentsImpl {
|
|
|
429
429
|
rawResponse: {
|
|
430
430
|
statusCode: currentRawResponse.status,
|
|
431
431
|
body: currentRawResponse.parsedBody,
|
|
432
|
-
headers: currentRawResponse.headers.toJSON()
|
|
433
|
-
}
|
|
432
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
433
|
+
},
|
|
434
434
|
};
|
|
435
435
|
};
|
|
436
436
|
const lro = createLroSpec({
|
|
437
437
|
sendOperationFn,
|
|
438
438
|
args: { scope, deploymentName, parameters, options },
|
|
439
|
-
spec: createOrUpdateAtScopeOperationSpec
|
|
439
|
+
spec: createOrUpdateAtScopeOperationSpec,
|
|
440
440
|
});
|
|
441
441
|
const poller = await createHttpPoller(lro, {
|
|
442
442
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
443
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
443
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
444
444
|
});
|
|
445
445
|
await poller.poll();
|
|
446
446
|
return poller;
|
|
@@ -503,18 +503,18 @@ export class DeploymentsImpl {
|
|
|
503
503
|
rawResponse: {
|
|
504
504
|
statusCode: currentRawResponse.status,
|
|
505
505
|
body: currentRawResponse.parsedBody,
|
|
506
|
-
headers: currentRawResponse.headers.toJSON()
|
|
507
|
-
}
|
|
506
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
507
|
+
},
|
|
508
508
|
};
|
|
509
509
|
};
|
|
510
510
|
const lro = createLroSpec({
|
|
511
511
|
sendOperationFn,
|
|
512
512
|
args: { scope, deploymentName, parameters, options },
|
|
513
|
-
spec: validateAtScopeOperationSpec
|
|
513
|
+
spec: validateAtScopeOperationSpec,
|
|
514
514
|
});
|
|
515
515
|
const poller = await createHttpPoller(lro, {
|
|
516
516
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
517
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
517
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
518
518
|
});
|
|
519
519
|
await poller.poll();
|
|
520
520
|
return poller;
|
|
@@ -578,18 +578,18 @@ export class DeploymentsImpl {
|
|
|
578
578
|
rawResponse: {
|
|
579
579
|
statusCode: currentRawResponse.status,
|
|
580
580
|
body: currentRawResponse.parsedBody,
|
|
581
|
-
headers: currentRawResponse.headers.toJSON()
|
|
582
|
-
}
|
|
581
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
582
|
+
},
|
|
583
583
|
};
|
|
584
584
|
};
|
|
585
585
|
const lro = createLroSpec({
|
|
586
586
|
sendOperationFn,
|
|
587
587
|
args: { deploymentName, options },
|
|
588
|
-
spec: deleteAtTenantScopeOperationSpec
|
|
588
|
+
spec: deleteAtTenantScopeOperationSpec,
|
|
589
589
|
});
|
|
590
590
|
const poller = await createHttpPoller(lro, {
|
|
591
591
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
592
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
592
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
593
593
|
});
|
|
594
594
|
await poller.poll();
|
|
595
595
|
return poller;
|
|
@@ -642,18 +642,18 @@ export class DeploymentsImpl {
|
|
|
642
642
|
rawResponse: {
|
|
643
643
|
statusCode: currentRawResponse.status,
|
|
644
644
|
body: currentRawResponse.parsedBody,
|
|
645
|
-
headers: currentRawResponse.headers.toJSON()
|
|
646
|
-
}
|
|
645
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
646
|
+
},
|
|
647
647
|
};
|
|
648
648
|
};
|
|
649
649
|
const lro = createLroSpec({
|
|
650
650
|
sendOperationFn,
|
|
651
651
|
args: { deploymentName, parameters, options },
|
|
652
|
-
spec: createOrUpdateAtTenantScopeOperationSpec
|
|
652
|
+
spec: createOrUpdateAtTenantScopeOperationSpec,
|
|
653
653
|
});
|
|
654
654
|
const poller = await createHttpPoller(lro, {
|
|
655
655
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
656
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
656
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
657
657
|
});
|
|
658
658
|
await poller.poll();
|
|
659
659
|
return poller;
|
|
@@ -712,18 +712,18 @@ export class DeploymentsImpl {
|
|
|
712
712
|
rawResponse: {
|
|
713
713
|
statusCode: currentRawResponse.status,
|
|
714
714
|
body: currentRawResponse.parsedBody,
|
|
715
|
-
headers: currentRawResponse.headers.toJSON()
|
|
716
|
-
}
|
|
715
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
716
|
+
},
|
|
717
717
|
};
|
|
718
718
|
};
|
|
719
719
|
const lro = createLroSpec({
|
|
720
720
|
sendOperationFn,
|
|
721
721
|
args: { deploymentName, parameters, options },
|
|
722
|
-
spec: validateAtTenantScopeOperationSpec
|
|
722
|
+
spec: validateAtTenantScopeOperationSpec,
|
|
723
723
|
});
|
|
724
724
|
const poller = await createHttpPoller(lro, {
|
|
725
725
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
726
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
726
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
727
727
|
});
|
|
728
728
|
await poller.poll();
|
|
729
729
|
return poller;
|
|
@@ -764,19 +764,19 @@ export class DeploymentsImpl {
|
|
|
764
764
|
rawResponse: {
|
|
765
765
|
statusCode: currentRawResponse.status,
|
|
766
766
|
body: currentRawResponse.parsedBody,
|
|
767
|
-
headers: currentRawResponse.headers.toJSON()
|
|
768
|
-
}
|
|
767
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
768
|
+
},
|
|
769
769
|
};
|
|
770
770
|
};
|
|
771
771
|
const lro = createLroSpec({
|
|
772
772
|
sendOperationFn,
|
|
773
773
|
args: { deploymentName, parameters, options },
|
|
774
|
-
spec: whatIfAtTenantScopeOperationSpec
|
|
774
|
+
spec: whatIfAtTenantScopeOperationSpec,
|
|
775
775
|
});
|
|
776
776
|
const poller = await createHttpPoller(lro, {
|
|
777
777
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
778
778
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
779
|
-
resourceLocationConfig: "location"
|
|
779
|
+
resourceLocationConfig: "location",
|
|
780
780
|
});
|
|
781
781
|
await poller.poll();
|
|
782
782
|
return poller;
|
|
@@ -837,18 +837,18 @@ export class DeploymentsImpl {
|
|
|
837
837
|
rawResponse: {
|
|
838
838
|
statusCode: currentRawResponse.status,
|
|
839
839
|
body: currentRawResponse.parsedBody,
|
|
840
|
-
headers: currentRawResponse.headers.toJSON()
|
|
841
|
-
}
|
|
840
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
841
|
+
},
|
|
842
842
|
};
|
|
843
843
|
};
|
|
844
844
|
const lro = createLroSpec({
|
|
845
845
|
sendOperationFn,
|
|
846
846
|
args: { groupId, deploymentName, options },
|
|
847
|
-
spec: deleteAtManagementGroupScopeOperationSpec
|
|
847
|
+
spec: deleteAtManagementGroupScopeOperationSpec,
|
|
848
848
|
});
|
|
849
849
|
const poller = await createHttpPoller(lro, {
|
|
850
850
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
851
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
851
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
852
852
|
});
|
|
853
853
|
await poller.poll();
|
|
854
854
|
return poller;
|
|
@@ -904,18 +904,18 @@ export class DeploymentsImpl {
|
|
|
904
904
|
rawResponse: {
|
|
905
905
|
statusCode: currentRawResponse.status,
|
|
906
906
|
body: currentRawResponse.parsedBody,
|
|
907
|
-
headers: currentRawResponse.headers.toJSON()
|
|
908
|
-
}
|
|
907
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
908
|
+
},
|
|
909
909
|
};
|
|
910
910
|
};
|
|
911
911
|
const lro = createLroSpec({
|
|
912
912
|
sendOperationFn,
|
|
913
913
|
args: { groupId, deploymentName, parameters, options },
|
|
914
|
-
spec: createOrUpdateAtManagementGroupScopeOperationSpec
|
|
914
|
+
spec: createOrUpdateAtManagementGroupScopeOperationSpec,
|
|
915
915
|
});
|
|
916
916
|
const poller = await createHttpPoller(lro, {
|
|
917
917
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
918
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
918
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
919
919
|
});
|
|
920
920
|
await poller.poll();
|
|
921
921
|
return poller;
|
|
@@ -978,18 +978,18 @@ export class DeploymentsImpl {
|
|
|
978
978
|
rawResponse: {
|
|
979
979
|
statusCode: currentRawResponse.status,
|
|
980
980
|
body: currentRawResponse.parsedBody,
|
|
981
|
-
headers: currentRawResponse.headers.toJSON()
|
|
982
|
-
}
|
|
981
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
982
|
+
},
|
|
983
983
|
};
|
|
984
984
|
};
|
|
985
985
|
const lro = createLroSpec({
|
|
986
986
|
sendOperationFn,
|
|
987
987
|
args: { groupId, deploymentName, parameters, options },
|
|
988
|
-
spec: validateAtManagementGroupScopeOperationSpec
|
|
988
|
+
spec: validateAtManagementGroupScopeOperationSpec,
|
|
989
989
|
});
|
|
990
990
|
const poller = await createHttpPoller(lro, {
|
|
991
991
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
992
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
992
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
993
993
|
});
|
|
994
994
|
await poller.poll();
|
|
995
995
|
return poller;
|
|
@@ -1033,19 +1033,19 @@ export class DeploymentsImpl {
|
|
|
1033
1033
|
rawResponse: {
|
|
1034
1034
|
statusCode: currentRawResponse.status,
|
|
1035
1035
|
body: currentRawResponse.parsedBody,
|
|
1036
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1037
|
-
}
|
|
1036
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1037
|
+
},
|
|
1038
1038
|
};
|
|
1039
1039
|
};
|
|
1040
1040
|
const lro = createLroSpec({
|
|
1041
1041
|
sendOperationFn,
|
|
1042
1042
|
args: { groupId, deploymentName, parameters, options },
|
|
1043
|
-
spec: whatIfAtManagementGroupScopeOperationSpec
|
|
1043
|
+
spec: whatIfAtManagementGroupScopeOperationSpec,
|
|
1044
1044
|
});
|
|
1045
1045
|
const poller = await createHttpPoller(lro, {
|
|
1046
1046
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1047
1047
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1048
|
-
resourceLocationConfig: "location"
|
|
1048
|
+
resourceLocationConfig: "location",
|
|
1049
1049
|
});
|
|
1050
1050
|
await poller.poll();
|
|
1051
1051
|
return poller;
|
|
@@ -1109,18 +1109,18 @@ export class DeploymentsImpl {
|
|
|
1109
1109
|
rawResponse: {
|
|
1110
1110
|
statusCode: currentRawResponse.status,
|
|
1111
1111
|
body: currentRawResponse.parsedBody,
|
|
1112
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1113
|
-
}
|
|
1112
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1113
|
+
},
|
|
1114
1114
|
};
|
|
1115
1115
|
};
|
|
1116
1116
|
const lro = createLroSpec({
|
|
1117
1117
|
sendOperationFn,
|
|
1118
1118
|
args: { deploymentName, options },
|
|
1119
|
-
spec: deleteAtSubscriptionScopeOperationSpec
|
|
1119
|
+
spec: deleteAtSubscriptionScopeOperationSpec,
|
|
1120
1120
|
});
|
|
1121
1121
|
const poller = await createHttpPoller(lro, {
|
|
1122
1122
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1123
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1123
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1124
1124
|
});
|
|
1125
1125
|
await poller.poll();
|
|
1126
1126
|
return poller;
|
|
@@ -1173,18 +1173,18 @@ export class DeploymentsImpl {
|
|
|
1173
1173
|
rawResponse: {
|
|
1174
1174
|
statusCode: currentRawResponse.status,
|
|
1175
1175
|
body: currentRawResponse.parsedBody,
|
|
1176
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1177
|
-
}
|
|
1176
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1177
|
+
},
|
|
1178
1178
|
};
|
|
1179
1179
|
};
|
|
1180
1180
|
const lro = createLroSpec({
|
|
1181
1181
|
sendOperationFn,
|
|
1182
1182
|
args: { deploymentName, parameters, options },
|
|
1183
|
-
spec: createOrUpdateAtSubscriptionScopeOperationSpec
|
|
1183
|
+
spec: createOrUpdateAtSubscriptionScopeOperationSpec,
|
|
1184
1184
|
});
|
|
1185
1185
|
const poller = await createHttpPoller(lro, {
|
|
1186
1186
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1187
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1187
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1188
1188
|
});
|
|
1189
1189
|
await poller.poll();
|
|
1190
1190
|
return poller;
|
|
@@ -1243,18 +1243,18 @@ export class DeploymentsImpl {
|
|
|
1243
1243
|
rawResponse: {
|
|
1244
1244
|
statusCode: currentRawResponse.status,
|
|
1245
1245
|
body: currentRawResponse.parsedBody,
|
|
1246
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1247
|
-
}
|
|
1246
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1247
|
+
},
|
|
1248
1248
|
};
|
|
1249
1249
|
};
|
|
1250
1250
|
const lro = createLroSpec({
|
|
1251
1251
|
sendOperationFn,
|
|
1252
1252
|
args: { deploymentName, parameters, options },
|
|
1253
|
-
spec: validateAtSubscriptionScopeOperationSpec
|
|
1253
|
+
spec: validateAtSubscriptionScopeOperationSpec,
|
|
1254
1254
|
});
|
|
1255
1255
|
const poller = await createHttpPoller(lro, {
|
|
1256
1256
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1257
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1257
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1258
1258
|
});
|
|
1259
1259
|
await poller.poll();
|
|
1260
1260
|
return poller;
|
|
@@ -1295,19 +1295,19 @@ export class DeploymentsImpl {
|
|
|
1295
1295
|
rawResponse: {
|
|
1296
1296
|
statusCode: currentRawResponse.status,
|
|
1297
1297
|
body: currentRawResponse.parsedBody,
|
|
1298
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1299
|
-
}
|
|
1298
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1299
|
+
},
|
|
1300
1300
|
};
|
|
1301
1301
|
};
|
|
1302
1302
|
const lro = createLroSpec({
|
|
1303
1303
|
sendOperationFn,
|
|
1304
1304
|
args: { deploymentName, parameters, options },
|
|
1305
|
-
spec: whatIfAtSubscriptionScopeOperationSpec
|
|
1305
|
+
spec: whatIfAtSubscriptionScopeOperationSpec,
|
|
1306
1306
|
});
|
|
1307
1307
|
const poller = await createHttpPoller(lro, {
|
|
1308
1308
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1309
1309
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1310
|
-
resourceLocationConfig: "location"
|
|
1310
|
+
resourceLocationConfig: "location",
|
|
1311
1311
|
});
|
|
1312
1312
|
await poller.poll();
|
|
1313
1313
|
return poller;
|
|
@@ -1370,18 +1370,18 @@ export class DeploymentsImpl {
|
|
|
1370
1370
|
rawResponse: {
|
|
1371
1371
|
statusCode: currentRawResponse.status,
|
|
1372
1372
|
body: currentRawResponse.parsedBody,
|
|
1373
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1374
|
-
}
|
|
1373
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1374
|
+
},
|
|
1375
1375
|
};
|
|
1376
1376
|
};
|
|
1377
1377
|
const lro = createLroSpec({
|
|
1378
1378
|
sendOperationFn,
|
|
1379
1379
|
args: { resourceGroupName, deploymentName, options },
|
|
1380
|
-
spec: deleteOperationSpec
|
|
1380
|
+
spec: deleteOperationSpec,
|
|
1381
1381
|
});
|
|
1382
1382
|
const poller = await createHttpPoller(lro, {
|
|
1383
1383
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1384
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1384
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1385
1385
|
});
|
|
1386
1386
|
await poller.poll();
|
|
1387
1387
|
return poller;
|
|
@@ -1441,18 +1441,18 @@ export class DeploymentsImpl {
|
|
|
1441
1441
|
rawResponse: {
|
|
1442
1442
|
statusCode: currentRawResponse.status,
|
|
1443
1443
|
body: currentRawResponse.parsedBody,
|
|
1444
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1445
|
-
}
|
|
1444
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1445
|
+
},
|
|
1446
1446
|
};
|
|
1447
1447
|
};
|
|
1448
1448
|
const lro = createLroSpec({
|
|
1449
1449
|
sendOperationFn,
|
|
1450
1450
|
args: { resourceGroupName, deploymentName, parameters, options },
|
|
1451
|
-
spec: createOrUpdateOperationSpec
|
|
1451
|
+
spec: createOrUpdateOperationSpec,
|
|
1452
1452
|
});
|
|
1453
1453
|
const poller = await createHttpPoller(lro, {
|
|
1454
1454
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1455
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1455
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1456
1456
|
});
|
|
1457
1457
|
await poller.poll();
|
|
1458
1458
|
return poller;
|
|
@@ -1517,18 +1517,18 @@ export class DeploymentsImpl {
|
|
|
1517
1517
|
rawResponse: {
|
|
1518
1518
|
statusCode: currentRawResponse.status,
|
|
1519
1519
|
body: currentRawResponse.parsedBody,
|
|
1520
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1521
|
-
}
|
|
1520
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1521
|
+
},
|
|
1522
1522
|
};
|
|
1523
1523
|
};
|
|
1524
1524
|
const lro = createLroSpec({
|
|
1525
1525
|
sendOperationFn,
|
|
1526
1526
|
args: { resourceGroupName, deploymentName, parameters, options },
|
|
1527
|
-
spec: validateOperationSpec
|
|
1527
|
+
spec: validateOperationSpec,
|
|
1528
1528
|
});
|
|
1529
1529
|
const poller = await createHttpPoller(lro, {
|
|
1530
1530
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1531
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
1531
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1532
1532
|
});
|
|
1533
1533
|
await poller.poll();
|
|
1534
1534
|
return poller;
|
|
@@ -1573,19 +1573,19 @@ export class DeploymentsImpl {
|
|
|
1573
1573
|
rawResponse: {
|
|
1574
1574
|
statusCode: currentRawResponse.status,
|
|
1575
1575
|
body: currentRawResponse.parsedBody,
|
|
1576
|
-
headers: currentRawResponse.headers.toJSON()
|
|
1577
|
-
}
|
|
1576
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
1577
|
+
},
|
|
1578
1578
|
};
|
|
1579
1579
|
};
|
|
1580
1580
|
const lro = createLroSpec({
|
|
1581
1581
|
sendOperationFn,
|
|
1582
1582
|
args: { resourceGroupName, deploymentName, parameters, options },
|
|
1583
|
-
spec: whatIfOperationSpec
|
|
1583
|
+
spec: whatIfOperationSpec,
|
|
1584
1584
|
});
|
|
1585
1585
|
const poller = await createHttpPoller(lro, {
|
|
1586
1586
|
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
1587
1587
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
1588
|
-
resourceLocationConfig: "location"
|
|
1588
|
+
resourceLocationConfig: "location",
|
|
1589
1589
|
});
|
|
1590
1590
|
await poller.poll();
|
|
1591
1591
|
return poller;
|
|
@@ -1686,17 +1686,17 @@ const deleteAtScopeOperationSpec = {
|
|
|
1686
1686
|
202: {},
|
|
1687
1687
|
204: {},
|
|
1688
1688
|
default: {
|
|
1689
|
-
bodyMapper: Mappers.CloudError
|
|
1690
|
-
}
|
|
1689
|
+
bodyMapper: Mappers.CloudError,
|
|
1690
|
+
},
|
|
1691
1691
|
},
|
|
1692
1692
|
queryParameters: [Parameters.apiVersion],
|
|
1693
1693
|
urlParameters: [
|
|
1694
1694
|
Parameters.$host,
|
|
1695
1695
|
Parameters.scope,
|
|
1696
|
-
Parameters.deploymentName
|
|
1696
|
+
Parameters.deploymentName,
|
|
1697
1697
|
],
|
|
1698
1698
|
headerParameters: [Parameters.accept],
|
|
1699
|
-
serializer
|
|
1699
|
+
serializer,
|
|
1700
1700
|
};
|
|
1701
1701
|
const checkExistenceAtScopeOperationSpec = {
|
|
1702
1702
|
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -1705,68 +1705,68 @@ const checkExistenceAtScopeOperationSpec = {
|
|
|
1705
1705
|
204: {},
|
|
1706
1706
|
404: {},
|
|
1707
1707
|
default: {
|
|
1708
|
-
bodyMapper: Mappers.CloudError
|
|
1709
|
-
}
|
|
1708
|
+
bodyMapper: Mappers.CloudError,
|
|
1709
|
+
},
|
|
1710
1710
|
},
|
|
1711
1711
|
queryParameters: [Parameters.apiVersion],
|
|
1712
1712
|
urlParameters: [
|
|
1713
1713
|
Parameters.$host,
|
|
1714
1714
|
Parameters.scope,
|
|
1715
|
-
Parameters.deploymentName
|
|
1715
|
+
Parameters.deploymentName,
|
|
1716
1716
|
],
|
|
1717
1717
|
headerParameters: [Parameters.accept],
|
|
1718
|
-
serializer
|
|
1718
|
+
serializer,
|
|
1719
1719
|
};
|
|
1720
1720
|
const createOrUpdateAtScopeOperationSpec = {
|
|
1721
1721
|
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
1722
1722
|
httpMethod: "PUT",
|
|
1723
1723
|
responses: {
|
|
1724
1724
|
200: {
|
|
1725
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1725
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1726
1726
|
},
|
|
1727
1727
|
201: {
|
|
1728
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1728
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1729
1729
|
},
|
|
1730
1730
|
202: {
|
|
1731
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1731
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1732
1732
|
},
|
|
1733
1733
|
204: {
|
|
1734
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1734
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1735
1735
|
},
|
|
1736
1736
|
default: {
|
|
1737
|
-
bodyMapper: Mappers.CloudError
|
|
1738
|
-
}
|
|
1737
|
+
bodyMapper: Mappers.CloudError,
|
|
1738
|
+
},
|
|
1739
1739
|
},
|
|
1740
1740
|
requestBody: Parameters.parameters,
|
|
1741
1741
|
queryParameters: [Parameters.apiVersion],
|
|
1742
1742
|
urlParameters: [
|
|
1743
1743
|
Parameters.$host,
|
|
1744
1744
|
Parameters.scope,
|
|
1745
|
-
Parameters.deploymentName
|
|
1745
|
+
Parameters.deploymentName,
|
|
1746
1746
|
],
|
|
1747
1747
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1748
1748
|
mediaType: "json",
|
|
1749
|
-
serializer
|
|
1749
|
+
serializer,
|
|
1750
1750
|
};
|
|
1751
1751
|
const getAtScopeOperationSpec = {
|
|
1752
1752
|
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
1753
1753
|
httpMethod: "GET",
|
|
1754
1754
|
responses: {
|
|
1755
1755
|
200: {
|
|
1756
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1756
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1757
1757
|
},
|
|
1758
1758
|
default: {
|
|
1759
|
-
bodyMapper: Mappers.CloudError
|
|
1760
|
-
}
|
|
1759
|
+
bodyMapper: Mappers.CloudError,
|
|
1760
|
+
},
|
|
1761
1761
|
},
|
|
1762
1762
|
queryParameters: [Parameters.apiVersion],
|
|
1763
1763
|
urlParameters: [
|
|
1764
1764
|
Parameters.$host,
|
|
1765
1765
|
Parameters.scope,
|
|
1766
|
-
Parameters.deploymentName
|
|
1766
|
+
Parameters.deploymentName,
|
|
1767
1767
|
],
|
|
1768
1768
|
headerParameters: [Parameters.accept],
|
|
1769
|
-
serializer
|
|
1769
|
+
serializer,
|
|
1770
1770
|
};
|
|
1771
1771
|
const cancelAtScopeOperationSpec = {
|
|
1772
1772
|
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel",
|
|
@@ -1774,84 +1774,84 @@ const cancelAtScopeOperationSpec = {
|
|
|
1774
1774
|
responses: {
|
|
1775
1775
|
204: {},
|
|
1776
1776
|
default: {
|
|
1777
|
-
bodyMapper: Mappers.CloudError
|
|
1778
|
-
}
|
|
1777
|
+
bodyMapper: Mappers.CloudError,
|
|
1778
|
+
},
|
|
1779
1779
|
},
|
|
1780
1780
|
queryParameters: [Parameters.apiVersion],
|
|
1781
1781
|
urlParameters: [
|
|
1782
1782
|
Parameters.$host,
|
|
1783
1783
|
Parameters.scope,
|
|
1784
|
-
Parameters.deploymentName
|
|
1784
|
+
Parameters.deploymentName,
|
|
1785
1785
|
],
|
|
1786
1786
|
headerParameters: [Parameters.accept],
|
|
1787
|
-
serializer
|
|
1787
|
+
serializer,
|
|
1788
1788
|
};
|
|
1789
1789
|
const validateAtScopeOperationSpec = {
|
|
1790
1790
|
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate",
|
|
1791
1791
|
httpMethod: "POST",
|
|
1792
1792
|
responses: {
|
|
1793
1793
|
200: {
|
|
1794
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1794
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1795
1795
|
},
|
|
1796
1796
|
201: {
|
|
1797
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1797
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1798
1798
|
},
|
|
1799
1799
|
202: {
|
|
1800
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1800
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1801
1801
|
},
|
|
1802
1802
|
204: {
|
|
1803
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1803
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1804
1804
|
},
|
|
1805
1805
|
default: {
|
|
1806
|
-
bodyMapper: Mappers.CloudError
|
|
1807
|
-
}
|
|
1806
|
+
bodyMapper: Mappers.CloudError,
|
|
1807
|
+
},
|
|
1808
1808
|
},
|
|
1809
1809
|
requestBody: Parameters.parameters,
|
|
1810
1810
|
queryParameters: [Parameters.apiVersion],
|
|
1811
1811
|
urlParameters: [
|
|
1812
1812
|
Parameters.$host,
|
|
1813
1813
|
Parameters.scope,
|
|
1814
|
-
Parameters.deploymentName
|
|
1814
|
+
Parameters.deploymentName,
|
|
1815
1815
|
],
|
|
1816
1816
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1817
1817
|
mediaType: "json",
|
|
1818
|
-
serializer
|
|
1818
|
+
serializer,
|
|
1819
1819
|
};
|
|
1820
1820
|
const exportTemplateAtScopeOperationSpec = {
|
|
1821
1821
|
path: "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate",
|
|
1822
1822
|
httpMethod: "POST",
|
|
1823
1823
|
responses: {
|
|
1824
1824
|
200: {
|
|
1825
|
-
bodyMapper: Mappers.DeploymentExportResult
|
|
1825
|
+
bodyMapper: Mappers.DeploymentExportResult,
|
|
1826
1826
|
},
|
|
1827
1827
|
default: {
|
|
1828
|
-
bodyMapper: Mappers.CloudError
|
|
1829
|
-
}
|
|
1828
|
+
bodyMapper: Mappers.CloudError,
|
|
1829
|
+
},
|
|
1830
1830
|
},
|
|
1831
1831
|
queryParameters: [Parameters.apiVersion],
|
|
1832
1832
|
urlParameters: [
|
|
1833
1833
|
Parameters.$host,
|
|
1834
1834
|
Parameters.scope,
|
|
1835
|
-
Parameters.deploymentName
|
|
1835
|
+
Parameters.deploymentName,
|
|
1836
1836
|
],
|
|
1837
1837
|
headerParameters: [Parameters.accept],
|
|
1838
|
-
serializer
|
|
1838
|
+
serializer,
|
|
1839
1839
|
};
|
|
1840
1840
|
const listAtScopeOperationSpec = {
|
|
1841
1841
|
path: "/{scope}/providers/Microsoft.Resources/deployments/",
|
|
1842
1842
|
httpMethod: "GET",
|
|
1843
1843
|
responses: {
|
|
1844
1844
|
200: {
|
|
1845
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
1845
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
1846
1846
|
},
|
|
1847
1847
|
default: {
|
|
1848
|
-
bodyMapper: Mappers.CloudError
|
|
1849
|
-
}
|
|
1848
|
+
bodyMapper: Mappers.CloudError,
|
|
1849
|
+
},
|
|
1850
1850
|
},
|
|
1851
1851
|
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
1852
1852
|
urlParameters: [Parameters.$host, Parameters.scope],
|
|
1853
1853
|
headerParameters: [Parameters.accept],
|
|
1854
|
-
serializer
|
|
1854
|
+
serializer,
|
|
1855
1855
|
};
|
|
1856
1856
|
const deleteAtTenantScopeOperationSpec = {
|
|
1857
1857
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -1862,13 +1862,13 @@ const deleteAtTenantScopeOperationSpec = {
|
|
|
1862
1862
|
202: {},
|
|
1863
1863
|
204: {},
|
|
1864
1864
|
default: {
|
|
1865
|
-
bodyMapper: Mappers.CloudError
|
|
1866
|
-
}
|
|
1865
|
+
bodyMapper: Mappers.CloudError,
|
|
1866
|
+
},
|
|
1867
1867
|
},
|
|
1868
1868
|
queryParameters: [Parameters.apiVersion],
|
|
1869
1869
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
1870
1870
|
headerParameters: [Parameters.accept],
|
|
1871
|
-
serializer
|
|
1871
|
+
serializer,
|
|
1872
1872
|
};
|
|
1873
1873
|
const checkExistenceAtTenantScopeOperationSpec = {
|
|
1874
1874
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -1877,56 +1877,56 @@ const checkExistenceAtTenantScopeOperationSpec = {
|
|
|
1877
1877
|
204: {},
|
|
1878
1878
|
404: {},
|
|
1879
1879
|
default: {
|
|
1880
|
-
bodyMapper: Mappers.CloudError
|
|
1881
|
-
}
|
|
1880
|
+
bodyMapper: Mappers.CloudError,
|
|
1881
|
+
},
|
|
1882
1882
|
},
|
|
1883
1883
|
queryParameters: [Parameters.apiVersion],
|
|
1884
1884
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
1885
1885
|
headerParameters: [Parameters.accept],
|
|
1886
|
-
serializer
|
|
1886
|
+
serializer,
|
|
1887
1887
|
};
|
|
1888
1888
|
const createOrUpdateAtTenantScopeOperationSpec = {
|
|
1889
1889
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
1890
1890
|
httpMethod: "PUT",
|
|
1891
1891
|
responses: {
|
|
1892
1892
|
200: {
|
|
1893
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1893
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1894
1894
|
},
|
|
1895
1895
|
201: {
|
|
1896
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1896
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1897
1897
|
},
|
|
1898
1898
|
202: {
|
|
1899
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1899
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1900
1900
|
},
|
|
1901
1901
|
204: {
|
|
1902
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1902
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1903
1903
|
},
|
|
1904
1904
|
default: {
|
|
1905
|
-
bodyMapper: Mappers.CloudError
|
|
1906
|
-
}
|
|
1905
|
+
bodyMapper: Mappers.CloudError,
|
|
1906
|
+
},
|
|
1907
1907
|
},
|
|
1908
1908
|
requestBody: Parameters.parameters1,
|
|
1909
1909
|
queryParameters: [Parameters.apiVersion],
|
|
1910
1910
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
1911
1911
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1912
1912
|
mediaType: "json",
|
|
1913
|
-
serializer
|
|
1913
|
+
serializer,
|
|
1914
1914
|
};
|
|
1915
1915
|
const getAtTenantScopeOperationSpec = {
|
|
1916
1916
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
1917
1917
|
httpMethod: "GET",
|
|
1918
1918
|
responses: {
|
|
1919
1919
|
200: {
|
|
1920
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
1920
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
1921
1921
|
},
|
|
1922
1922
|
default: {
|
|
1923
|
-
bodyMapper: Mappers.CloudError
|
|
1924
|
-
}
|
|
1923
|
+
bodyMapper: Mappers.CloudError,
|
|
1924
|
+
},
|
|
1925
1925
|
},
|
|
1926
1926
|
queryParameters: [Parameters.apiVersion],
|
|
1927
1927
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
1928
1928
|
headerParameters: [Parameters.accept],
|
|
1929
|
-
serializer
|
|
1929
|
+
serializer,
|
|
1930
1930
|
};
|
|
1931
1931
|
const cancelAtTenantScopeOperationSpec = {
|
|
1932
1932
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/cancel",
|
|
@@ -1934,99 +1934,99 @@ const cancelAtTenantScopeOperationSpec = {
|
|
|
1934
1934
|
responses: {
|
|
1935
1935
|
204: {},
|
|
1936
1936
|
default: {
|
|
1937
|
-
bodyMapper: Mappers.CloudError
|
|
1938
|
-
}
|
|
1937
|
+
bodyMapper: Mappers.CloudError,
|
|
1938
|
+
},
|
|
1939
1939
|
},
|
|
1940
1940
|
queryParameters: [Parameters.apiVersion],
|
|
1941
1941
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
1942
1942
|
headerParameters: [Parameters.accept],
|
|
1943
|
-
serializer
|
|
1943
|
+
serializer,
|
|
1944
1944
|
};
|
|
1945
1945
|
const validateAtTenantScopeOperationSpec = {
|
|
1946
1946
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/validate",
|
|
1947
1947
|
httpMethod: "POST",
|
|
1948
1948
|
responses: {
|
|
1949
1949
|
200: {
|
|
1950
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1950
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1951
1951
|
},
|
|
1952
1952
|
201: {
|
|
1953
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1953
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1954
1954
|
},
|
|
1955
1955
|
202: {
|
|
1956
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1956
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1957
1957
|
},
|
|
1958
1958
|
204: {
|
|
1959
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
1959
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
1960
1960
|
},
|
|
1961
1961
|
default: {
|
|
1962
|
-
bodyMapper: Mappers.CloudError
|
|
1963
|
-
}
|
|
1962
|
+
bodyMapper: Mappers.CloudError,
|
|
1963
|
+
},
|
|
1964
1964
|
},
|
|
1965
1965
|
requestBody: Parameters.parameters1,
|
|
1966
1966
|
queryParameters: [Parameters.apiVersion],
|
|
1967
1967
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
1968
1968
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1969
1969
|
mediaType: "json",
|
|
1970
|
-
serializer
|
|
1970
|
+
serializer,
|
|
1971
1971
|
};
|
|
1972
1972
|
const whatIfAtTenantScopeOperationSpec = {
|
|
1973
1973
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf",
|
|
1974
1974
|
httpMethod: "POST",
|
|
1975
1975
|
responses: {
|
|
1976
1976
|
200: {
|
|
1977
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
1977
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
1978
1978
|
},
|
|
1979
1979
|
201: {
|
|
1980
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
1980
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
1981
1981
|
},
|
|
1982
1982
|
202: {
|
|
1983
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
1983
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
1984
1984
|
},
|
|
1985
1985
|
204: {
|
|
1986
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
1986
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
1987
1987
|
},
|
|
1988
1988
|
default: {
|
|
1989
|
-
bodyMapper: Mappers.CloudError
|
|
1990
|
-
}
|
|
1989
|
+
bodyMapper: Mappers.CloudError,
|
|
1990
|
+
},
|
|
1991
1991
|
},
|
|
1992
1992
|
requestBody: Parameters.parameters2,
|
|
1993
1993
|
queryParameters: [Parameters.apiVersion],
|
|
1994
1994
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
1995
1995
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1996
1996
|
mediaType: "json",
|
|
1997
|
-
serializer
|
|
1997
|
+
serializer,
|
|
1998
1998
|
};
|
|
1999
1999
|
const exportTemplateAtTenantScopeOperationSpec = {
|
|
2000
2000
|
path: "/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate",
|
|
2001
2001
|
httpMethod: "POST",
|
|
2002
2002
|
responses: {
|
|
2003
2003
|
200: {
|
|
2004
|
-
bodyMapper: Mappers.DeploymentExportResult
|
|
2004
|
+
bodyMapper: Mappers.DeploymentExportResult,
|
|
2005
2005
|
},
|
|
2006
2006
|
default: {
|
|
2007
|
-
bodyMapper: Mappers.CloudError
|
|
2008
|
-
}
|
|
2007
|
+
bodyMapper: Mappers.CloudError,
|
|
2008
|
+
},
|
|
2009
2009
|
},
|
|
2010
2010
|
queryParameters: [Parameters.apiVersion],
|
|
2011
2011
|
urlParameters: [Parameters.$host, Parameters.deploymentName],
|
|
2012
2012
|
headerParameters: [Parameters.accept],
|
|
2013
|
-
serializer
|
|
2013
|
+
serializer,
|
|
2014
2014
|
};
|
|
2015
2015
|
const listAtTenantScopeOperationSpec = {
|
|
2016
2016
|
path: "/providers/Microsoft.Resources/deployments/",
|
|
2017
2017
|
httpMethod: "GET",
|
|
2018
2018
|
responses: {
|
|
2019
2019
|
200: {
|
|
2020
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2020
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2021
2021
|
},
|
|
2022
2022
|
default: {
|
|
2023
|
-
bodyMapper: Mappers.CloudError
|
|
2024
|
-
}
|
|
2023
|
+
bodyMapper: Mappers.CloudError,
|
|
2024
|
+
},
|
|
2025
2025
|
},
|
|
2026
2026
|
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2027
2027
|
urlParameters: [Parameters.$host],
|
|
2028
2028
|
headerParameters: [Parameters.accept],
|
|
2029
|
-
serializer
|
|
2029
|
+
serializer,
|
|
2030
2030
|
};
|
|
2031
2031
|
const deleteAtManagementGroupScopeOperationSpec = {
|
|
2032
2032
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -2037,17 +2037,17 @@ const deleteAtManagementGroupScopeOperationSpec = {
|
|
|
2037
2037
|
202: {},
|
|
2038
2038
|
204: {},
|
|
2039
2039
|
default: {
|
|
2040
|
-
bodyMapper: Mappers.CloudError
|
|
2041
|
-
}
|
|
2040
|
+
bodyMapper: Mappers.CloudError,
|
|
2041
|
+
},
|
|
2042
2042
|
},
|
|
2043
2043
|
queryParameters: [Parameters.apiVersion],
|
|
2044
2044
|
urlParameters: [
|
|
2045
2045
|
Parameters.$host,
|
|
2046
2046
|
Parameters.deploymentName,
|
|
2047
|
-
Parameters.groupId
|
|
2047
|
+
Parameters.groupId,
|
|
2048
2048
|
],
|
|
2049
2049
|
headerParameters: [Parameters.accept],
|
|
2050
|
-
serializer
|
|
2050
|
+
serializer,
|
|
2051
2051
|
};
|
|
2052
2052
|
const checkExistenceAtManagementGroupScopeOperationSpec = {
|
|
2053
2053
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -2056,68 +2056,68 @@ const checkExistenceAtManagementGroupScopeOperationSpec = {
|
|
|
2056
2056
|
204: {},
|
|
2057
2057
|
404: {},
|
|
2058
2058
|
default: {
|
|
2059
|
-
bodyMapper: Mappers.CloudError
|
|
2060
|
-
}
|
|
2059
|
+
bodyMapper: Mappers.CloudError,
|
|
2060
|
+
},
|
|
2061
2061
|
},
|
|
2062
2062
|
queryParameters: [Parameters.apiVersion],
|
|
2063
2063
|
urlParameters: [
|
|
2064
2064
|
Parameters.$host,
|
|
2065
2065
|
Parameters.deploymentName,
|
|
2066
|
-
Parameters.groupId
|
|
2066
|
+
Parameters.groupId,
|
|
2067
2067
|
],
|
|
2068
2068
|
headerParameters: [Parameters.accept],
|
|
2069
|
-
serializer
|
|
2069
|
+
serializer,
|
|
2070
2070
|
};
|
|
2071
2071
|
const createOrUpdateAtManagementGroupScopeOperationSpec = {
|
|
2072
2072
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
2073
2073
|
httpMethod: "PUT",
|
|
2074
2074
|
responses: {
|
|
2075
2075
|
200: {
|
|
2076
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2076
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2077
2077
|
},
|
|
2078
2078
|
201: {
|
|
2079
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2079
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2080
2080
|
},
|
|
2081
2081
|
202: {
|
|
2082
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2082
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2083
2083
|
},
|
|
2084
2084
|
204: {
|
|
2085
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2085
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2086
2086
|
},
|
|
2087
2087
|
default: {
|
|
2088
|
-
bodyMapper: Mappers.CloudError
|
|
2089
|
-
}
|
|
2088
|
+
bodyMapper: Mappers.CloudError,
|
|
2089
|
+
},
|
|
2090
2090
|
},
|
|
2091
2091
|
requestBody: Parameters.parameters1,
|
|
2092
2092
|
queryParameters: [Parameters.apiVersion],
|
|
2093
2093
|
urlParameters: [
|
|
2094
2094
|
Parameters.$host,
|
|
2095
2095
|
Parameters.deploymentName,
|
|
2096
|
-
Parameters.groupId
|
|
2096
|
+
Parameters.groupId,
|
|
2097
2097
|
],
|
|
2098
2098
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2099
2099
|
mediaType: "json",
|
|
2100
|
-
serializer
|
|
2100
|
+
serializer,
|
|
2101
2101
|
};
|
|
2102
2102
|
const getAtManagementGroupScopeOperationSpec = {
|
|
2103
2103
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
2104
2104
|
httpMethod: "GET",
|
|
2105
2105
|
responses: {
|
|
2106
2106
|
200: {
|
|
2107
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2107
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2108
2108
|
},
|
|
2109
2109
|
default: {
|
|
2110
|
-
bodyMapper: Mappers.CloudError
|
|
2111
|
-
}
|
|
2110
|
+
bodyMapper: Mappers.CloudError,
|
|
2111
|
+
},
|
|
2112
2112
|
},
|
|
2113
2113
|
queryParameters: [Parameters.apiVersion],
|
|
2114
2114
|
urlParameters: [
|
|
2115
2115
|
Parameters.$host,
|
|
2116
2116
|
Parameters.deploymentName,
|
|
2117
|
-
Parameters.groupId
|
|
2117
|
+
Parameters.groupId,
|
|
2118
2118
|
],
|
|
2119
2119
|
headerParameters: [Parameters.accept],
|
|
2120
|
-
serializer
|
|
2120
|
+
serializer,
|
|
2121
2121
|
};
|
|
2122
2122
|
const cancelAtManagementGroupScopeOperationSpec = {
|
|
2123
2123
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel",
|
|
@@ -2125,115 +2125,115 @@ const cancelAtManagementGroupScopeOperationSpec = {
|
|
|
2125
2125
|
responses: {
|
|
2126
2126
|
204: {},
|
|
2127
2127
|
default: {
|
|
2128
|
-
bodyMapper: Mappers.CloudError
|
|
2129
|
-
}
|
|
2128
|
+
bodyMapper: Mappers.CloudError,
|
|
2129
|
+
},
|
|
2130
2130
|
},
|
|
2131
2131
|
queryParameters: [Parameters.apiVersion],
|
|
2132
2132
|
urlParameters: [
|
|
2133
2133
|
Parameters.$host,
|
|
2134
2134
|
Parameters.deploymentName,
|
|
2135
|
-
Parameters.groupId
|
|
2135
|
+
Parameters.groupId,
|
|
2136
2136
|
],
|
|
2137
2137
|
headerParameters: [Parameters.accept],
|
|
2138
|
-
serializer
|
|
2138
|
+
serializer,
|
|
2139
2139
|
};
|
|
2140
2140
|
const validateAtManagementGroupScopeOperationSpec = {
|
|
2141
2141
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate",
|
|
2142
2142
|
httpMethod: "POST",
|
|
2143
2143
|
responses: {
|
|
2144
2144
|
200: {
|
|
2145
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2145
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2146
2146
|
},
|
|
2147
2147
|
201: {
|
|
2148
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2148
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2149
2149
|
},
|
|
2150
2150
|
202: {
|
|
2151
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2151
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2152
2152
|
},
|
|
2153
2153
|
204: {
|
|
2154
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2154
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2155
2155
|
},
|
|
2156
2156
|
default: {
|
|
2157
|
-
bodyMapper: Mappers.CloudError
|
|
2158
|
-
}
|
|
2157
|
+
bodyMapper: Mappers.CloudError,
|
|
2158
|
+
},
|
|
2159
2159
|
},
|
|
2160
2160
|
requestBody: Parameters.parameters1,
|
|
2161
2161
|
queryParameters: [Parameters.apiVersion],
|
|
2162
2162
|
urlParameters: [
|
|
2163
2163
|
Parameters.$host,
|
|
2164
2164
|
Parameters.deploymentName,
|
|
2165
|
-
Parameters.groupId
|
|
2165
|
+
Parameters.groupId,
|
|
2166
2166
|
],
|
|
2167
2167
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2168
2168
|
mediaType: "json",
|
|
2169
|
-
serializer
|
|
2169
|
+
serializer,
|
|
2170
2170
|
};
|
|
2171
2171
|
const whatIfAtManagementGroupScopeOperationSpec = {
|
|
2172
2172
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf",
|
|
2173
2173
|
httpMethod: "POST",
|
|
2174
2174
|
responses: {
|
|
2175
2175
|
200: {
|
|
2176
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2176
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2177
2177
|
},
|
|
2178
2178
|
201: {
|
|
2179
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2179
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2180
2180
|
},
|
|
2181
2181
|
202: {
|
|
2182
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2182
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2183
2183
|
},
|
|
2184
2184
|
204: {
|
|
2185
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2185
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2186
2186
|
},
|
|
2187
2187
|
default: {
|
|
2188
|
-
bodyMapper: Mappers.CloudError
|
|
2189
|
-
}
|
|
2188
|
+
bodyMapper: Mappers.CloudError,
|
|
2189
|
+
},
|
|
2190
2190
|
},
|
|
2191
2191
|
requestBody: Parameters.parameters2,
|
|
2192
2192
|
queryParameters: [Parameters.apiVersion],
|
|
2193
2193
|
urlParameters: [
|
|
2194
2194
|
Parameters.$host,
|
|
2195
2195
|
Parameters.deploymentName,
|
|
2196
|
-
Parameters.groupId
|
|
2196
|
+
Parameters.groupId,
|
|
2197
2197
|
],
|
|
2198
2198
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2199
2199
|
mediaType: "json",
|
|
2200
|
-
serializer
|
|
2200
|
+
serializer,
|
|
2201
2201
|
};
|
|
2202
2202
|
const exportTemplateAtManagementGroupScopeOperationSpec = {
|
|
2203
2203
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate",
|
|
2204
2204
|
httpMethod: "POST",
|
|
2205
2205
|
responses: {
|
|
2206
2206
|
200: {
|
|
2207
|
-
bodyMapper: Mappers.DeploymentExportResult
|
|
2207
|
+
bodyMapper: Mappers.DeploymentExportResult,
|
|
2208
2208
|
},
|
|
2209
2209
|
default: {
|
|
2210
|
-
bodyMapper: Mappers.CloudError
|
|
2211
|
-
}
|
|
2210
|
+
bodyMapper: Mappers.CloudError,
|
|
2211
|
+
},
|
|
2212
2212
|
},
|
|
2213
2213
|
queryParameters: [Parameters.apiVersion],
|
|
2214
2214
|
urlParameters: [
|
|
2215
2215
|
Parameters.$host,
|
|
2216
2216
|
Parameters.deploymentName,
|
|
2217
|
-
Parameters.groupId
|
|
2217
|
+
Parameters.groupId,
|
|
2218
2218
|
],
|
|
2219
2219
|
headerParameters: [Parameters.accept],
|
|
2220
|
-
serializer
|
|
2220
|
+
serializer,
|
|
2221
2221
|
};
|
|
2222
2222
|
const listAtManagementGroupScopeOperationSpec = {
|
|
2223
2223
|
path: "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/",
|
|
2224
2224
|
httpMethod: "GET",
|
|
2225
2225
|
responses: {
|
|
2226
2226
|
200: {
|
|
2227
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2227
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2228
2228
|
},
|
|
2229
2229
|
default: {
|
|
2230
|
-
bodyMapper: Mappers.CloudError
|
|
2231
|
-
}
|
|
2230
|
+
bodyMapper: Mappers.CloudError,
|
|
2231
|
+
},
|
|
2232
2232
|
},
|
|
2233
2233
|
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2234
2234
|
urlParameters: [Parameters.$host, Parameters.groupId],
|
|
2235
2235
|
headerParameters: [Parameters.accept],
|
|
2236
|
-
serializer
|
|
2236
|
+
serializer,
|
|
2237
2237
|
};
|
|
2238
2238
|
const deleteAtSubscriptionScopeOperationSpec = {
|
|
2239
2239
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -2244,17 +2244,17 @@ const deleteAtSubscriptionScopeOperationSpec = {
|
|
|
2244
2244
|
202: {},
|
|
2245
2245
|
204: {},
|
|
2246
2246
|
default: {
|
|
2247
|
-
bodyMapper: Mappers.CloudError
|
|
2248
|
-
}
|
|
2247
|
+
bodyMapper: Mappers.CloudError,
|
|
2248
|
+
},
|
|
2249
2249
|
},
|
|
2250
2250
|
queryParameters: [Parameters.apiVersion],
|
|
2251
2251
|
urlParameters: [
|
|
2252
2252
|
Parameters.$host,
|
|
2253
2253
|
Parameters.deploymentName,
|
|
2254
|
-
Parameters.subscriptionId
|
|
2254
|
+
Parameters.subscriptionId,
|
|
2255
2255
|
],
|
|
2256
2256
|
headerParameters: [Parameters.accept],
|
|
2257
|
-
serializer
|
|
2257
|
+
serializer,
|
|
2258
2258
|
};
|
|
2259
2259
|
const checkExistenceAtSubscriptionScopeOperationSpec = {
|
|
2260
2260
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -2263,68 +2263,68 @@ const checkExistenceAtSubscriptionScopeOperationSpec = {
|
|
|
2263
2263
|
204: {},
|
|
2264
2264
|
404: {},
|
|
2265
2265
|
default: {
|
|
2266
|
-
bodyMapper: Mappers.CloudError
|
|
2267
|
-
}
|
|
2266
|
+
bodyMapper: Mappers.CloudError,
|
|
2267
|
+
},
|
|
2268
2268
|
},
|
|
2269
2269
|
queryParameters: [Parameters.apiVersion],
|
|
2270
2270
|
urlParameters: [
|
|
2271
2271
|
Parameters.$host,
|
|
2272
2272
|
Parameters.deploymentName,
|
|
2273
|
-
Parameters.subscriptionId
|
|
2273
|
+
Parameters.subscriptionId,
|
|
2274
2274
|
],
|
|
2275
2275
|
headerParameters: [Parameters.accept],
|
|
2276
|
-
serializer
|
|
2276
|
+
serializer,
|
|
2277
2277
|
};
|
|
2278
2278
|
const createOrUpdateAtSubscriptionScopeOperationSpec = {
|
|
2279
2279
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
2280
2280
|
httpMethod: "PUT",
|
|
2281
2281
|
responses: {
|
|
2282
2282
|
200: {
|
|
2283
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2283
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2284
2284
|
},
|
|
2285
2285
|
201: {
|
|
2286
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2286
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2287
2287
|
},
|
|
2288
2288
|
202: {
|
|
2289
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2289
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2290
2290
|
},
|
|
2291
2291
|
204: {
|
|
2292
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2292
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2293
2293
|
},
|
|
2294
2294
|
default: {
|
|
2295
|
-
bodyMapper: Mappers.CloudError
|
|
2296
|
-
}
|
|
2295
|
+
bodyMapper: Mappers.CloudError,
|
|
2296
|
+
},
|
|
2297
2297
|
},
|
|
2298
2298
|
requestBody: Parameters.parameters,
|
|
2299
2299
|
queryParameters: [Parameters.apiVersion],
|
|
2300
2300
|
urlParameters: [
|
|
2301
2301
|
Parameters.$host,
|
|
2302
2302
|
Parameters.deploymentName,
|
|
2303
|
-
Parameters.subscriptionId
|
|
2303
|
+
Parameters.subscriptionId,
|
|
2304
2304
|
],
|
|
2305
2305
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2306
2306
|
mediaType: "json",
|
|
2307
|
-
serializer
|
|
2307
|
+
serializer,
|
|
2308
2308
|
};
|
|
2309
2309
|
const getAtSubscriptionScopeOperationSpec = {
|
|
2310
2310
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
2311
2311
|
httpMethod: "GET",
|
|
2312
2312
|
responses: {
|
|
2313
2313
|
200: {
|
|
2314
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2314
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2315
2315
|
},
|
|
2316
2316
|
default: {
|
|
2317
|
-
bodyMapper: Mappers.CloudError
|
|
2318
|
-
}
|
|
2317
|
+
bodyMapper: Mappers.CloudError,
|
|
2318
|
+
},
|
|
2319
2319
|
},
|
|
2320
2320
|
queryParameters: [Parameters.apiVersion],
|
|
2321
2321
|
urlParameters: [
|
|
2322
2322
|
Parameters.$host,
|
|
2323
2323
|
Parameters.deploymentName,
|
|
2324
|
-
Parameters.subscriptionId
|
|
2324
|
+
Parameters.subscriptionId,
|
|
2325
2325
|
],
|
|
2326
2326
|
headerParameters: [Parameters.accept],
|
|
2327
|
-
serializer
|
|
2327
|
+
serializer,
|
|
2328
2328
|
};
|
|
2329
2329
|
const cancelAtSubscriptionScopeOperationSpec = {
|
|
2330
2330
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel",
|
|
@@ -2332,115 +2332,115 @@ const cancelAtSubscriptionScopeOperationSpec = {
|
|
|
2332
2332
|
responses: {
|
|
2333
2333
|
204: {},
|
|
2334
2334
|
default: {
|
|
2335
|
-
bodyMapper: Mappers.CloudError
|
|
2336
|
-
}
|
|
2335
|
+
bodyMapper: Mappers.CloudError,
|
|
2336
|
+
},
|
|
2337
2337
|
},
|
|
2338
2338
|
queryParameters: [Parameters.apiVersion],
|
|
2339
2339
|
urlParameters: [
|
|
2340
2340
|
Parameters.$host,
|
|
2341
2341
|
Parameters.deploymentName,
|
|
2342
|
-
Parameters.subscriptionId
|
|
2342
|
+
Parameters.subscriptionId,
|
|
2343
2343
|
],
|
|
2344
2344
|
headerParameters: [Parameters.accept],
|
|
2345
|
-
serializer
|
|
2345
|
+
serializer,
|
|
2346
2346
|
};
|
|
2347
2347
|
const validateAtSubscriptionScopeOperationSpec = {
|
|
2348
2348
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate",
|
|
2349
2349
|
httpMethod: "POST",
|
|
2350
2350
|
responses: {
|
|
2351
2351
|
200: {
|
|
2352
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2352
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2353
2353
|
},
|
|
2354
2354
|
201: {
|
|
2355
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2355
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2356
2356
|
},
|
|
2357
2357
|
202: {
|
|
2358
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2358
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2359
2359
|
},
|
|
2360
2360
|
204: {
|
|
2361
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2361
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2362
2362
|
},
|
|
2363
2363
|
default: {
|
|
2364
|
-
bodyMapper: Mappers.CloudError
|
|
2365
|
-
}
|
|
2364
|
+
bodyMapper: Mappers.CloudError,
|
|
2365
|
+
},
|
|
2366
2366
|
},
|
|
2367
2367
|
requestBody: Parameters.parameters,
|
|
2368
2368
|
queryParameters: [Parameters.apiVersion],
|
|
2369
2369
|
urlParameters: [
|
|
2370
2370
|
Parameters.$host,
|
|
2371
2371
|
Parameters.deploymentName,
|
|
2372
|
-
Parameters.subscriptionId
|
|
2372
|
+
Parameters.subscriptionId,
|
|
2373
2373
|
],
|
|
2374
2374
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2375
2375
|
mediaType: "json",
|
|
2376
|
-
serializer
|
|
2376
|
+
serializer,
|
|
2377
2377
|
};
|
|
2378
2378
|
const whatIfAtSubscriptionScopeOperationSpec = {
|
|
2379
2379
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf",
|
|
2380
2380
|
httpMethod: "POST",
|
|
2381
2381
|
responses: {
|
|
2382
2382
|
200: {
|
|
2383
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2383
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2384
2384
|
},
|
|
2385
2385
|
201: {
|
|
2386
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2386
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2387
2387
|
},
|
|
2388
2388
|
202: {
|
|
2389
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2389
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2390
2390
|
},
|
|
2391
2391
|
204: {
|
|
2392
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2392
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2393
2393
|
},
|
|
2394
2394
|
default: {
|
|
2395
|
-
bodyMapper: Mappers.CloudError
|
|
2396
|
-
}
|
|
2395
|
+
bodyMapper: Mappers.CloudError,
|
|
2396
|
+
},
|
|
2397
2397
|
},
|
|
2398
2398
|
requestBody: Parameters.parameters3,
|
|
2399
2399
|
queryParameters: [Parameters.apiVersion],
|
|
2400
2400
|
urlParameters: [
|
|
2401
2401
|
Parameters.$host,
|
|
2402
2402
|
Parameters.deploymentName,
|
|
2403
|
-
Parameters.subscriptionId
|
|
2403
|
+
Parameters.subscriptionId,
|
|
2404
2404
|
],
|
|
2405
2405
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2406
2406
|
mediaType: "json",
|
|
2407
|
-
serializer
|
|
2407
|
+
serializer,
|
|
2408
2408
|
};
|
|
2409
2409
|
const exportTemplateAtSubscriptionScopeOperationSpec = {
|
|
2410
2410
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate",
|
|
2411
2411
|
httpMethod: "POST",
|
|
2412
2412
|
responses: {
|
|
2413
2413
|
200: {
|
|
2414
|
-
bodyMapper: Mappers.DeploymentExportResult
|
|
2414
|
+
bodyMapper: Mappers.DeploymentExportResult,
|
|
2415
2415
|
},
|
|
2416
2416
|
default: {
|
|
2417
|
-
bodyMapper: Mappers.CloudError
|
|
2418
|
-
}
|
|
2417
|
+
bodyMapper: Mappers.CloudError,
|
|
2418
|
+
},
|
|
2419
2419
|
},
|
|
2420
2420
|
queryParameters: [Parameters.apiVersion],
|
|
2421
2421
|
urlParameters: [
|
|
2422
2422
|
Parameters.$host,
|
|
2423
2423
|
Parameters.deploymentName,
|
|
2424
|
-
Parameters.subscriptionId
|
|
2424
|
+
Parameters.subscriptionId,
|
|
2425
2425
|
],
|
|
2426
2426
|
headerParameters: [Parameters.accept],
|
|
2427
|
-
serializer
|
|
2427
|
+
serializer,
|
|
2428
2428
|
};
|
|
2429
2429
|
const listAtSubscriptionScopeOperationSpec = {
|
|
2430
2430
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/",
|
|
2431
2431
|
httpMethod: "GET",
|
|
2432
2432
|
responses: {
|
|
2433
2433
|
200: {
|
|
2434
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2434
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2435
2435
|
},
|
|
2436
2436
|
default: {
|
|
2437
|
-
bodyMapper: Mappers.CloudError
|
|
2438
|
-
}
|
|
2437
|
+
bodyMapper: Mappers.CloudError,
|
|
2438
|
+
},
|
|
2439
2439
|
},
|
|
2440
2440
|
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2441
2441
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
2442
2442
|
headerParameters: [Parameters.accept],
|
|
2443
|
-
serializer
|
|
2443
|
+
serializer,
|
|
2444
2444
|
};
|
|
2445
2445
|
const deleteOperationSpec = {
|
|
2446
2446
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -2451,18 +2451,18 @@ const deleteOperationSpec = {
|
|
|
2451
2451
|
202: {},
|
|
2452
2452
|
204: {},
|
|
2453
2453
|
default: {
|
|
2454
|
-
bodyMapper: Mappers.CloudError
|
|
2455
|
-
}
|
|
2454
|
+
bodyMapper: Mappers.CloudError,
|
|
2455
|
+
},
|
|
2456
2456
|
},
|
|
2457
2457
|
queryParameters: [Parameters.apiVersion],
|
|
2458
2458
|
urlParameters: [
|
|
2459
2459
|
Parameters.$host,
|
|
2460
2460
|
Parameters.deploymentName,
|
|
2461
2461
|
Parameters.subscriptionId,
|
|
2462
|
-
Parameters.resourceGroupName
|
|
2462
|
+
Parameters.resourceGroupName,
|
|
2463
2463
|
],
|
|
2464
2464
|
headerParameters: [Parameters.accept],
|
|
2465
|
-
serializer
|
|
2465
|
+
serializer,
|
|
2466
2466
|
};
|
|
2467
2467
|
const checkExistenceOperationSpec = {
|
|
2468
2468
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
@@ -2471,38 +2471,38 @@ const checkExistenceOperationSpec = {
|
|
|
2471
2471
|
204: {},
|
|
2472
2472
|
404: {},
|
|
2473
2473
|
default: {
|
|
2474
|
-
bodyMapper: Mappers.CloudError
|
|
2475
|
-
}
|
|
2474
|
+
bodyMapper: Mappers.CloudError,
|
|
2475
|
+
},
|
|
2476
2476
|
},
|
|
2477
2477
|
queryParameters: [Parameters.apiVersion],
|
|
2478
2478
|
urlParameters: [
|
|
2479
2479
|
Parameters.$host,
|
|
2480
2480
|
Parameters.deploymentName,
|
|
2481
2481
|
Parameters.subscriptionId,
|
|
2482
|
-
Parameters.resourceGroupName
|
|
2482
|
+
Parameters.resourceGroupName,
|
|
2483
2483
|
],
|
|
2484
2484
|
headerParameters: [Parameters.accept],
|
|
2485
|
-
serializer
|
|
2485
|
+
serializer,
|
|
2486
2486
|
};
|
|
2487
2487
|
const createOrUpdateOperationSpec = {
|
|
2488
2488
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
2489
2489
|
httpMethod: "PUT",
|
|
2490
2490
|
responses: {
|
|
2491
2491
|
200: {
|
|
2492
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2492
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2493
2493
|
},
|
|
2494
2494
|
201: {
|
|
2495
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2495
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2496
2496
|
},
|
|
2497
2497
|
202: {
|
|
2498
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2498
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2499
2499
|
},
|
|
2500
2500
|
204: {
|
|
2501
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2501
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2502
2502
|
},
|
|
2503
2503
|
default: {
|
|
2504
|
-
bodyMapper: Mappers.CloudError
|
|
2505
|
-
}
|
|
2504
|
+
bodyMapper: Mappers.CloudError,
|
|
2505
|
+
},
|
|
2506
2506
|
},
|
|
2507
2507
|
requestBody: Parameters.parameters,
|
|
2508
2508
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -2510,32 +2510,32 @@ const createOrUpdateOperationSpec = {
|
|
|
2510
2510
|
Parameters.$host,
|
|
2511
2511
|
Parameters.deploymentName,
|
|
2512
2512
|
Parameters.subscriptionId,
|
|
2513
|
-
Parameters.resourceGroupName
|
|
2513
|
+
Parameters.resourceGroupName,
|
|
2514
2514
|
],
|
|
2515
2515
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2516
2516
|
mediaType: "json",
|
|
2517
|
-
serializer
|
|
2517
|
+
serializer,
|
|
2518
2518
|
};
|
|
2519
2519
|
const getOperationSpec = {
|
|
2520
2520
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}",
|
|
2521
2521
|
httpMethod: "GET",
|
|
2522
2522
|
responses: {
|
|
2523
2523
|
200: {
|
|
2524
|
-
bodyMapper: Mappers.DeploymentExtended
|
|
2524
|
+
bodyMapper: Mappers.DeploymentExtended,
|
|
2525
2525
|
},
|
|
2526
2526
|
default: {
|
|
2527
|
-
bodyMapper: Mappers.CloudError
|
|
2528
|
-
}
|
|
2527
|
+
bodyMapper: Mappers.CloudError,
|
|
2528
|
+
},
|
|
2529
2529
|
},
|
|
2530
2530
|
queryParameters: [Parameters.apiVersion],
|
|
2531
2531
|
urlParameters: [
|
|
2532
2532
|
Parameters.$host,
|
|
2533
2533
|
Parameters.deploymentName,
|
|
2534
2534
|
Parameters.subscriptionId,
|
|
2535
|
-
Parameters.resourceGroupName
|
|
2535
|
+
Parameters.resourceGroupName,
|
|
2536
2536
|
],
|
|
2537
2537
|
headerParameters: [Parameters.accept],
|
|
2538
|
-
serializer
|
|
2538
|
+
serializer,
|
|
2539
2539
|
};
|
|
2540
2540
|
const cancelOperationSpec = {
|
|
2541
2541
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel",
|
|
@@ -2543,38 +2543,38 @@ const cancelOperationSpec = {
|
|
|
2543
2543
|
responses: {
|
|
2544
2544
|
204: {},
|
|
2545
2545
|
default: {
|
|
2546
|
-
bodyMapper: Mappers.CloudError
|
|
2547
|
-
}
|
|
2546
|
+
bodyMapper: Mappers.CloudError,
|
|
2547
|
+
},
|
|
2548
2548
|
},
|
|
2549
2549
|
queryParameters: [Parameters.apiVersion],
|
|
2550
2550
|
urlParameters: [
|
|
2551
2551
|
Parameters.$host,
|
|
2552
2552
|
Parameters.deploymentName,
|
|
2553
2553
|
Parameters.subscriptionId,
|
|
2554
|
-
Parameters.resourceGroupName
|
|
2554
|
+
Parameters.resourceGroupName,
|
|
2555
2555
|
],
|
|
2556
2556
|
headerParameters: [Parameters.accept],
|
|
2557
|
-
serializer
|
|
2557
|
+
serializer,
|
|
2558
2558
|
};
|
|
2559
2559
|
const validateOperationSpec = {
|
|
2560
2560
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate",
|
|
2561
2561
|
httpMethod: "POST",
|
|
2562
2562
|
responses: {
|
|
2563
2563
|
200: {
|
|
2564
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2564
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2565
2565
|
},
|
|
2566
2566
|
201: {
|
|
2567
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2567
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2568
2568
|
},
|
|
2569
2569
|
202: {
|
|
2570
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2570
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2571
2571
|
},
|
|
2572
2572
|
204: {
|
|
2573
|
-
bodyMapper: Mappers.DeploymentValidateResult
|
|
2573
|
+
bodyMapper: Mappers.DeploymentValidateResult,
|
|
2574
2574
|
},
|
|
2575
2575
|
default: {
|
|
2576
|
-
bodyMapper: Mappers.CloudError
|
|
2577
|
-
}
|
|
2576
|
+
bodyMapper: Mappers.CloudError,
|
|
2577
|
+
},
|
|
2578
2578
|
},
|
|
2579
2579
|
requestBody: Parameters.parameters,
|
|
2580
2580
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -2582,31 +2582,31 @@ const validateOperationSpec = {
|
|
|
2582
2582
|
Parameters.$host,
|
|
2583
2583
|
Parameters.deploymentName,
|
|
2584
2584
|
Parameters.subscriptionId,
|
|
2585
|
-
Parameters.resourceGroupName
|
|
2585
|
+
Parameters.resourceGroupName,
|
|
2586
2586
|
],
|
|
2587
2587
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2588
2588
|
mediaType: "json",
|
|
2589
|
-
serializer
|
|
2589
|
+
serializer,
|
|
2590
2590
|
};
|
|
2591
2591
|
const whatIfOperationSpec = {
|
|
2592
2592
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf",
|
|
2593
2593
|
httpMethod: "POST",
|
|
2594
2594
|
responses: {
|
|
2595
2595
|
200: {
|
|
2596
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2596
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2597
2597
|
},
|
|
2598
2598
|
201: {
|
|
2599
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2599
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2600
2600
|
},
|
|
2601
2601
|
202: {
|
|
2602
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2602
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2603
2603
|
},
|
|
2604
2604
|
204: {
|
|
2605
|
-
bodyMapper: Mappers.WhatIfOperationResult
|
|
2605
|
+
bodyMapper: Mappers.WhatIfOperationResult,
|
|
2606
2606
|
},
|
|
2607
2607
|
default: {
|
|
2608
|
-
bodyMapper: Mappers.CloudError
|
|
2609
|
-
}
|
|
2608
|
+
bodyMapper: Mappers.CloudError,
|
|
2609
|
+
},
|
|
2610
2610
|
},
|
|
2611
2611
|
requestBody: Parameters.parameters3,
|
|
2612
2612
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -2614,153 +2614,153 @@ const whatIfOperationSpec = {
|
|
|
2614
2614
|
Parameters.$host,
|
|
2615
2615
|
Parameters.deploymentName,
|
|
2616
2616
|
Parameters.subscriptionId,
|
|
2617
|
-
Parameters.resourceGroupName
|
|
2617
|
+
Parameters.resourceGroupName,
|
|
2618
2618
|
],
|
|
2619
2619
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2620
2620
|
mediaType: "json",
|
|
2621
|
-
serializer
|
|
2621
|
+
serializer,
|
|
2622
2622
|
};
|
|
2623
2623
|
const exportTemplateOperationSpec = {
|
|
2624
2624
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate",
|
|
2625
2625
|
httpMethod: "POST",
|
|
2626
2626
|
responses: {
|
|
2627
2627
|
200: {
|
|
2628
|
-
bodyMapper: Mappers.DeploymentExportResult
|
|
2628
|
+
bodyMapper: Mappers.DeploymentExportResult,
|
|
2629
2629
|
},
|
|
2630
2630
|
default: {
|
|
2631
|
-
bodyMapper: Mappers.CloudError
|
|
2632
|
-
}
|
|
2631
|
+
bodyMapper: Mappers.CloudError,
|
|
2632
|
+
},
|
|
2633
2633
|
},
|
|
2634
2634
|
queryParameters: [Parameters.apiVersion],
|
|
2635
2635
|
urlParameters: [
|
|
2636
2636
|
Parameters.$host,
|
|
2637
2637
|
Parameters.deploymentName,
|
|
2638
2638
|
Parameters.subscriptionId,
|
|
2639
|
-
Parameters.resourceGroupName
|
|
2639
|
+
Parameters.resourceGroupName,
|
|
2640
2640
|
],
|
|
2641
2641
|
headerParameters: [Parameters.accept],
|
|
2642
|
-
serializer
|
|
2642
|
+
serializer,
|
|
2643
2643
|
};
|
|
2644
2644
|
const listByResourceGroupOperationSpec = {
|
|
2645
2645
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/",
|
|
2646
2646
|
httpMethod: "GET",
|
|
2647
2647
|
responses: {
|
|
2648
2648
|
200: {
|
|
2649
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2649
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2650
2650
|
},
|
|
2651
2651
|
default: {
|
|
2652
|
-
bodyMapper: Mappers.CloudError
|
|
2653
|
-
}
|
|
2652
|
+
bodyMapper: Mappers.CloudError,
|
|
2653
|
+
},
|
|
2654
2654
|
},
|
|
2655
2655
|
queryParameters: [Parameters.apiVersion, Parameters.filter, Parameters.top],
|
|
2656
2656
|
urlParameters: [
|
|
2657
2657
|
Parameters.$host,
|
|
2658
2658
|
Parameters.subscriptionId,
|
|
2659
|
-
Parameters.resourceGroupName
|
|
2659
|
+
Parameters.resourceGroupName,
|
|
2660
2660
|
],
|
|
2661
2661
|
headerParameters: [Parameters.accept],
|
|
2662
|
-
serializer
|
|
2662
|
+
serializer,
|
|
2663
2663
|
};
|
|
2664
2664
|
const calculateTemplateHashOperationSpec = {
|
|
2665
2665
|
path: "/providers/Microsoft.Resources/calculateTemplateHash",
|
|
2666
2666
|
httpMethod: "POST",
|
|
2667
2667
|
responses: {
|
|
2668
2668
|
200: {
|
|
2669
|
-
bodyMapper: Mappers.TemplateHashResult
|
|
2669
|
+
bodyMapper: Mappers.TemplateHashResult,
|
|
2670
2670
|
},
|
|
2671
2671
|
default: {
|
|
2672
|
-
bodyMapper: Mappers.CloudError
|
|
2673
|
-
}
|
|
2672
|
+
bodyMapper: Mappers.CloudError,
|
|
2673
|
+
},
|
|
2674
2674
|
},
|
|
2675
2675
|
requestBody: Parameters.template,
|
|
2676
2676
|
queryParameters: [Parameters.apiVersion],
|
|
2677
2677
|
urlParameters: [Parameters.$host],
|
|
2678
2678
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
2679
2679
|
mediaType: "json",
|
|
2680
|
-
serializer
|
|
2680
|
+
serializer,
|
|
2681
2681
|
};
|
|
2682
2682
|
const listAtScopeNextOperationSpec = {
|
|
2683
2683
|
path: "{nextLink}",
|
|
2684
2684
|
httpMethod: "GET",
|
|
2685
2685
|
responses: {
|
|
2686
2686
|
200: {
|
|
2687
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2687
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2688
2688
|
},
|
|
2689
2689
|
default: {
|
|
2690
|
-
bodyMapper: Mappers.CloudError
|
|
2691
|
-
}
|
|
2690
|
+
bodyMapper: Mappers.CloudError,
|
|
2691
|
+
},
|
|
2692
2692
|
},
|
|
2693
2693
|
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.scope],
|
|
2694
2694
|
headerParameters: [Parameters.accept],
|
|
2695
|
-
serializer
|
|
2695
|
+
serializer,
|
|
2696
2696
|
};
|
|
2697
2697
|
const listAtTenantScopeNextOperationSpec = {
|
|
2698
2698
|
path: "{nextLink}",
|
|
2699
2699
|
httpMethod: "GET",
|
|
2700
2700
|
responses: {
|
|
2701
2701
|
200: {
|
|
2702
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2702
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2703
2703
|
},
|
|
2704
2704
|
default: {
|
|
2705
|
-
bodyMapper: Mappers.CloudError
|
|
2706
|
-
}
|
|
2705
|
+
bodyMapper: Mappers.CloudError,
|
|
2706
|
+
},
|
|
2707
2707
|
},
|
|
2708
2708
|
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
2709
2709
|
headerParameters: [Parameters.accept],
|
|
2710
|
-
serializer
|
|
2710
|
+
serializer,
|
|
2711
2711
|
};
|
|
2712
2712
|
const listAtManagementGroupScopeNextOperationSpec = {
|
|
2713
2713
|
path: "{nextLink}",
|
|
2714
2714
|
httpMethod: "GET",
|
|
2715
2715
|
responses: {
|
|
2716
2716
|
200: {
|
|
2717
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2717
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2718
2718
|
},
|
|
2719
2719
|
default: {
|
|
2720
|
-
bodyMapper: Mappers.CloudError
|
|
2721
|
-
}
|
|
2720
|
+
bodyMapper: Mappers.CloudError,
|
|
2721
|
+
},
|
|
2722
2722
|
},
|
|
2723
2723
|
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.groupId],
|
|
2724
2724
|
headerParameters: [Parameters.accept],
|
|
2725
|
-
serializer
|
|
2725
|
+
serializer,
|
|
2726
2726
|
};
|
|
2727
2727
|
const listAtSubscriptionScopeNextOperationSpec = {
|
|
2728
2728
|
path: "{nextLink}",
|
|
2729
2729
|
httpMethod: "GET",
|
|
2730
2730
|
responses: {
|
|
2731
2731
|
200: {
|
|
2732
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2732
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2733
2733
|
},
|
|
2734
2734
|
default: {
|
|
2735
|
-
bodyMapper: Mappers.CloudError
|
|
2736
|
-
}
|
|
2735
|
+
bodyMapper: Mappers.CloudError,
|
|
2736
|
+
},
|
|
2737
2737
|
},
|
|
2738
2738
|
urlParameters: [
|
|
2739
2739
|
Parameters.$host,
|
|
2740
2740
|
Parameters.nextLink,
|
|
2741
|
-
Parameters.subscriptionId
|
|
2741
|
+
Parameters.subscriptionId,
|
|
2742
2742
|
],
|
|
2743
2743
|
headerParameters: [Parameters.accept],
|
|
2744
|
-
serializer
|
|
2744
|
+
serializer,
|
|
2745
2745
|
};
|
|
2746
2746
|
const listByResourceGroupNextOperationSpec = {
|
|
2747
2747
|
path: "{nextLink}",
|
|
2748
2748
|
httpMethod: "GET",
|
|
2749
2749
|
responses: {
|
|
2750
2750
|
200: {
|
|
2751
|
-
bodyMapper: Mappers.DeploymentListResult
|
|
2751
|
+
bodyMapper: Mappers.DeploymentListResult,
|
|
2752
2752
|
},
|
|
2753
2753
|
default: {
|
|
2754
|
-
bodyMapper: Mappers.CloudError
|
|
2755
|
-
}
|
|
2754
|
+
bodyMapper: Mappers.CloudError,
|
|
2755
|
+
},
|
|
2756
2756
|
},
|
|
2757
2757
|
urlParameters: [
|
|
2758
2758
|
Parameters.$host,
|
|
2759
2759
|
Parameters.nextLink,
|
|
2760
2760
|
Parameters.subscriptionId,
|
|
2761
|
-
Parameters.resourceGroupName
|
|
2761
|
+
Parameters.resourceGroupName,
|
|
2762
2762
|
],
|
|
2763
2763
|
headerParameters: [Parameters.accept],
|
|
2764
|
-
serializer
|
|
2764
|
+
serializer,
|
|
2765
2765
|
};
|
|
2766
2766
|
//# sourceMappingURL=deployments.js.map
|