@azure/arm-appservice 30.0.0-alpha.20211001.1
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 +27 -0
- package/LICENSE +21 -0
- package/README.md +96 -0
- package/dist/index.js +59024 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/index.d.ts +6 -0
- package/dist-esm/index.d.ts.map +1 -0
- package/dist-esm/index.js +13 -0
- package/dist-esm/index.js.map +1 -0
- package/dist-esm/lroImpl.d.ts +16 -0
- package/dist-esm/lroImpl.d.ts.map +1 -0
- package/dist-esm/lroImpl.js +29 -0
- package/dist-esm/lroImpl.js.map +1 -0
- package/dist-esm/models/index.d.ts +12050 -0
- package/dist-esm/models/index.d.ts.map +1 -0
- package/dist-esm/models/index.js +227 -0
- package/dist-esm/models/index.js.map +1 -0
- package/dist-esm/models/mappers.d.ts +405 -0
- package/dist-esm/models/mappers.d.ts.map +1 -0
- package/dist-esm/models/mappers.js +19668 -0
- package/dist-esm/models/mappers.js.map +1 -0
- package/dist-esm/models/parameters.d.ts +183 -0
- package/dist-esm/models/parameters.d.ts.map +1 -0
- package/dist-esm/models/parameters.js +1382 -0
- package/dist-esm/models/parameters.js.map +1 -0
- package/dist-esm/operations/appServiceCertificateOrders.d.ts +233 -0
- package/dist-esm/operations/appServiceCertificateOrders.d.ts.map +1 -0
- package/dist-esm/operations/appServiceCertificateOrders.js +1024 -0
- package/dist-esm/operations/appServiceCertificateOrders.js.map +1 -0
- package/dist-esm/operations/appServiceEnvironments.d.ts +780 -0
- package/dist-esm/operations/appServiceEnvironments.d.ts.map +1 -0
- package/dist-esm/operations/appServiceEnvironments.js +3646 -0
- package/dist-esm/operations/appServiceEnvironments.js.map +1 -0
- package/dist-esm/operations/appServicePlans.d.ts +339 -0
- package/dist-esm/operations/appServicePlans.d.ts.map +1 -0
- package/dist-esm/operations/appServicePlans.js +1490 -0
- package/dist-esm/operations/appServicePlans.js.map +1 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.d.ts +48 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.d.ts.map +1 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.js +176 -0
- package/dist-esm/operations/certificateOrdersDiagnostics.js.map +1 -0
- package/dist-esm/operations/certificateRegistrationProvider.d.ts +35 -0
- package/dist-esm/operations/certificateRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operations/certificateRegistrationProvider.js +123 -0
- package/dist-esm/operations/certificateRegistrationProvider.js.map +1 -0
- package/dist-esm/operations/certificates.d.ts +84 -0
- package/dist-esm/operations/certificates.d.ts.map +1 -0
- package/dist-esm/operations/certificates.js +357 -0
- package/dist-esm/operations/certificates.js.map +1 -0
- package/dist-esm/operations/deletedWebApps.d.ts +61 -0
- package/dist-esm/operations/deletedWebApps.d.ts.map +1 -0
- package/dist-esm/operations/deletedWebApps.js +262 -0
- package/dist-esm/operations/deletedWebApps.js.map +1 -0
- package/dist-esm/operations/diagnostics.d.ts +378 -0
- package/dist-esm/operations/diagnostics.d.ts.map +1 -0
- package/dist-esm/operations/diagnostics.js +1624 -0
- package/dist-esm/operations/diagnostics.js.map +1 -0
- package/dist-esm/operations/domainRegistrationProvider.d.ts +35 -0
- package/dist-esm/operations/domainRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operations/domainRegistrationProvider.js +123 -0
- package/dist-esm/operations/domainRegistrationProvider.js.map +1 -0
- package/dist-esm/operations/domains.d.ts +193 -0
- package/dist-esm/operations/domains.d.ts.map +1 -0
- package/dist-esm/operations/domains.js +856 -0
- package/dist-esm/operations/domains.js.map +1 -0
- package/dist-esm/operations/global.d.ts +32 -0
- package/dist-esm/operations/global.d.ts.map +1 -0
- package/dist-esm/operations/global.js +112 -0
- package/dist-esm/operations/global.js.map +1 -0
- package/dist-esm/operations/index.d.ts +19 -0
- package/dist-esm/operations/index.d.ts.map +1 -0
- package/dist-esm/operations/index.js +26 -0
- package/dist-esm/operations/index.js.map +1 -0
- package/dist-esm/operations/kubeEnvironments.d.ts +100 -0
- package/dist-esm/operations/kubeEnvironments.d.ts.map +1 -0
- package/dist-esm/operations/kubeEnvironments.js +454 -0
- package/dist-esm/operations/kubeEnvironments.js.map +1 -0
- package/dist-esm/operations/provider.d.ts +152 -0
- package/dist-esm/operations/provider.d.ts.map +1 -0
- package/dist-esm/operations/provider.js +706 -0
- package/dist-esm/operations/provider.js.map +1 -0
- package/dist-esm/operations/recommendations.d.ts +206 -0
- package/dist-esm/operations/recommendations.d.ts.map +1 -0
- package/dist-esm/operations/recommendations.js +912 -0
- package/dist-esm/operations/recommendations.js.map +1 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.d.ts +126 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.d.ts.map +1 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.js +529 -0
- package/dist-esm/operations/resourceHealthMetadataOperations.js.map +1 -0
- package/dist-esm/operations/staticSites.d.ts +702 -0
- package/dist-esm/operations/staticSites.d.ts.map +1 -0
- package/dist-esm/operations/staticSites.js +3069 -0
- package/dist-esm/operations/staticSites.js.map +1 -0
- package/dist-esm/operations/topLevelDomains.d.ts +63 -0
- package/dist-esm/operations/topLevelDomains.d.ts.map +1 -0
- package/dist-esm/operations/topLevelDomains.js +258 -0
- package/dist-esm/operations/topLevelDomains.js.map +1 -0
- package/dist-esm/operations/webApps.d.ts +5070 -0
- package/dist-esm/operations/webApps.d.ts.map +1 -0
- package/dist-esm/operations/webApps.js +20820 -0
- package/dist-esm/operations/webApps.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts +180 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js +9 -0
- package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts +380 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.js +9 -0
- package/dist-esm/operationsInterfaces/appServiceEnvironments.js.map +1 -0
- package/dist-esm/operationsInterfaces/appServicePlans.d.ts +230 -0
- package/dist-esm/operationsInterfaces/appServicePlans.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/appServicePlans.js +9 -0
- package/dist-esm/operationsInterfaces/appServicePlans.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts +22 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js +9 -0
- package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts +13 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js +9 -0
- package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js.map +1 -0
- package/dist-esm/operationsInterfaces/certificates.d.ts +48 -0
- package/dist-esm/operationsInterfaces/certificates.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/certificates.js +9 -0
- package/dist-esm/operationsInterfaces/certificates.js.map +1 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.d.ts +25 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.js +9 -0
- package/dist-esm/operationsInterfaces/deletedWebApps.js.map +1 -0
- package/dist-esm/operationsInterfaces/diagnostics.d.ts +196 -0
- package/dist-esm/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/diagnostics.js +9 -0
- package/dist-esm/operationsInterfaces/diagnostics.js.map +1 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts +13 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.js +9 -0
- package/dist-esm/operationsInterfaces/domainRegistrationProvider.js.map +1 -0
- package/dist-esm/operationsInterfaces/domains.d.ts +124 -0
- package/dist-esm/operationsInterfaces/domains.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/domains.js +9 -0
- package/dist-esm/operationsInterfaces/domains.js.map +1 -0
- package/dist-esm/operationsInterfaces/global.d.ts +24 -0
- package/dist-esm/operationsInterfaces/global.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/global.js +9 -0
- package/dist-esm/operationsInterfaces/global.js.map +1 -0
- package/dist-esm/operationsInterfaces/index.d.ts +19 -0
- package/dist-esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/index.js +26 -0
- package/dist-esm/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts +64 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.js +9 -0
- package/dist-esm/operationsInterfaces/kubeEnvironments.js.map +1 -0
- package/dist-esm/operationsInterfaces/provider.d.ts +45 -0
- package/dist-esm/operationsInterfaces/provider.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/provider.js +9 -0
- package/dist-esm/operationsInterfaces/provider.js.map +1 -0
- package/dist-esm/operationsInterfaces/recommendations.d.ts +114 -0
- package/dist-esm/operationsInterfaces/recommendations.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/recommendations.js +9 -0
- package/dist-esm/operationsInterfaces/recommendations.js.map +1 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts +51 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js +9 -0
- package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js.map +1 -0
- package/dist-esm/operationsInterfaces/staticSites.d.ts +516 -0
- package/dist-esm/operationsInterfaces/staticSites.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/staticSites.js +9 -0
- package/dist-esm/operationsInterfaces/staticSites.js.map +1 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.d.ts +25 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.js +9 -0
- package/dist-esm/operationsInterfaces/topLevelDomains.js.map +1 -0
- package/dist-esm/operationsInterfaces/webApps.d.ts +3798 -0
- package/dist-esm/operationsInterfaces/webApps.d.ts.map +1 -0
- package/dist-esm/operationsInterfaces/webApps.js +9 -0
- package/dist-esm/operationsInterfaces/webApps.js.map +1 -0
- package/dist-esm/webSiteManagementClient.d.ts +205 -0
- package/dist-esm/webSiteManagementClient.d.ts.map +1 -0
- package/dist-esm/webSiteManagementClient.js +892 -0
- package/dist-esm/webSiteManagementClient.js.map +1 -0
- package/dist-esm/webSiteManagementClientContext.d.ts +17 -0
- package/dist-esm/webSiteManagementClientContext.d.ts.map +1 -0
- package/dist-esm/webSiteManagementClientContext.js +50 -0
- package/dist-esm/webSiteManagementClientContext.js.map +1 -0
- package/package.json +99 -0
- package/review/arm-appservice.api.md +10633 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +14289 -0
- package/src/models/mappers.ts +21388 -0
- package/src/models/parameters.ts +1647 -0
- package/src/operations/appServiceCertificateOrders.ts +1373 -0
- package/src/operations/appServiceEnvironments.ts +5073 -0
- package/src/operations/appServicePlans.ts +1987 -0
- package/src/operations/certificateOrdersDiagnostics.ts +247 -0
- package/src/operations/certificateRegistrationProvider.ts +144 -0
- package/src/operations/certificates.ts +444 -0
- package/src/operations/deletedWebApps.ts +311 -0
- package/src/operations/diagnostics.ts +2273 -0
- package/src/operations/domainRegistrationProvider.ts +144 -0
- package/src/operations/domains.ts +1122 -0
- package/src/operations/global.ts +150 -0
- package/src/operations/index.ts +26 -0
- package/src/operations/kubeEnvironments.ts +594 -0
- package/src/operations/provider.ts +829 -0
- package/src/operations/recommendations.ts +1210 -0
- package/src/operations/resourceHealthMetadataOperations.ts +679 -0
- package/src/operations/staticSites.ts +4336 -0
- package/src/operations/topLevelDomains.ts +319 -0
- package/src/operations/webApps.ts +28925 -0
- package/src/operationsInterfaces/appServiceCertificateOrders.ts +340 -0
- package/src/operationsInterfaces/appServiceEnvironments.ts +725 -0
- package/src/operationsInterfaces/appServicePlans.ts +433 -0
- package/src/operationsInterfaces/certificateOrdersDiagnostics.ts +47 -0
- package/src/operationsInterfaces/certificateRegistrationProvider.ts +27 -0
- package/src/operationsInterfaces/certificates.ts +92 -0
- package/src/operationsInterfaces/deletedWebApps.ts +49 -0
- package/src/operationsInterfaces/diagnostics.ts +368 -0
- package/src/operationsInterfaces/domainRegistrationProvider.ts +27 -0
- package/src/operationsInterfaces/domains.ts +231 -0
- package/src/operationsInterfaces/global.ts +48 -0
- package/src/operationsInterfaces/index.ts +26 -0
- package/src/operationsInterfaces/kubeEnvironments.ts +122 -0
- package/src/operationsInterfaces/provider.ts +82 -0
- package/src/operationsInterfaces/recommendations.ts +204 -0
- package/src/operationsInterfaces/resourceHealthMetadataOperations.ts +93 -0
- package/src/operationsInterfaces/staticSites.ts +963 -0
- package/src/operationsInterfaces/topLevelDomains.ts +51 -0
- package/src/operationsInterfaces/webApps.ts +6889 -0
- package/src/webSiteManagementClient.ts +1177 -0
- package/src/webSiteManagementClientContext.ts +71 -0
- package/tsconfig.json +19 -0
- package/types/arm-appservice.d.ts +20041 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,1490 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
|
|
9
|
+
import "@azure/core-paging";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
12
|
+
import * as Parameters from "../models/parameters";
|
|
13
|
+
import { LroEngine } from "@azure/core-lro";
|
|
14
|
+
import { LroImpl } from "../lroImpl";
|
|
15
|
+
/// <reference lib="esnext.asynciterable" />
|
|
16
|
+
/** Class representing a AppServicePlans. */
|
|
17
|
+
export class AppServicePlansImpl {
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class AppServicePlans class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Description for Get all App Service plans for a subscription.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(options) {
|
|
30
|
+
const iter = this.listPagingAll(options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listPagingPage(options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listPagingPage(options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
45
|
+
let result = yield __await(this._list(options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listPagingAll(options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Description for Get all App Service plans in a resource group.
|
|
75
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
listByResourceGroup(resourceGroupName, options) {
|
|
79
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
|
80
|
+
return {
|
|
81
|
+
next() {
|
|
82
|
+
return iter.next();
|
|
83
|
+
},
|
|
84
|
+
[Symbol.asyncIterator]() {
|
|
85
|
+
return this;
|
|
86
|
+
},
|
|
87
|
+
byPage: () => {
|
|
88
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options);
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
listByResourceGroupPagingPage(resourceGroupName, options) {
|
|
93
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
94
|
+
let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
|
|
95
|
+
yield yield __await(result.value || []);
|
|
96
|
+
let continuationToken = result.nextLink;
|
|
97
|
+
while (continuationToken) {
|
|
98
|
+
result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
99
|
+
continuationToken = result.nextLink;
|
|
100
|
+
yield yield __await(result.value || []);
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
105
|
+
return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
106
|
+
var e_2, _a;
|
|
107
|
+
try {
|
|
108
|
+
for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
109
|
+
const page = _c.value;
|
|
110
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
114
|
+
finally {
|
|
115
|
+
try {
|
|
116
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
117
|
+
}
|
|
118
|
+
finally { if (e_2) throw e_2.error; }
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Description for Get all apps that use a Hybrid Connection in an App Service Plan.
|
|
124
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
125
|
+
* @param name Name of the App Service plan.
|
|
126
|
+
* @param namespaceName Name of the Hybrid Connection namespace.
|
|
127
|
+
* @param relayName Name of the Hybrid Connection relay.
|
|
128
|
+
* @param options The options parameters.
|
|
129
|
+
*/
|
|
130
|
+
listWebAppsByHybridConnection(resourceGroupName, name, namespaceName, relayName, options) {
|
|
131
|
+
const iter = this.listWebAppsByHybridConnectionPagingAll(resourceGroupName, name, namespaceName, relayName, options);
|
|
132
|
+
return {
|
|
133
|
+
next() {
|
|
134
|
+
return iter.next();
|
|
135
|
+
},
|
|
136
|
+
[Symbol.asyncIterator]() {
|
|
137
|
+
return this;
|
|
138
|
+
},
|
|
139
|
+
byPage: () => {
|
|
140
|
+
return this.listWebAppsByHybridConnectionPagingPage(resourceGroupName, name, namespaceName, relayName, options);
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
listWebAppsByHybridConnectionPagingPage(resourceGroupName, name, namespaceName, relayName, options) {
|
|
145
|
+
return __asyncGenerator(this, arguments, function* listWebAppsByHybridConnectionPagingPage_1() {
|
|
146
|
+
let result = yield __await(this._listWebAppsByHybridConnection(resourceGroupName, name, namespaceName, relayName, options));
|
|
147
|
+
yield yield __await(result.value || []);
|
|
148
|
+
let continuationToken = result.nextLink;
|
|
149
|
+
while (continuationToken) {
|
|
150
|
+
result = yield __await(this._listWebAppsByHybridConnectionNext(resourceGroupName, name, namespaceName, relayName, continuationToken, options));
|
|
151
|
+
continuationToken = result.nextLink;
|
|
152
|
+
yield yield __await(result.value || []);
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
listWebAppsByHybridConnectionPagingAll(resourceGroupName, name, namespaceName, relayName, options) {
|
|
157
|
+
return __asyncGenerator(this, arguments, function* listWebAppsByHybridConnectionPagingAll_1() {
|
|
158
|
+
var e_3, _a;
|
|
159
|
+
try {
|
|
160
|
+
for (var _b = __asyncValues(this.listWebAppsByHybridConnectionPagingPage(resourceGroupName, name, namespaceName, relayName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
161
|
+
const page = _c.value;
|
|
162
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
166
|
+
finally {
|
|
167
|
+
try {
|
|
168
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
169
|
+
}
|
|
170
|
+
finally { if (e_3) throw e_3.error; }
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Description for Retrieve all Hybrid Connections in use in an App Service plan.
|
|
176
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
177
|
+
* @param name Name of the App Service plan.
|
|
178
|
+
* @param options The options parameters.
|
|
179
|
+
*/
|
|
180
|
+
listHybridConnections(resourceGroupName, name, options) {
|
|
181
|
+
const iter = this.listHybridConnectionsPagingAll(resourceGroupName, name, options);
|
|
182
|
+
return {
|
|
183
|
+
next() {
|
|
184
|
+
return iter.next();
|
|
185
|
+
},
|
|
186
|
+
[Symbol.asyncIterator]() {
|
|
187
|
+
return this;
|
|
188
|
+
},
|
|
189
|
+
byPage: () => {
|
|
190
|
+
return this.listHybridConnectionsPagingPage(resourceGroupName, name, options);
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
listHybridConnectionsPagingPage(resourceGroupName, name, options) {
|
|
195
|
+
return __asyncGenerator(this, arguments, function* listHybridConnectionsPagingPage_1() {
|
|
196
|
+
let result = yield __await(this._listHybridConnections(resourceGroupName, name, options));
|
|
197
|
+
yield yield __await(result.value || []);
|
|
198
|
+
let continuationToken = result.nextLink;
|
|
199
|
+
while (continuationToken) {
|
|
200
|
+
result = yield __await(this._listHybridConnectionsNext(resourceGroupName, name, continuationToken, options));
|
|
201
|
+
continuationToken = result.nextLink;
|
|
202
|
+
yield yield __await(result.value || []);
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
listHybridConnectionsPagingAll(resourceGroupName, name, options) {
|
|
207
|
+
return __asyncGenerator(this, arguments, function* listHybridConnectionsPagingAll_1() {
|
|
208
|
+
var e_4, _a;
|
|
209
|
+
try {
|
|
210
|
+
for (var _b = __asyncValues(this.listHybridConnectionsPagingPage(resourceGroupName, name, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
211
|
+
const page = _c.value;
|
|
212
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
216
|
+
finally {
|
|
217
|
+
try {
|
|
218
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
219
|
+
}
|
|
220
|
+
finally { if (e_4) throw e_4.error; }
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Description for Get all apps associated with an App Service plan.
|
|
226
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
227
|
+
* @param name Name of the App Service plan.
|
|
228
|
+
* @param options The options parameters.
|
|
229
|
+
*/
|
|
230
|
+
listWebApps(resourceGroupName, name, options) {
|
|
231
|
+
const iter = this.listWebAppsPagingAll(resourceGroupName, name, options);
|
|
232
|
+
return {
|
|
233
|
+
next() {
|
|
234
|
+
return iter.next();
|
|
235
|
+
},
|
|
236
|
+
[Symbol.asyncIterator]() {
|
|
237
|
+
return this;
|
|
238
|
+
},
|
|
239
|
+
byPage: () => {
|
|
240
|
+
return this.listWebAppsPagingPage(resourceGroupName, name, options);
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
listWebAppsPagingPage(resourceGroupName, name, options) {
|
|
245
|
+
return __asyncGenerator(this, arguments, function* listWebAppsPagingPage_1() {
|
|
246
|
+
let result = yield __await(this._listWebApps(resourceGroupName, name, options));
|
|
247
|
+
yield yield __await(result.value || []);
|
|
248
|
+
let continuationToken = result.nextLink;
|
|
249
|
+
while (continuationToken) {
|
|
250
|
+
result = yield __await(this._listWebAppsNext(resourceGroupName, name, continuationToken, options));
|
|
251
|
+
continuationToken = result.nextLink;
|
|
252
|
+
yield yield __await(result.value || []);
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
listWebAppsPagingAll(resourceGroupName, name, options) {
|
|
257
|
+
return __asyncGenerator(this, arguments, function* listWebAppsPagingAll_1() {
|
|
258
|
+
var e_5, _a;
|
|
259
|
+
try {
|
|
260
|
+
for (var _b = __asyncValues(this.listWebAppsPagingPage(resourceGroupName, name, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
261
|
+
const page = _c.value;
|
|
262
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
266
|
+
finally {
|
|
267
|
+
try {
|
|
268
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
269
|
+
}
|
|
270
|
+
finally { if (e_5) throw e_5.error; }
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
}
|
|
274
|
+
/**
|
|
275
|
+
* Description for Gets server farm usage information
|
|
276
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
277
|
+
* @param name Name of App Service Plan
|
|
278
|
+
* @param options The options parameters.
|
|
279
|
+
*/
|
|
280
|
+
listUsages(resourceGroupName, name, options) {
|
|
281
|
+
const iter = this.listUsagesPagingAll(resourceGroupName, name, options);
|
|
282
|
+
return {
|
|
283
|
+
next() {
|
|
284
|
+
return iter.next();
|
|
285
|
+
},
|
|
286
|
+
[Symbol.asyncIterator]() {
|
|
287
|
+
return this;
|
|
288
|
+
},
|
|
289
|
+
byPage: () => {
|
|
290
|
+
return this.listUsagesPagingPage(resourceGroupName, name, options);
|
|
291
|
+
}
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
listUsagesPagingPage(resourceGroupName, name, options) {
|
|
295
|
+
return __asyncGenerator(this, arguments, function* listUsagesPagingPage_1() {
|
|
296
|
+
let result = yield __await(this._listUsages(resourceGroupName, name, options));
|
|
297
|
+
yield yield __await(result.value || []);
|
|
298
|
+
let continuationToken = result.nextLink;
|
|
299
|
+
while (continuationToken) {
|
|
300
|
+
result = yield __await(this._listUsagesNext(resourceGroupName, name, continuationToken, options));
|
|
301
|
+
continuationToken = result.nextLink;
|
|
302
|
+
yield yield __await(result.value || []);
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
listUsagesPagingAll(resourceGroupName, name, options) {
|
|
307
|
+
return __asyncGenerator(this, arguments, function* listUsagesPagingAll_1() {
|
|
308
|
+
var e_6, _a;
|
|
309
|
+
try {
|
|
310
|
+
for (var _b = __asyncValues(this.listUsagesPagingPage(resourceGroupName, name, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
311
|
+
const page = _c.value;
|
|
312
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
catch (e_6_1) { e_6 = { error: e_6_1 }; }
|
|
316
|
+
finally {
|
|
317
|
+
try {
|
|
318
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
319
|
+
}
|
|
320
|
+
finally { if (e_6) throw e_6.error; }
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Description for Get all App Service plans for a subscription.
|
|
326
|
+
* @param options The options parameters.
|
|
327
|
+
*/
|
|
328
|
+
_list(options) {
|
|
329
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Description for Get all App Service plans in a resource group.
|
|
333
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
334
|
+
* @param options The options parameters.
|
|
335
|
+
*/
|
|
336
|
+
_listByResourceGroup(resourceGroupName, options) {
|
|
337
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Description for Get an App Service plan.
|
|
341
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
342
|
+
* @param name Name of the App Service plan.
|
|
343
|
+
* @param options The options parameters.
|
|
344
|
+
*/
|
|
345
|
+
get(resourceGroupName, name, options) {
|
|
346
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getOperationSpec);
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Description for Creates or updates an App Service Plan.
|
|
350
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
351
|
+
* @param name Name of the App Service plan.
|
|
352
|
+
* @param appServicePlan Details of the App Service plan.
|
|
353
|
+
* @param options The options parameters.
|
|
354
|
+
*/
|
|
355
|
+
beginCreateOrUpdate(resourceGroupName, name, appServicePlan, options) {
|
|
356
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
357
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
358
|
+
return this.client.sendOperationRequest(args, spec);
|
|
359
|
+
});
|
|
360
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
|
361
|
+
var _a;
|
|
362
|
+
let currentRawResponse = undefined;
|
|
363
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
364
|
+
const callback = (rawResponse, flatResponse) => {
|
|
365
|
+
currentRawResponse = rawResponse;
|
|
366
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
367
|
+
};
|
|
368
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
369
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
370
|
+
return {
|
|
371
|
+
flatResponse,
|
|
372
|
+
rawResponse: {
|
|
373
|
+
statusCode: currentRawResponse.status,
|
|
374
|
+
body: currentRawResponse.parsedBody,
|
|
375
|
+
headers: currentRawResponse.headers.toJSON()
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
});
|
|
379
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, name, appServicePlan, options }, createOrUpdateOperationSpec);
|
|
380
|
+
return new LroEngine(lro, {
|
|
381
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
382
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
383
|
+
});
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Description for Creates or updates an App Service Plan.
|
|
388
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
389
|
+
* @param name Name of the App Service plan.
|
|
390
|
+
* @param appServicePlan Details of the App Service plan.
|
|
391
|
+
* @param options The options parameters.
|
|
392
|
+
*/
|
|
393
|
+
beginCreateOrUpdateAndWait(resourceGroupName, name, appServicePlan, options) {
|
|
394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
395
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, name, appServicePlan, options);
|
|
396
|
+
return poller.pollUntilDone();
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* Description for Delete an App Service plan.
|
|
401
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
402
|
+
* @param name Name of the App Service plan.
|
|
403
|
+
* @param options The options parameters.
|
|
404
|
+
*/
|
|
405
|
+
delete(resourceGroupName, name, options) {
|
|
406
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, deleteOperationSpec);
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Description for Creates or updates an App Service Plan.
|
|
410
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
411
|
+
* @param name Name of the App Service plan.
|
|
412
|
+
* @param appServicePlan Details of the App Service plan.
|
|
413
|
+
* @param options The options parameters.
|
|
414
|
+
*/
|
|
415
|
+
update(resourceGroupName, name, appServicePlan, options) {
|
|
416
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, appServicePlan, options }, updateOperationSpec);
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* Description for List all capabilities of an App Service plan.
|
|
420
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
421
|
+
* @param name Name of the App Service plan.
|
|
422
|
+
* @param options The options parameters.
|
|
423
|
+
*/
|
|
424
|
+
listCapabilities(resourceGroupName, name, options) {
|
|
425
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listCapabilitiesOperationSpec);
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Description for Retrieve a Hybrid Connection in use in an App Service plan.
|
|
429
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
430
|
+
* @param name Name of the App Service plan.
|
|
431
|
+
* @param namespaceName Name of the Service Bus namespace.
|
|
432
|
+
* @param relayName Name of the Service Bus relay.
|
|
433
|
+
* @param options The options parameters.
|
|
434
|
+
*/
|
|
435
|
+
getHybridConnection(resourceGroupName, name, namespaceName, relayName, options) {
|
|
436
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, namespaceName, relayName, options }, getHybridConnectionOperationSpec);
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* Description for Delete a Hybrid Connection in use in an App Service plan.
|
|
440
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
441
|
+
* @param name Name of the App Service plan.
|
|
442
|
+
* @param namespaceName Name of the Service Bus namespace.
|
|
443
|
+
* @param relayName Name of the Service Bus relay.
|
|
444
|
+
* @param options The options parameters.
|
|
445
|
+
*/
|
|
446
|
+
deleteHybridConnection(resourceGroupName, name, namespaceName, relayName, options) {
|
|
447
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, namespaceName, relayName, options }, deleteHybridConnectionOperationSpec);
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Description for Get the send key name and value of a Hybrid Connection.
|
|
451
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
452
|
+
* @param name Name of the App Service plan.
|
|
453
|
+
* @param namespaceName The name of the Service Bus namespace.
|
|
454
|
+
* @param relayName The name of the Service Bus relay.
|
|
455
|
+
* @param options The options parameters.
|
|
456
|
+
*/
|
|
457
|
+
listHybridConnectionKeys(resourceGroupName, name, namespaceName, relayName, options) {
|
|
458
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, namespaceName, relayName, options }, listHybridConnectionKeysOperationSpec);
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Description for Get all apps that use a Hybrid Connection in an App Service Plan.
|
|
462
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
463
|
+
* @param name Name of the App Service plan.
|
|
464
|
+
* @param namespaceName Name of the Hybrid Connection namespace.
|
|
465
|
+
* @param relayName Name of the Hybrid Connection relay.
|
|
466
|
+
* @param options The options parameters.
|
|
467
|
+
*/
|
|
468
|
+
_listWebAppsByHybridConnection(resourceGroupName, name, namespaceName, relayName, options) {
|
|
469
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, namespaceName, relayName, options }, listWebAppsByHybridConnectionOperationSpec);
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.
|
|
473
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
474
|
+
* @param name Name of the App Service plan.
|
|
475
|
+
* @param options The options parameters.
|
|
476
|
+
*/
|
|
477
|
+
getHybridConnectionPlanLimit(resourceGroupName, name, options) {
|
|
478
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getHybridConnectionPlanLimitOperationSpec);
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* Description for Retrieve all Hybrid Connections in use in an App Service plan.
|
|
482
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
483
|
+
* @param name Name of the App Service plan.
|
|
484
|
+
* @param options The options parameters.
|
|
485
|
+
*/
|
|
486
|
+
_listHybridConnections(resourceGroupName, name, options) {
|
|
487
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listHybridConnectionsOperationSpec);
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Description for Restart all apps in an App Service plan.
|
|
491
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
492
|
+
* @param name Name of the App Service plan.
|
|
493
|
+
* @param options The options parameters.
|
|
494
|
+
*/
|
|
495
|
+
restartWebApps(resourceGroupName, name, options) {
|
|
496
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, restartWebAppsOperationSpec);
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* Description for Get all apps associated with an App Service plan.
|
|
500
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
501
|
+
* @param name Name of the App Service plan.
|
|
502
|
+
* @param options The options parameters.
|
|
503
|
+
*/
|
|
504
|
+
_listWebApps(resourceGroupName, name, options) {
|
|
505
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listWebAppsOperationSpec);
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Description for Gets all selectable SKUs for a given App Service Plan
|
|
509
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
510
|
+
* @param name Name of App Service Plan
|
|
511
|
+
* @param options The options parameters.
|
|
512
|
+
*/
|
|
513
|
+
getServerFarmSkus(resourceGroupName, name, options) {
|
|
514
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, getServerFarmSkusOperationSpec);
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Description for Gets server farm usage information
|
|
518
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
519
|
+
* @param name Name of App Service Plan
|
|
520
|
+
* @param options The options parameters.
|
|
521
|
+
*/
|
|
522
|
+
_listUsages(resourceGroupName, name, options) {
|
|
523
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listUsagesOperationSpec);
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Description for Get all Virtual Networks associated with an App Service plan.
|
|
527
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
528
|
+
* @param name Name of the App Service plan.
|
|
529
|
+
* @param options The options parameters.
|
|
530
|
+
*/
|
|
531
|
+
listVnets(resourceGroupName, name, options) {
|
|
532
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, options }, listVnetsOperationSpec);
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* Description for Get a Virtual Network associated with an App Service plan.
|
|
536
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
537
|
+
* @param name Name of the App Service plan.
|
|
538
|
+
* @param vnetName Name of the Virtual Network.
|
|
539
|
+
* @param options The options parameters.
|
|
540
|
+
*/
|
|
541
|
+
getVnetFromServerFarm(resourceGroupName, name, vnetName, options) {
|
|
542
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, vnetName, options }, getVnetFromServerFarmOperationSpec);
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Description for Get a Virtual Network gateway.
|
|
546
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
547
|
+
* @param name Name of the App Service plan.
|
|
548
|
+
* @param vnetName Name of the Virtual Network.
|
|
549
|
+
* @param gatewayName Name of the gateway. Only the 'primary' gateway is supported.
|
|
550
|
+
* @param options The options parameters.
|
|
551
|
+
*/
|
|
552
|
+
getVnetGateway(resourceGroupName, name, vnetName, gatewayName, options) {
|
|
553
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, vnetName, gatewayName, options }, getVnetGatewayOperationSpec);
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* Description for Update a Virtual Network gateway.
|
|
557
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
558
|
+
* @param name Name of the App Service plan.
|
|
559
|
+
* @param vnetName Name of the Virtual Network.
|
|
560
|
+
* @param gatewayName Name of the gateway. Only the 'primary' gateway is supported.
|
|
561
|
+
* @param connectionEnvelope Definition of the gateway.
|
|
562
|
+
* @param options The options parameters.
|
|
563
|
+
*/
|
|
564
|
+
updateVnetGateway(resourceGroupName, name, vnetName, gatewayName, connectionEnvelope, options) {
|
|
565
|
+
return this.client.sendOperationRequest({
|
|
566
|
+
resourceGroupName,
|
|
567
|
+
name,
|
|
568
|
+
vnetName,
|
|
569
|
+
gatewayName,
|
|
570
|
+
connectionEnvelope,
|
|
571
|
+
options
|
|
572
|
+
}, updateVnetGatewayOperationSpec);
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* Description for Get all routes that are associated with a Virtual Network in an App Service plan.
|
|
576
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
577
|
+
* @param name Name of the App Service plan.
|
|
578
|
+
* @param vnetName Name of the Virtual Network.
|
|
579
|
+
* @param options The options parameters.
|
|
580
|
+
*/
|
|
581
|
+
listRoutesForVnet(resourceGroupName, name, vnetName, options) {
|
|
582
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, vnetName, options }, listRoutesForVnetOperationSpec);
|
|
583
|
+
}
|
|
584
|
+
/**
|
|
585
|
+
* Description for Get a Virtual Network route in an App Service plan.
|
|
586
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
587
|
+
* @param name Name of the App Service plan.
|
|
588
|
+
* @param vnetName Name of the Virtual Network.
|
|
589
|
+
* @param routeName Name of the Virtual Network route.
|
|
590
|
+
* @param options The options parameters.
|
|
591
|
+
*/
|
|
592
|
+
getRouteForVnet(resourceGroupName, name, vnetName, routeName, options) {
|
|
593
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, vnetName, routeName, options }, getRouteForVnetOperationSpec);
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Description for Create or update a Virtual Network route in an App Service plan.
|
|
597
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
598
|
+
* @param name Name of the App Service plan.
|
|
599
|
+
* @param vnetName Name of the Virtual Network.
|
|
600
|
+
* @param routeName Name of the Virtual Network route.
|
|
601
|
+
* @param route Definition of the Virtual Network route.
|
|
602
|
+
* @param options The options parameters.
|
|
603
|
+
*/
|
|
604
|
+
createOrUpdateVnetRoute(resourceGroupName, name, vnetName, routeName, route, options) {
|
|
605
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, vnetName, routeName, route, options }, createOrUpdateVnetRouteOperationSpec);
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Description for Delete a Virtual Network route in an App Service plan.
|
|
609
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
610
|
+
* @param name Name of the App Service plan.
|
|
611
|
+
* @param vnetName Name of the Virtual Network.
|
|
612
|
+
* @param routeName Name of the Virtual Network route.
|
|
613
|
+
* @param options The options parameters.
|
|
614
|
+
*/
|
|
615
|
+
deleteVnetRoute(resourceGroupName, name, vnetName, routeName, options) {
|
|
616
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, vnetName, routeName, options }, deleteVnetRouteOperationSpec);
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Description for Create or update a Virtual Network route in an App Service plan.
|
|
620
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
621
|
+
* @param name Name of the App Service plan.
|
|
622
|
+
* @param vnetName Name of the Virtual Network.
|
|
623
|
+
* @param routeName Name of the Virtual Network route.
|
|
624
|
+
* @param route Definition of the Virtual Network route.
|
|
625
|
+
* @param options The options parameters.
|
|
626
|
+
*/
|
|
627
|
+
updateVnetRoute(resourceGroupName, name, vnetName, routeName, route, options) {
|
|
628
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, vnetName, routeName, route, options }, updateVnetRouteOperationSpec);
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* Description for Reboot a worker machine in an App Service plan.
|
|
632
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
633
|
+
* @param name Name of the App Service plan.
|
|
634
|
+
* @param workerName Name of worker machine, which typically starts with RD.
|
|
635
|
+
* @param options The options parameters.
|
|
636
|
+
*/
|
|
637
|
+
rebootWorker(resourceGroupName, name, workerName, options) {
|
|
638
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, workerName, options }, rebootWorkerOperationSpec);
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* ListNext
|
|
642
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
643
|
+
* @param options The options parameters.
|
|
644
|
+
*/
|
|
645
|
+
_listNext(nextLink, options) {
|
|
646
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* ListByResourceGroupNext
|
|
650
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
651
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
|
652
|
+
* @param options The options parameters.
|
|
653
|
+
*/
|
|
654
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
655
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* ListWebAppsByHybridConnectionNext
|
|
659
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
660
|
+
* @param name Name of the App Service plan.
|
|
661
|
+
* @param namespaceName Name of the Hybrid Connection namespace.
|
|
662
|
+
* @param relayName Name of the Hybrid Connection relay.
|
|
663
|
+
* @param nextLink The nextLink from the previous successful call to the ListWebAppsByHybridConnection
|
|
664
|
+
* method.
|
|
665
|
+
* @param options The options parameters.
|
|
666
|
+
*/
|
|
667
|
+
_listWebAppsByHybridConnectionNext(resourceGroupName, name, namespaceName, relayName, nextLink, options) {
|
|
668
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, namespaceName, relayName, nextLink, options }, listWebAppsByHybridConnectionNextOperationSpec);
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* ListHybridConnectionsNext
|
|
672
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
673
|
+
* @param name Name of the App Service plan.
|
|
674
|
+
* @param nextLink The nextLink from the previous successful call to the ListHybridConnections method.
|
|
675
|
+
* @param options The options parameters.
|
|
676
|
+
*/
|
|
677
|
+
_listHybridConnectionsNext(resourceGroupName, name, nextLink, options) {
|
|
678
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listHybridConnectionsNextOperationSpec);
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* ListWebAppsNext
|
|
682
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
683
|
+
* @param name Name of the App Service plan.
|
|
684
|
+
* @param nextLink The nextLink from the previous successful call to the ListWebApps method.
|
|
685
|
+
* @param options The options parameters.
|
|
686
|
+
*/
|
|
687
|
+
_listWebAppsNext(resourceGroupName, name, nextLink, options) {
|
|
688
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listWebAppsNextOperationSpec);
|
|
689
|
+
}
|
|
690
|
+
/**
|
|
691
|
+
* ListUsagesNext
|
|
692
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
693
|
+
* @param name Name of App Service Plan
|
|
694
|
+
* @param nextLink The nextLink from the previous successful call to the ListUsages method.
|
|
695
|
+
* @param options The options parameters.
|
|
696
|
+
*/
|
|
697
|
+
_listUsagesNext(resourceGroupName, name, nextLink, options) {
|
|
698
|
+
return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listUsagesNextOperationSpec);
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
// Operation Specifications
|
|
702
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
703
|
+
const listOperationSpec = {
|
|
704
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/serverfarms",
|
|
705
|
+
httpMethod: "GET",
|
|
706
|
+
responses: {
|
|
707
|
+
200: {
|
|
708
|
+
bodyMapper: Mappers.AppServicePlanCollection
|
|
709
|
+
},
|
|
710
|
+
default: {
|
|
711
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
queryParameters: [Parameters.apiVersion, Parameters.detailed],
|
|
715
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
716
|
+
headerParameters: [Parameters.accept],
|
|
717
|
+
serializer
|
|
718
|
+
};
|
|
719
|
+
const listByResourceGroupOperationSpec = {
|
|
720
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms",
|
|
721
|
+
httpMethod: "GET",
|
|
722
|
+
responses: {
|
|
723
|
+
200: {
|
|
724
|
+
bodyMapper: Mappers.AppServicePlanCollection
|
|
725
|
+
},
|
|
726
|
+
default: {
|
|
727
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
queryParameters: [Parameters.apiVersion],
|
|
731
|
+
urlParameters: [
|
|
732
|
+
Parameters.$host,
|
|
733
|
+
Parameters.subscriptionId,
|
|
734
|
+
Parameters.resourceGroupName
|
|
735
|
+
],
|
|
736
|
+
headerParameters: [Parameters.accept],
|
|
737
|
+
serializer
|
|
738
|
+
};
|
|
739
|
+
const getOperationSpec = {
|
|
740
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}",
|
|
741
|
+
httpMethod: "GET",
|
|
742
|
+
responses: {
|
|
743
|
+
200: {
|
|
744
|
+
bodyMapper: Mappers.AppServicePlan
|
|
745
|
+
},
|
|
746
|
+
404: {
|
|
747
|
+
isError: true
|
|
748
|
+
},
|
|
749
|
+
default: {
|
|
750
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
751
|
+
}
|
|
752
|
+
},
|
|
753
|
+
queryParameters: [Parameters.apiVersion],
|
|
754
|
+
urlParameters: [
|
|
755
|
+
Parameters.$host,
|
|
756
|
+
Parameters.subscriptionId,
|
|
757
|
+
Parameters.resourceGroupName,
|
|
758
|
+
Parameters.name
|
|
759
|
+
],
|
|
760
|
+
headerParameters: [Parameters.accept],
|
|
761
|
+
serializer
|
|
762
|
+
};
|
|
763
|
+
const createOrUpdateOperationSpec = {
|
|
764
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}",
|
|
765
|
+
httpMethod: "PUT",
|
|
766
|
+
responses: {
|
|
767
|
+
200: {
|
|
768
|
+
bodyMapper: Mappers.AppServicePlan
|
|
769
|
+
},
|
|
770
|
+
201: {
|
|
771
|
+
bodyMapper: Mappers.AppServicePlan
|
|
772
|
+
},
|
|
773
|
+
202: {
|
|
774
|
+
bodyMapper: Mappers.AppServicePlan
|
|
775
|
+
},
|
|
776
|
+
204: {
|
|
777
|
+
bodyMapper: Mappers.AppServicePlan
|
|
778
|
+
},
|
|
779
|
+
default: {
|
|
780
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
requestBody: Parameters.appServicePlan,
|
|
784
|
+
queryParameters: [Parameters.apiVersion],
|
|
785
|
+
urlParameters: [
|
|
786
|
+
Parameters.$host,
|
|
787
|
+
Parameters.subscriptionId,
|
|
788
|
+
Parameters.resourceGroupName,
|
|
789
|
+
Parameters.name
|
|
790
|
+
],
|
|
791
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
792
|
+
mediaType: "json",
|
|
793
|
+
serializer
|
|
794
|
+
};
|
|
795
|
+
const deleteOperationSpec = {
|
|
796
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}",
|
|
797
|
+
httpMethod: "DELETE",
|
|
798
|
+
responses: {
|
|
799
|
+
200: {},
|
|
800
|
+
204: {},
|
|
801
|
+
default: {
|
|
802
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
queryParameters: [Parameters.apiVersion],
|
|
806
|
+
urlParameters: [
|
|
807
|
+
Parameters.$host,
|
|
808
|
+
Parameters.subscriptionId,
|
|
809
|
+
Parameters.resourceGroupName,
|
|
810
|
+
Parameters.name
|
|
811
|
+
],
|
|
812
|
+
headerParameters: [Parameters.accept],
|
|
813
|
+
serializer
|
|
814
|
+
};
|
|
815
|
+
const updateOperationSpec = {
|
|
816
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}",
|
|
817
|
+
httpMethod: "PATCH",
|
|
818
|
+
responses: {
|
|
819
|
+
200: {
|
|
820
|
+
bodyMapper: Mappers.AppServicePlan
|
|
821
|
+
},
|
|
822
|
+
202: {
|
|
823
|
+
bodyMapper: Mappers.AppServicePlan
|
|
824
|
+
},
|
|
825
|
+
default: {
|
|
826
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
requestBody: Parameters.appServicePlan1,
|
|
830
|
+
queryParameters: [Parameters.apiVersion],
|
|
831
|
+
urlParameters: [
|
|
832
|
+
Parameters.$host,
|
|
833
|
+
Parameters.subscriptionId,
|
|
834
|
+
Parameters.resourceGroupName,
|
|
835
|
+
Parameters.name
|
|
836
|
+
],
|
|
837
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
838
|
+
mediaType: "json",
|
|
839
|
+
serializer
|
|
840
|
+
};
|
|
841
|
+
const listCapabilitiesOperationSpec = {
|
|
842
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities",
|
|
843
|
+
httpMethod: "GET",
|
|
844
|
+
responses: {
|
|
845
|
+
200: {
|
|
846
|
+
bodyMapper: {
|
|
847
|
+
type: {
|
|
848
|
+
name: "Sequence",
|
|
849
|
+
element: { type: { name: "Composite", className: "Capability" } }
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
default: {
|
|
854
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
queryParameters: [Parameters.apiVersion],
|
|
858
|
+
urlParameters: [
|
|
859
|
+
Parameters.$host,
|
|
860
|
+
Parameters.subscriptionId,
|
|
861
|
+
Parameters.resourceGroupName,
|
|
862
|
+
Parameters.name
|
|
863
|
+
],
|
|
864
|
+
headerParameters: [Parameters.accept],
|
|
865
|
+
serializer
|
|
866
|
+
};
|
|
867
|
+
const getHybridConnectionOperationSpec = {
|
|
868
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}",
|
|
869
|
+
httpMethod: "GET",
|
|
870
|
+
responses: {
|
|
871
|
+
200: {
|
|
872
|
+
bodyMapper: Mappers.HybridConnection
|
|
873
|
+
},
|
|
874
|
+
default: {
|
|
875
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
queryParameters: [Parameters.apiVersion],
|
|
879
|
+
urlParameters: [
|
|
880
|
+
Parameters.$host,
|
|
881
|
+
Parameters.subscriptionId,
|
|
882
|
+
Parameters.resourceGroupName,
|
|
883
|
+
Parameters.name,
|
|
884
|
+
Parameters.namespaceName,
|
|
885
|
+
Parameters.relayName
|
|
886
|
+
],
|
|
887
|
+
headerParameters: [Parameters.accept],
|
|
888
|
+
serializer
|
|
889
|
+
};
|
|
890
|
+
const deleteHybridConnectionOperationSpec = {
|
|
891
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}",
|
|
892
|
+
httpMethod: "DELETE",
|
|
893
|
+
responses: {
|
|
894
|
+
200: {},
|
|
895
|
+
204: {},
|
|
896
|
+
default: {
|
|
897
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
898
|
+
}
|
|
899
|
+
},
|
|
900
|
+
queryParameters: [Parameters.apiVersion],
|
|
901
|
+
urlParameters: [
|
|
902
|
+
Parameters.$host,
|
|
903
|
+
Parameters.subscriptionId,
|
|
904
|
+
Parameters.resourceGroupName,
|
|
905
|
+
Parameters.name,
|
|
906
|
+
Parameters.namespaceName,
|
|
907
|
+
Parameters.relayName
|
|
908
|
+
],
|
|
909
|
+
headerParameters: [Parameters.accept],
|
|
910
|
+
serializer
|
|
911
|
+
};
|
|
912
|
+
const listHybridConnectionKeysOperationSpec = {
|
|
913
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys",
|
|
914
|
+
httpMethod: "POST",
|
|
915
|
+
responses: {
|
|
916
|
+
200: {
|
|
917
|
+
bodyMapper: Mappers.HybridConnectionKey
|
|
918
|
+
},
|
|
919
|
+
default: {
|
|
920
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
queryParameters: [Parameters.apiVersion],
|
|
924
|
+
urlParameters: [
|
|
925
|
+
Parameters.$host,
|
|
926
|
+
Parameters.subscriptionId,
|
|
927
|
+
Parameters.resourceGroupName,
|
|
928
|
+
Parameters.name,
|
|
929
|
+
Parameters.namespaceName,
|
|
930
|
+
Parameters.relayName
|
|
931
|
+
],
|
|
932
|
+
headerParameters: [Parameters.accept],
|
|
933
|
+
serializer
|
|
934
|
+
};
|
|
935
|
+
const listWebAppsByHybridConnectionOperationSpec = {
|
|
936
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/sites",
|
|
937
|
+
httpMethod: "GET",
|
|
938
|
+
responses: {
|
|
939
|
+
200: {
|
|
940
|
+
bodyMapper: Mappers.ResourceCollection
|
|
941
|
+
},
|
|
942
|
+
default: {
|
|
943
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
queryParameters: [Parameters.apiVersion],
|
|
947
|
+
urlParameters: [
|
|
948
|
+
Parameters.$host,
|
|
949
|
+
Parameters.subscriptionId,
|
|
950
|
+
Parameters.resourceGroupName,
|
|
951
|
+
Parameters.name,
|
|
952
|
+
Parameters.namespaceName,
|
|
953
|
+
Parameters.relayName
|
|
954
|
+
],
|
|
955
|
+
headerParameters: [Parameters.accept],
|
|
956
|
+
serializer
|
|
957
|
+
};
|
|
958
|
+
const getHybridConnectionPlanLimitOperationSpec = {
|
|
959
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionPlanLimits/limit",
|
|
960
|
+
httpMethod: "GET",
|
|
961
|
+
responses: {
|
|
962
|
+
200: {
|
|
963
|
+
bodyMapper: Mappers.HybridConnectionLimits
|
|
964
|
+
},
|
|
965
|
+
default: {
|
|
966
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
967
|
+
}
|
|
968
|
+
},
|
|
969
|
+
queryParameters: [Parameters.apiVersion],
|
|
970
|
+
urlParameters: [
|
|
971
|
+
Parameters.$host,
|
|
972
|
+
Parameters.subscriptionId,
|
|
973
|
+
Parameters.resourceGroupName,
|
|
974
|
+
Parameters.name
|
|
975
|
+
],
|
|
976
|
+
headerParameters: [Parameters.accept],
|
|
977
|
+
serializer
|
|
978
|
+
};
|
|
979
|
+
const listHybridConnectionsOperationSpec = {
|
|
980
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/hybridConnectionRelays",
|
|
981
|
+
httpMethod: "GET",
|
|
982
|
+
responses: {
|
|
983
|
+
200: {
|
|
984
|
+
bodyMapper: Mappers.HybridConnectionCollection
|
|
985
|
+
},
|
|
986
|
+
default: {
|
|
987
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
queryParameters: [Parameters.apiVersion],
|
|
991
|
+
urlParameters: [
|
|
992
|
+
Parameters.$host,
|
|
993
|
+
Parameters.subscriptionId,
|
|
994
|
+
Parameters.resourceGroupName,
|
|
995
|
+
Parameters.name
|
|
996
|
+
],
|
|
997
|
+
headerParameters: [Parameters.accept],
|
|
998
|
+
serializer
|
|
999
|
+
};
|
|
1000
|
+
const restartWebAppsOperationSpec = {
|
|
1001
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/restartSites",
|
|
1002
|
+
httpMethod: "POST",
|
|
1003
|
+
responses: {
|
|
1004
|
+
204: {},
|
|
1005
|
+
default: {
|
|
1006
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
queryParameters: [Parameters.apiVersion, Parameters.softRestart],
|
|
1010
|
+
urlParameters: [
|
|
1011
|
+
Parameters.$host,
|
|
1012
|
+
Parameters.subscriptionId,
|
|
1013
|
+
Parameters.resourceGroupName,
|
|
1014
|
+
Parameters.name
|
|
1015
|
+
],
|
|
1016
|
+
headerParameters: [Parameters.accept],
|
|
1017
|
+
serializer
|
|
1018
|
+
};
|
|
1019
|
+
const listWebAppsOperationSpec = {
|
|
1020
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/sites",
|
|
1021
|
+
httpMethod: "GET",
|
|
1022
|
+
responses: {
|
|
1023
|
+
200: {
|
|
1024
|
+
bodyMapper: Mappers.WebAppCollection
|
|
1025
|
+
},
|
|
1026
|
+
default: {
|
|
1027
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
queryParameters: [
|
|
1031
|
+
Parameters.apiVersion,
|
|
1032
|
+
Parameters.filter,
|
|
1033
|
+
Parameters.skipToken,
|
|
1034
|
+
Parameters.top
|
|
1035
|
+
],
|
|
1036
|
+
urlParameters: [
|
|
1037
|
+
Parameters.$host,
|
|
1038
|
+
Parameters.subscriptionId,
|
|
1039
|
+
Parameters.resourceGroupName,
|
|
1040
|
+
Parameters.name
|
|
1041
|
+
],
|
|
1042
|
+
headerParameters: [Parameters.accept],
|
|
1043
|
+
serializer
|
|
1044
|
+
};
|
|
1045
|
+
const getServerFarmSkusOperationSpec = {
|
|
1046
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus",
|
|
1047
|
+
httpMethod: "GET",
|
|
1048
|
+
responses: {
|
|
1049
|
+
200: {
|
|
1050
|
+
bodyMapper: {
|
|
1051
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
default: {
|
|
1055
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
queryParameters: [Parameters.apiVersion],
|
|
1059
|
+
urlParameters: [
|
|
1060
|
+
Parameters.$host,
|
|
1061
|
+
Parameters.subscriptionId,
|
|
1062
|
+
Parameters.resourceGroupName,
|
|
1063
|
+
Parameters.name
|
|
1064
|
+
],
|
|
1065
|
+
headerParameters: [Parameters.accept],
|
|
1066
|
+
serializer
|
|
1067
|
+
};
|
|
1068
|
+
const listUsagesOperationSpec = {
|
|
1069
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages",
|
|
1070
|
+
httpMethod: "GET",
|
|
1071
|
+
responses: {
|
|
1072
|
+
200: {
|
|
1073
|
+
bodyMapper: Mappers.CsmUsageQuotaCollection
|
|
1074
|
+
},
|
|
1075
|
+
default: {
|
|
1076
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
|
1080
|
+
urlParameters: [
|
|
1081
|
+
Parameters.$host,
|
|
1082
|
+
Parameters.subscriptionId,
|
|
1083
|
+
Parameters.resourceGroupName,
|
|
1084
|
+
Parameters.name
|
|
1085
|
+
],
|
|
1086
|
+
headerParameters: [Parameters.accept],
|
|
1087
|
+
serializer
|
|
1088
|
+
};
|
|
1089
|
+
const listVnetsOperationSpec = {
|
|
1090
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections",
|
|
1091
|
+
httpMethod: "GET",
|
|
1092
|
+
responses: {
|
|
1093
|
+
200: {
|
|
1094
|
+
bodyMapper: {
|
|
1095
|
+
type: {
|
|
1096
|
+
name: "Sequence",
|
|
1097
|
+
element: {
|
|
1098
|
+
type: { name: "Composite", className: "VnetInfoResource" }
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
default: {
|
|
1104
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1105
|
+
}
|
|
1106
|
+
},
|
|
1107
|
+
queryParameters: [Parameters.apiVersion],
|
|
1108
|
+
urlParameters: [
|
|
1109
|
+
Parameters.$host,
|
|
1110
|
+
Parameters.subscriptionId,
|
|
1111
|
+
Parameters.resourceGroupName,
|
|
1112
|
+
Parameters.name
|
|
1113
|
+
],
|
|
1114
|
+
headerParameters: [Parameters.accept],
|
|
1115
|
+
serializer
|
|
1116
|
+
};
|
|
1117
|
+
const getVnetFromServerFarmOperationSpec = {
|
|
1118
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}",
|
|
1119
|
+
httpMethod: "GET",
|
|
1120
|
+
responses: {
|
|
1121
|
+
200: {
|
|
1122
|
+
bodyMapper: Mappers.VnetInfoResource
|
|
1123
|
+
},
|
|
1124
|
+
404: {
|
|
1125
|
+
isError: true
|
|
1126
|
+
},
|
|
1127
|
+
default: {
|
|
1128
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1129
|
+
}
|
|
1130
|
+
},
|
|
1131
|
+
queryParameters: [Parameters.apiVersion],
|
|
1132
|
+
urlParameters: [
|
|
1133
|
+
Parameters.$host,
|
|
1134
|
+
Parameters.subscriptionId,
|
|
1135
|
+
Parameters.resourceGroupName,
|
|
1136
|
+
Parameters.name,
|
|
1137
|
+
Parameters.vnetName
|
|
1138
|
+
],
|
|
1139
|
+
headerParameters: [Parameters.accept],
|
|
1140
|
+
serializer
|
|
1141
|
+
};
|
|
1142
|
+
const getVnetGatewayOperationSpec = {
|
|
1143
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}",
|
|
1144
|
+
httpMethod: "GET",
|
|
1145
|
+
responses: {
|
|
1146
|
+
200: {
|
|
1147
|
+
bodyMapper: Mappers.VnetGateway
|
|
1148
|
+
},
|
|
1149
|
+
default: {
|
|
1150
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1151
|
+
}
|
|
1152
|
+
},
|
|
1153
|
+
queryParameters: [Parameters.apiVersion],
|
|
1154
|
+
urlParameters: [
|
|
1155
|
+
Parameters.$host,
|
|
1156
|
+
Parameters.subscriptionId,
|
|
1157
|
+
Parameters.resourceGroupName,
|
|
1158
|
+
Parameters.name,
|
|
1159
|
+
Parameters.vnetName,
|
|
1160
|
+
Parameters.gatewayName
|
|
1161
|
+
],
|
|
1162
|
+
headerParameters: [Parameters.accept],
|
|
1163
|
+
serializer
|
|
1164
|
+
};
|
|
1165
|
+
const updateVnetGatewayOperationSpec = {
|
|
1166
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}",
|
|
1167
|
+
httpMethod: "PUT",
|
|
1168
|
+
responses: {
|
|
1169
|
+
200: {
|
|
1170
|
+
bodyMapper: Mappers.VnetGateway
|
|
1171
|
+
},
|
|
1172
|
+
default: {
|
|
1173
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1176
|
+
requestBody: Parameters.connectionEnvelope,
|
|
1177
|
+
queryParameters: [Parameters.apiVersion],
|
|
1178
|
+
urlParameters: [
|
|
1179
|
+
Parameters.$host,
|
|
1180
|
+
Parameters.subscriptionId,
|
|
1181
|
+
Parameters.resourceGroupName,
|
|
1182
|
+
Parameters.name,
|
|
1183
|
+
Parameters.vnetName,
|
|
1184
|
+
Parameters.gatewayName
|
|
1185
|
+
],
|
|
1186
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1187
|
+
mediaType: "json",
|
|
1188
|
+
serializer
|
|
1189
|
+
};
|
|
1190
|
+
const listRoutesForVnetOperationSpec = {
|
|
1191
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes",
|
|
1192
|
+
httpMethod: "GET",
|
|
1193
|
+
responses: {
|
|
1194
|
+
200: {
|
|
1195
|
+
bodyMapper: {
|
|
1196
|
+
type: {
|
|
1197
|
+
name: "Sequence",
|
|
1198
|
+
element: { type: { name: "Composite", className: "VnetRoute" } }
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
},
|
|
1202
|
+
default: {
|
|
1203
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
queryParameters: [Parameters.apiVersion],
|
|
1207
|
+
urlParameters: [
|
|
1208
|
+
Parameters.$host,
|
|
1209
|
+
Parameters.subscriptionId,
|
|
1210
|
+
Parameters.resourceGroupName,
|
|
1211
|
+
Parameters.name,
|
|
1212
|
+
Parameters.vnetName
|
|
1213
|
+
],
|
|
1214
|
+
headerParameters: [Parameters.accept],
|
|
1215
|
+
serializer
|
|
1216
|
+
};
|
|
1217
|
+
const getRouteForVnetOperationSpec = {
|
|
1218
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}",
|
|
1219
|
+
httpMethod: "GET",
|
|
1220
|
+
responses: {
|
|
1221
|
+
200: {
|
|
1222
|
+
bodyMapper: {
|
|
1223
|
+
type: {
|
|
1224
|
+
name: "Sequence",
|
|
1225
|
+
element: { type: { name: "Composite", className: "VnetRoute" } }
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
404: {
|
|
1230
|
+
isError: true
|
|
1231
|
+
},
|
|
1232
|
+
default: {
|
|
1233
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
queryParameters: [Parameters.apiVersion],
|
|
1237
|
+
urlParameters: [
|
|
1238
|
+
Parameters.$host,
|
|
1239
|
+
Parameters.subscriptionId,
|
|
1240
|
+
Parameters.resourceGroupName,
|
|
1241
|
+
Parameters.name,
|
|
1242
|
+
Parameters.vnetName,
|
|
1243
|
+
Parameters.routeName
|
|
1244
|
+
],
|
|
1245
|
+
headerParameters: [Parameters.accept],
|
|
1246
|
+
serializer
|
|
1247
|
+
};
|
|
1248
|
+
const createOrUpdateVnetRouteOperationSpec = {
|
|
1249
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}",
|
|
1250
|
+
httpMethod: "PUT",
|
|
1251
|
+
responses: {
|
|
1252
|
+
200: {
|
|
1253
|
+
bodyMapper: Mappers.VnetRoute
|
|
1254
|
+
},
|
|
1255
|
+
400: {
|
|
1256
|
+
isError: true
|
|
1257
|
+
},
|
|
1258
|
+
404: {
|
|
1259
|
+
isError: true
|
|
1260
|
+
},
|
|
1261
|
+
default: {
|
|
1262
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
requestBody: Parameters.route,
|
|
1266
|
+
queryParameters: [Parameters.apiVersion],
|
|
1267
|
+
urlParameters: [
|
|
1268
|
+
Parameters.$host,
|
|
1269
|
+
Parameters.subscriptionId,
|
|
1270
|
+
Parameters.resourceGroupName,
|
|
1271
|
+
Parameters.name,
|
|
1272
|
+
Parameters.vnetName,
|
|
1273
|
+
Parameters.routeName
|
|
1274
|
+
],
|
|
1275
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1276
|
+
mediaType: "json",
|
|
1277
|
+
serializer
|
|
1278
|
+
};
|
|
1279
|
+
const deleteVnetRouteOperationSpec = {
|
|
1280
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}",
|
|
1281
|
+
httpMethod: "DELETE",
|
|
1282
|
+
responses: {
|
|
1283
|
+
200: {},
|
|
1284
|
+
404: {
|
|
1285
|
+
isError: true
|
|
1286
|
+
},
|
|
1287
|
+
default: {
|
|
1288
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1289
|
+
}
|
|
1290
|
+
},
|
|
1291
|
+
queryParameters: [Parameters.apiVersion],
|
|
1292
|
+
urlParameters: [
|
|
1293
|
+
Parameters.$host,
|
|
1294
|
+
Parameters.subscriptionId,
|
|
1295
|
+
Parameters.resourceGroupName,
|
|
1296
|
+
Parameters.name,
|
|
1297
|
+
Parameters.vnetName,
|
|
1298
|
+
Parameters.routeName
|
|
1299
|
+
],
|
|
1300
|
+
headerParameters: [Parameters.accept],
|
|
1301
|
+
serializer
|
|
1302
|
+
};
|
|
1303
|
+
const updateVnetRouteOperationSpec = {
|
|
1304
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}",
|
|
1305
|
+
httpMethod: "PATCH",
|
|
1306
|
+
responses: {
|
|
1307
|
+
200: {
|
|
1308
|
+
bodyMapper: Mappers.VnetRoute
|
|
1309
|
+
},
|
|
1310
|
+
400: {
|
|
1311
|
+
isError: true
|
|
1312
|
+
},
|
|
1313
|
+
404: {
|
|
1314
|
+
isError: true
|
|
1315
|
+
},
|
|
1316
|
+
default: {
|
|
1317
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
requestBody: Parameters.route,
|
|
1321
|
+
queryParameters: [Parameters.apiVersion],
|
|
1322
|
+
urlParameters: [
|
|
1323
|
+
Parameters.$host,
|
|
1324
|
+
Parameters.subscriptionId,
|
|
1325
|
+
Parameters.resourceGroupName,
|
|
1326
|
+
Parameters.name,
|
|
1327
|
+
Parameters.vnetName,
|
|
1328
|
+
Parameters.routeName
|
|
1329
|
+
],
|
|
1330
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1331
|
+
mediaType: "json",
|
|
1332
|
+
serializer
|
|
1333
|
+
};
|
|
1334
|
+
const rebootWorkerOperationSpec = {
|
|
1335
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/workers/{workerName}/reboot",
|
|
1336
|
+
httpMethod: "POST",
|
|
1337
|
+
responses: {
|
|
1338
|
+
204: {},
|
|
1339
|
+
default: {
|
|
1340
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
queryParameters: [Parameters.apiVersion],
|
|
1344
|
+
urlParameters: [
|
|
1345
|
+
Parameters.$host,
|
|
1346
|
+
Parameters.subscriptionId,
|
|
1347
|
+
Parameters.resourceGroupName,
|
|
1348
|
+
Parameters.name,
|
|
1349
|
+
Parameters.workerName
|
|
1350
|
+
],
|
|
1351
|
+
headerParameters: [Parameters.accept],
|
|
1352
|
+
serializer
|
|
1353
|
+
};
|
|
1354
|
+
const listNextOperationSpec = {
|
|
1355
|
+
path: "{nextLink}",
|
|
1356
|
+
httpMethod: "GET",
|
|
1357
|
+
responses: {
|
|
1358
|
+
200: {
|
|
1359
|
+
bodyMapper: Mappers.AppServicePlanCollection
|
|
1360
|
+
},
|
|
1361
|
+
default: {
|
|
1362
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1363
|
+
}
|
|
1364
|
+
},
|
|
1365
|
+
queryParameters: [Parameters.apiVersion, Parameters.detailed],
|
|
1366
|
+
urlParameters: [
|
|
1367
|
+
Parameters.$host,
|
|
1368
|
+
Parameters.subscriptionId,
|
|
1369
|
+
Parameters.nextLink
|
|
1370
|
+
],
|
|
1371
|
+
headerParameters: [Parameters.accept],
|
|
1372
|
+
serializer
|
|
1373
|
+
};
|
|
1374
|
+
const listByResourceGroupNextOperationSpec = {
|
|
1375
|
+
path: "{nextLink}",
|
|
1376
|
+
httpMethod: "GET",
|
|
1377
|
+
responses: {
|
|
1378
|
+
200: {
|
|
1379
|
+
bodyMapper: Mappers.AppServicePlanCollection
|
|
1380
|
+
},
|
|
1381
|
+
default: {
|
|
1382
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
queryParameters: [Parameters.apiVersion],
|
|
1386
|
+
urlParameters: [
|
|
1387
|
+
Parameters.$host,
|
|
1388
|
+
Parameters.subscriptionId,
|
|
1389
|
+
Parameters.resourceGroupName,
|
|
1390
|
+
Parameters.nextLink
|
|
1391
|
+
],
|
|
1392
|
+
headerParameters: [Parameters.accept],
|
|
1393
|
+
serializer
|
|
1394
|
+
};
|
|
1395
|
+
const listWebAppsByHybridConnectionNextOperationSpec = {
|
|
1396
|
+
path: "{nextLink}",
|
|
1397
|
+
httpMethod: "GET",
|
|
1398
|
+
responses: {
|
|
1399
|
+
200: {
|
|
1400
|
+
bodyMapper: Mappers.ResourceCollection
|
|
1401
|
+
},
|
|
1402
|
+
default: {
|
|
1403
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
queryParameters: [Parameters.apiVersion],
|
|
1407
|
+
urlParameters: [
|
|
1408
|
+
Parameters.$host,
|
|
1409
|
+
Parameters.subscriptionId,
|
|
1410
|
+
Parameters.resourceGroupName,
|
|
1411
|
+
Parameters.name,
|
|
1412
|
+
Parameters.nextLink,
|
|
1413
|
+
Parameters.namespaceName,
|
|
1414
|
+
Parameters.relayName
|
|
1415
|
+
],
|
|
1416
|
+
headerParameters: [Parameters.accept],
|
|
1417
|
+
serializer
|
|
1418
|
+
};
|
|
1419
|
+
const listHybridConnectionsNextOperationSpec = {
|
|
1420
|
+
path: "{nextLink}",
|
|
1421
|
+
httpMethod: "GET",
|
|
1422
|
+
responses: {
|
|
1423
|
+
200: {
|
|
1424
|
+
bodyMapper: Mappers.HybridConnectionCollection
|
|
1425
|
+
},
|
|
1426
|
+
default: {
|
|
1427
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
queryParameters: [Parameters.apiVersion],
|
|
1431
|
+
urlParameters: [
|
|
1432
|
+
Parameters.$host,
|
|
1433
|
+
Parameters.subscriptionId,
|
|
1434
|
+
Parameters.resourceGroupName,
|
|
1435
|
+
Parameters.name,
|
|
1436
|
+
Parameters.nextLink
|
|
1437
|
+
],
|
|
1438
|
+
headerParameters: [Parameters.accept],
|
|
1439
|
+
serializer
|
|
1440
|
+
};
|
|
1441
|
+
const listWebAppsNextOperationSpec = {
|
|
1442
|
+
path: "{nextLink}",
|
|
1443
|
+
httpMethod: "GET",
|
|
1444
|
+
responses: {
|
|
1445
|
+
200: {
|
|
1446
|
+
bodyMapper: Mappers.WebAppCollection
|
|
1447
|
+
},
|
|
1448
|
+
default: {
|
|
1449
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
queryParameters: [
|
|
1453
|
+
Parameters.apiVersion,
|
|
1454
|
+
Parameters.filter,
|
|
1455
|
+
Parameters.skipToken,
|
|
1456
|
+
Parameters.top
|
|
1457
|
+
],
|
|
1458
|
+
urlParameters: [
|
|
1459
|
+
Parameters.$host,
|
|
1460
|
+
Parameters.subscriptionId,
|
|
1461
|
+
Parameters.resourceGroupName,
|
|
1462
|
+
Parameters.name,
|
|
1463
|
+
Parameters.nextLink
|
|
1464
|
+
],
|
|
1465
|
+
headerParameters: [Parameters.accept],
|
|
1466
|
+
serializer
|
|
1467
|
+
};
|
|
1468
|
+
const listUsagesNextOperationSpec = {
|
|
1469
|
+
path: "{nextLink}",
|
|
1470
|
+
httpMethod: "GET",
|
|
1471
|
+
responses: {
|
|
1472
|
+
200: {
|
|
1473
|
+
bodyMapper: Mappers.CsmUsageQuotaCollection
|
|
1474
|
+
},
|
|
1475
|
+
default: {
|
|
1476
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
queryParameters: [Parameters.apiVersion, Parameters.filter],
|
|
1480
|
+
urlParameters: [
|
|
1481
|
+
Parameters.$host,
|
|
1482
|
+
Parameters.subscriptionId,
|
|
1483
|
+
Parameters.resourceGroupName,
|
|
1484
|
+
Parameters.name,
|
|
1485
|
+
Parameters.nextLink
|
|
1486
|
+
],
|
|
1487
|
+
headerParameters: [Parameters.accept],
|
|
1488
|
+
serializer
|
|
1489
|
+
};
|
|
1490
|
+
//# sourceMappingURL=appServicePlans.js.map
|