@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,912 @@
|
|
|
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 } 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
|
+
/// <reference lib="esnext.asynciterable" />
|
|
14
|
+
/** Class representing a Recommendations. */
|
|
15
|
+
export class RecommendationsImpl {
|
|
16
|
+
/**
|
|
17
|
+
* Initialize a new instance of the class Recommendations class.
|
|
18
|
+
* @param client Reference to the service client
|
|
19
|
+
*/
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Description for List all recommendations for a subscription.
|
|
25
|
+
* @param options The options parameters.
|
|
26
|
+
*/
|
|
27
|
+
list(options) {
|
|
28
|
+
const iter = this.listPagingAll(options);
|
|
29
|
+
return {
|
|
30
|
+
next() {
|
|
31
|
+
return iter.next();
|
|
32
|
+
},
|
|
33
|
+
[Symbol.asyncIterator]() {
|
|
34
|
+
return this;
|
|
35
|
+
},
|
|
36
|
+
byPage: () => {
|
|
37
|
+
return this.listPagingPage(options);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
listPagingPage(options) {
|
|
42
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
43
|
+
let result = yield __await(this._list(options));
|
|
44
|
+
yield yield __await(result.value || []);
|
|
45
|
+
let continuationToken = result.nextLink;
|
|
46
|
+
while (continuationToken) {
|
|
47
|
+
result = yield __await(this._listNext(continuationToken, options));
|
|
48
|
+
continuationToken = result.nextLink;
|
|
49
|
+
yield yield __await(result.value || []);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
listPagingAll(options) {
|
|
54
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
55
|
+
var e_1, _a;
|
|
56
|
+
try {
|
|
57
|
+
for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
58
|
+
const page = _c.value;
|
|
59
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
63
|
+
finally {
|
|
64
|
+
try {
|
|
65
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
66
|
+
}
|
|
67
|
+
finally { if (e_1) throw e_1.error; }
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Description for Get past recommendations for an app, optionally specified by the time range.
|
|
73
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
74
|
+
* @param hostingEnvironmentName Name of the hosting environment.
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
listHistoryForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options) {
|
|
78
|
+
const iter = this.listHistoryForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options);
|
|
79
|
+
return {
|
|
80
|
+
next() {
|
|
81
|
+
return iter.next();
|
|
82
|
+
},
|
|
83
|
+
[Symbol.asyncIterator]() {
|
|
84
|
+
return this;
|
|
85
|
+
},
|
|
86
|
+
byPage: () => {
|
|
87
|
+
return this.listHistoryForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
listHistoryForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options) {
|
|
92
|
+
return __asyncGenerator(this, arguments, function* listHistoryForHostingEnvironmentPagingPage_1() {
|
|
93
|
+
let result = yield __await(this._listHistoryForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options));
|
|
94
|
+
yield yield __await(result.value || []);
|
|
95
|
+
let continuationToken = result.nextLink;
|
|
96
|
+
while (continuationToken) {
|
|
97
|
+
result = yield __await(this._listHistoryForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, continuationToken, options));
|
|
98
|
+
continuationToken = result.nextLink;
|
|
99
|
+
yield yield __await(result.value || []);
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
listHistoryForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options) {
|
|
104
|
+
return __asyncGenerator(this, arguments, function* listHistoryForHostingEnvironmentPagingAll_1() {
|
|
105
|
+
var e_2, _a;
|
|
106
|
+
try {
|
|
107
|
+
for (var _b = __asyncValues(this.listHistoryForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
108
|
+
const page = _c.value;
|
|
109
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
113
|
+
finally {
|
|
114
|
+
try {
|
|
115
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
116
|
+
}
|
|
117
|
+
finally { if (e_2) throw e_2.error; }
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Description for Get all recommendations for a hosting environment.
|
|
123
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
124
|
+
* @param hostingEnvironmentName Name of the app.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
listRecommendedRulesForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options) {
|
|
128
|
+
const iter = this.listRecommendedRulesForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options);
|
|
129
|
+
return {
|
|
130
|
+
next() {
|
|
131
|
+
return iter.next();
|
|
132
|
+
},
|
|
133
|
+
[Symbol.asyncIterator]() {
|
|
134
|
+
return this;
|
|
135
|
+
},
|
|
136
|
+
byPage: () => {
|
|
137
|
+
return this.listRecommendedRulesForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options);
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
listRecommendedRulesForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options) {
|
|
142
|
+
return __asyncGenerator(this, arguments, function* listRecommendedRulesForHostingEnvironmentPagingPage_1() {
|
|
143
|
+
let result = yield __await(this._listRecommendedRulesForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options));
|
|
144
|
+
yield yield __await(result.value || []);
|
|
145
|
+
let continuationToken = result.nextLink;
|
|
146
|
+
while (continuationToken) {
|
|
147
|
+
result = yield __await(this._listRecommendedRulesForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, continuationToken, options));
|
|
148
|
+
continuationToken = result.nextLink;
|
|
149
|
+
yield yield __await(result.value || []);
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
listRecommendedRulesForHostingEnvironmentPagingAll(resourceGroupName, hostingEnvironmentName, options) {
|
|
154
|
+
return __asyncGenerator(this, arguments, function* listRecommendedRulesForHostingEnvironmentPagingAll_1() {
|
|
155
|
+
var e_3, _a;
|
|
156
|
+
try {
|
|
157
|
+
for (var _b = __asyncValues(this.listRecommendedRulesForHostingEnvironmentPagingPage(resourceGroupName, hostingEnvironmentName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
158
|
+
const page = _c.value;
|
|
159
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
163
|
+
finally {
|
|
164
|
+
try {
|
|
165
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
166
|
+
}
|
|
167
|
+
finally { if (e_3) throw e_3.error; }
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Description for Get past recommendations for an app, optionally specified by the time range.
|
|
173
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
174
|
+
* @param siteName Name of the app.
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
listHistoryForWebApp(resourceGroupName, siteName, options) {
|
|
178
|
+
const iter = this.listHistoryForWebAppPagingAll(resourceGroupName, siteName, options);
|
|
179
|
+
return {
|
|
180
|
+
next() {
|
|
181
|
+
return iter.next();
|
|
182
|
+
},
|
|
183
|
+
[Symbol.asyncIterator]() {
|
|
184
|
+
return this;
|
|
185
|
+
},
|
|
186
|
+
byPage: () => {
|
|
187
|
+
return this.listHistoryForWebAppPagingPage(resourceGroupName, siteName, options);
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
listHistoryForWebAppPagingPage(resourceGroupName, siteName, options) {
|
|
192
|
+
return __asyncGenerator(this, arguments, function* listHistoryForWebAppPagingPage_1() {
|
|
193
|
+
let result = yield __await(this._listHistoryForWebApp(resourceGroupName, siteName, options));
|
|
194
|
+
yield yield __await(result.value || []);
|
|
195
|
+
let continuationToken = result.nextLink;
|
|
196
|
+
while (continuationToken) {
|
|
197
|
+
result = yield __await(this._listHistoryForWebAppNext(resourceGroupName, siteName, continuationToken, options));
|
|
198
|
+
continuationToken = result.nextLink;
|
|
199
|
+
yield yield __await(result.value || []);
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
listHistoryForWebAppPagingAll(resourceGroupName, siteName, options) {
|
|
204
|
+
return __asyncGenerator(this, arguments, function* listHistoryForWebAppPagingAll_1() {
|
|
205
|
+
var e_4, _a;
|
|
206
|
+
try {
|
|
207
|
+
for (var _b = __asyncValues(this.listHistoryForWebAppPagingPage(resourceGroupName, siteName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
208
|
+
const page = _c.value;
|
|
209
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
213
|
+
finally {
|
|
214
|
+
try {
|
|
215
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
216
|
+
}
|
|
217
|
+
finally { if (e_4) throw e_4.error; }
|
|
218
|
+
}
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Description for Get all recommendations for an app.
|
|
223
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
224
|
+
* @param siteName Name of the app.
|
|
225
|
+
* @param options The options parameters.
|
|
226
|
+
*/
|
|
227
|
+
listRecommendedRulesForWebApp(resourceGroupName, siteName, options) {
|
|
228
|
+
const iter = this.listRecommendedRulesForWebAppPagingAll(resourceGroupName, siteName, options);
|
|
229
|
+
return {
|
|
230
|
+
next() {
|
|
231
|
+
return iter.next();
|
|
232
|
+
},
|
|
233
|
+
[Symbol.asyncIterator]() {
|
|
234
|
+
return this;
|
|
235
|
+
},
|
|
236
|
+
byPage: () => {
|
|
237
|
+
return this.listRecommendedRulesForWebAppPagingPage(resourceGroupName, siteName, options);
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
listRecommendedRulesForWebAppPagingPage(resourceGroupName, siteName, options) {
|
|
242
|
+
return __asyncGenerator(this, arguments, function* listRecommendedRulesForWebAppPagingPage_1() {
|
|
243
|
+
let result = yield __await(this._listRecommendedRulesForWebApp(resourceGroupName, siteName, options));
|
|
244
|
+
yield yield __await(result.value || []);
|
|
245
|
+
let continuationToken = result.nextLink;
|
|
246
|
+
while (continuationToken) {
|
|
247
|
+
result = yield __await(this._listRecommendedRulesForWebAppNext(resourceGroupName, siteName, continuationToken, options));
|
|
248
|
+
continuationToken = result.nextLink;
|
|
249
|
+
yield yield __await(result.value || []);
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
listRecommendedRulesForWebAppPagingAll(resourceGroupName, siteName, options) {
|
|
254
|
+
return __asyncGenerator(this, arguments, function* listRecommendedRulesForWebAppPagingAll_1() {
|
|
255
|
+
var e_5, _a;
|
|
256
|
+
try {
|
|
257
|
+
for (var _b = __asyncValues(this.listRecommendedRulesForWebAppPagingPage(resourceGroupName, siteName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
258
|
+
const page = _c.value;
|
|
259
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
catch (e_5_1) { e_5 = { error: e_5_1 }; }
|
|
263
|
+
finally {
|
|
264
|
+
try {
|
|
265
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
266
|
+
}
|
|
267
|
+
finally { if (e_5) throw e_5.error; }
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Description for List all recommendations for a subscription.
|
|
273
|
+
* @param options The options parameters.
|
|
274
|
+
*/
|
|
275
|
+
_list(options) {
|
|
276
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Description for Reset all recommendation opt-out settings for a subscription.
|
|
280
|
+
* @param options The options parameters.
|
|
281
|
+
*/
|
|
282
|
+
resetAllFilters(options) {
|
|
283
|
+
return this.client.sendOperationRequest({ options }, resetAllFiltersOperationSpec);
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* Description for Disables the specified rule so it will not apply to a subscription in the future.
|
|
287
|
+
* @param name Rule name
|
|
288
|
+
* @param options The options parameters.
|
|
289
|
+
*/
|
|
290
|
+
disableRecommendationForSubscription(name, options) {
|
|
291
|
+
return this.client.sendOperationRequest({ name, options }, disableRecommendationForSubscriptionOperationSpec);
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Description for Get past recommendations for an app, optionally specified by the time range.
|
|
295
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
296
|
+
* @param hostingEnvironmentName Name of the hosting environment.
|
|
297
|
+
* @param options The options parameters.
|
|
298
|
+
*/
|
|
299
|
+
_listHistoryForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options) {
|
|
300
|
+
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, options }, listHistoryForHostingEnvironmentOperationSpec);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Description for Get all recommendations for a hosting environment.
|
|
304
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
305
|
+
* @param hostingEnvironmentName Name of the app.
|
|
306
|
+
* @param options The options parameters.
|
|
307
|
+
*/
|
|
308
|
+
_listRecommendedRulesForHostingEnvironment(resourceGroupName, hostingEnvironmentName, options) {
|
|
309
|
+
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, options }, listRecommendedRulesForHostingEnvironmentOperationSpec);
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* Description for Disable all recommendations for an app.
|
|
313
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
314
|
+
* @param environmentName Name of the app.
|
|
315
|
+
* @param hostingEnvironmentName
|
|
316
|
+
* @param options The options parameters.
|
|
317
|
+
*/
|
|
318
|
+
disableAllForHostingEnvironment(resourceGroupName, environmentName, hostingEnvironmentName, options) {
|
|
319
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, hostingEnvironmentName, options }, disableAllForHostingEnvironmentOperationSpec);
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Description for Reset all recommendation opt-out settings for an app.
|
|
323
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
324
|
+
* @param environmentName Name of the app.
|
|
325
|
+
* @param hostingEnvironmentName
|
|
326
|
+
* @param options The options parameters.
|
|
327
|
+
*/
|
|
328
|
+
resetAllFiltersForHostingEnvironment(resourceGroupName, environmentName, hostingEnvironmentName, options) {
|
|
329
|
+
return this.client.sendOperationRequest({ resourceGroupName, environmentName, hostingEnvironmentName, options }, resetAllFiltersForHostingEnvironmentOperationSpec);
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Description for Get a recommendation rule for an app.
|
|
333
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
334
|
+
* @param hostingEnvironmentName Name of the hosting environment.
|
|
335
|
+
* @param name Name of the recommendation.
|
|
336
|
+
* @param options The options parameters.
|
|
337
|
+
*/
|
|
338
|
+
getRuleDetailsByHostingEnvironment(resourceGroupName, hostingEnvironmentName, name, options) {
|
|
339
|
+
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, name, options }, getRuleDetailsByHostingEnvironmentOperationSpec);
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Description for Disables the specific rule for a web site permanently.
|
|
343
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
344
|
+
* @param environmentName Site name
|
|
345
|
+
* @param name Rule name
|
|
346
|
+
* @param hostingEnvironmentName
|
|
347
|
+
* @param options The options parameters.
|
|
348
|
+
*/
|
|
349
|
+
disableRecommendationForHostingEnvironment(resourceGroupName, environmentName, name, hostingEnvironmentName, options) {
|
|
350
|
+
return this.client.sendOperationRequest({
|
|
351
|
+
resourceGroupName,
|
|
352
|
+
environmentName,
|
|
353
|
+
name,
|
|
354
|
+
hostingEnvironmentName,
|
|
355
|
+
options
|
|
356
|
+
}, disableRecommendationForHostingEnvironmentOperationSpec);
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* Description for Get past recommendations for an app, optionally specified by the time range.
|
|
360
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
361
|
+
* @param siteName Name of the app.
|
|
362
|
+
* @param options The options parameters.
|
|
363
|
+
*/
|
|
364
|
+
_listHistoryForWebApp(resourceGroupName, siteName, options) {
|
|
365
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listHistoryForWebAppOperationSpec);
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Description for Get all recommendations for an app.
|
|
369
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
370
|
+
* @param siteName Name of the app.
|
|
371
|
+
* @param options The options parameters.
|
|
372
|
+
*/
|
|
373
|
+
_listRecommendedRulesForWebApp(resourceGroupName, siteName, options) {
|
|
374
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listRecommendedRulesForWebAppOperationSpec);
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Description for Disable all recommendations for an app.
|
|
378
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
379
|
+
* @param siteName Name of the app.
|
|
380
|
+
* @param options The options parameters.
|
|
381
|
+
*/
|
|
382
|
+
disableAllForWebApp(resourceGroupName, siteName, options) {
|
|
383
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, disableAllForWebAppOperationSpec);
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Description for Reset all recommendation opt-out settings for an app.
|
|
387
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
388
|
+
* @param siteName Name of the app.
|
|
389
|
+
* @param options The options parameters.
|
|
390
|
+
*/
|
|
391
|
+
resetAllFiltersForWebApp(resourceGroupName, siteName, options) {
|
|
392
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, resetAllFiltersForWebAppOperationSpec);
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Description for Get a recommendation rule for an app.
|
|
396
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
397
|
+
* @param siteName Name of the app.
|
|
398
|
+
* @param name Name of the recommendation.
|
|
399
|
+
* @param options The options parameters.
|
|
400
|
+
*/
|
|
401
|
+
getRuleDetailsByWebApp(resourceGroupName, siteName, name, options) {
|
|
402
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, name, options }, getRuleDetailsByWebAppOperationSpec);
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Description for Disables the specific rule for a web site permanently.
|
|
406
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
407
|
+
* @param siteName Site name
|
|
408
|
+
* @param name Rule name
|
|
409
|
+
* @param options The options parameters.
|
|
410
|
+
*/
|
|
411
|
+
disableRecommendationForSite(resourceGroupName, siteName, name, options) {
|
|
412
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, name, options }, disableRecommendationForSiteOperationSpec);
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* ListNext
|
|
416
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
417
|
+
* @param options The options parameters.
|
|
418
|
+
*/
|
|
419
|
+
_listNext(nextLink, options) {
|
|
420
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* ListHistoryForHostingEnvironmentNext
|
|
424
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
425
|
+
* @param hostingEnvironmentName Name of the hosting environment.
|
|
426
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
427
|
+
* ListHistoryForHostingEnvironment method.
|
|
428
|
+
* @param options The options parameters.
|
|
429
|
+
*/
|
|
430
|
+
_listHistoryForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, nextLink, options) {
|
|
431
|
+
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, nextLink, options }, listHistoryForHostingEnvironmentNextOperationSpec);
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* ListRecommendedRulesForHostingEnvironmentNext
|
|
435
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
436
|
+
* @param hostingEnvironmentName Name of the app.
|
|
437
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
438
|
+
* ListRecommendedRulesForHostingEnvironment method.
|
|
439
|
+
* @param options The options parameters.
|
|
440
|
+
*/
|
|
441
|
+
_listRecommendedRulesForHostingEnvironmentNext(resourceGroupName, hostingEnvironmentName, nextLink, options) {
|
|
442
|
+
return this.client.sendOperationRequest({ resourceGroupName, hostingEnvironmentName, nextLink, options }, listRecommendedRulesForHostingEnvironmentNextOperationSpec);
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* ListHistoryForWebAppNext
|
|
446
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
447
|
+
* @param siteName Name of the app.
|
|
448
|
+
* @param nextLink The nextLink from the previous successful call to the ListHistoryForWebApp method.
|
|
449
|
+
* @param options The options parameters.
|
|
450
|
+
*/
|
|
451
|
+
_listHistoryForWebAppNext(resourceGroupName, siteName, nextLink, options) {
|
|
452
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listHistoryForWebAppNextOperationSpec);
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* ListRecommendedRulesForWebAppNext
|
|
456
|
+
* @param resourceGroupName Name of the resource group to which the resource belongs.
|
|
457
|
+
* @param siteName Name of the app.
|
|
458
|
+
* @param nextLink The nextLink from the previous successful call to the ListRecommendedRulesForWebApp
|
|
459
|
+
* method.
|
|
460
|
+
* @param options The options parameters.
|
|
461
|
+
*/
|
|
462
|
+
_listRecommendedRulesForWebAppNext(resourceGroupName, siteName, nextLink, options) {
|
|
463
|
+
return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listRecommendedRulesForWebAppNextOperationSpec);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
// Operation Specifications
|
|
467
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
468
|
+
const listOperationSpec = {
|
|
469
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations",
|
|
470
|
+
httpMethod: "GET",
|
|
471
|
+
responses: {
|
|
472
|
+
200: {
|
|
473
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
474
|
+
},
|
|
475
|
+
default: {
|
|
476
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
queryParameters: [
|
|
480
|
+
Parameters.apiVersion,
|
|
481
|
+
Parameters.filter,
|
|
482
|
+
Parameters.featured
|
|
483
|
+
],
|
|
484
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
485
|
+
headerParameters: [Parameters.accept],
|
|
486
|
+
serializer
|
|
487
|
+
};
|
|
488
|
+
const resetAllFiltersOperationSpec = {
|
|
489
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/reset",
|
|
490
|
+
httpMethod: "POST",
|
|
491
|
+
responses: {
|
|
492
|
+
204: {},
|
|
493
|
+
default: {
|
|
494
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
queryParameters: [Parameters.apiVersion],
|
|
498
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
499
|
+
headerParameters: [Parameters.accept],
|
|
500
|
+
serializer
|
|
501
|
+
};
|
|
502
|
+
const disableRecommendationForSubscriptionOperationSpec = {
|
|
503
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Web/recommendations/{name}/disable",
|
|
504
|
+
httpMethod: "POST",
|
|
505
|
+
responses: {
|
|
506
|
+
200: {},
|
|
507
|
+
default: {
|
|
508
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
queryParameters: [Parameters.apiVersion],
|
|
512
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.name],
|
|
513
|
+
headerParameters: [Parameters.accept],
|
|
514
|
+
serializer
|
|
515
|
+
};
|
|
516
|
+
const listHistoryForHostingEnvironmentOperationSpec = {
|
|
517
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendationHistory",
|
|
518
|
+
httpMethod: "GET",
|
|
519
|
+
responses: {
|
|
520
|
+
200: {
|
|
521
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
522
|
+
},
|
|
523
|
+
default: {
|
|
524
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
queryParameters: [
|
|
528
|
+
Parameters.apiVersion,
|
|
529
|
+
Parameters.filter,
|
|
530
|
+
Parameters.expiredOnly
|
|
531
|
+
],
|
|
532
|
+
urlParameters: [
|
|
533
|
+
Parameters.$host,
|
|
534
|
+
Parameters.subscriptionId,
|
|
535
|
+
Parameters.resourceGroupName,
|
|
536
|
+
Parameters.hostingEnvironmentName
|
|
537
|
+
],
|
|
538
|
+
headerParameters: [Parameters.accept],
|
|
539
|
+
serializer
|
|
540
|
+
};
|
|
541
|
+
const listRecommendedRulesForHostingEnvironmentOperationSpec = {
|
|
542
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations",
|
|
543
|
+
httpMethod: "GET",
|
|
544
|
+
responses: {
|
|
545
|
+
200: {
|
|
546
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
547
|
+
},
|
|
548
|
+
default: {
|
|
549
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
550
|
+
}
|
|
551
|
+
},
|
|
552
|
+
queryParameters: [
|
|
553
|
+
Parameters.apiVersion,
|
|
554
|
+
Parameters.filter,
|
|
555
|
+
Parameters.featured
|
|
556
|
+
],
|
|
557
|
+
urlParameters: [
|
|
558
|
+
Parameters.$host,
|
|
559
|
+
Parameters.subscriptionId,
|
|
560
|
+
Parameters.resourceGroupName,
|
|
561
|
+
Parameters.hostingEnvironmentName
|
|
562
|
+
],
|
|
563
|
+
headerParameters: [Parameters.accept],
|
|
564
|
+
serializer
|
|
565
|
+
};
|
|
566
|
+
const disableAllForHostingEnvironmentOperationSpec = {
|
|
567
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/disable",
|
|
568
|
+
httpMethod: "POST",
|
|
569
|
+
responses: {
|
|
570
|
+
204: {},
|
|
571
|
+
default: {
|
|
572
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
queryParameters: [Parameters.apiVersion, Parameters.environmentName],
|
|
576
|
+
urlParameters: [
|
|
577
|
+
Parameters.$host,
|
|
578
|
+
Parameters.subscriptionId,
|
|
579
|
+
Parameters.resourceGroupName,
|
|
580
|
+
Parameters.hostingEnvironmentName
|
|
581
|
+
],
|
|
582
|
+
headerParameters: [Parameters.accept],
|
|
583
|
+
serializer
|
|
584
|
+
};
|
|
585
|
+
const resetAllFiltersForHostingEnvironmentOperationSpec = {
|
|
586
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/reset",
|
|
587
|
+
httpMethod: "POST",
|
|
588
|
+
responses: {
|
|
589
|
+
204: {},
|
|
590
|
+
default: {
|
|
591
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
queryParameters: [Parameters.apiVersion, Parameters.environmentName],
|
|
595
|
+
urlParameters: [
|
|
596
|
+
Parameters.$host,
|
|
597
|
+
Parameters.subscriptionId,
|
|
598
|
+
Parameters.resourceGroupName,
|
|
599
|
+
Parameters.hostingEnvironmentName
|
|
600
|
+
],
|
|
601
|
+
headerParameters: [Parameters.accept],
|
|
602
|
+
serializer
|
|
603
|
+
};
|
|
604
|
+
const getRuleDetailsByHostingEnvironmentOperationSpec = {
|
|
605
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}",
|
|
606
|
+
httpMethod: "GET",
|
|
607
|
+
responses: {
|
|
608
|
+
200: {
|
|
609
|
+
bodyMapper: Mappers.RecommendationRule
|
|
610
|
+
},
|
|
611
|
+
default: {
|
|
612
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
613
|
+
}
|
|
614
|
+
},
|
|
615
|
+
queryParameters: [
|
|
616
|
+
Parameters.apiVersion,
|
|
617
|
+
Parameters.updateSeen,
|
|
618
|
+
Parameters.recommendationId
|
|
619
|
+
],
|
|
620
|
+
urlParameters: [
|
|
621
|
+
Parameters.$host,
|
|
622
|
+
Parameters.subscriptionId,
|
|
623
|
+
Parameters.resourceGroupName,
|
|
624
|
+
Parameters.name,
|
|
625
|
+
Parameters.hostingEnvironmentName
|
|
626
|
+
],
|
|
627
|
+
headerParameters: [Parameters.accept],
|
|
628
|
+
serializer
|
|
629
|
+
};
|
|
630
|
+
const disableRecommendationForHostingEnvironmentOperationSpec = {
|
|
631
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}/disable",
|
|
632
|
+
httpMethod: "POST",
|
|
633
|
+
responses: {
|
|
634
|
+
200: {},
|
|
635
|
+
default: {
|
|
636
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
queryParameters: [Parameters.apiVersion, Parameters.environmentName],
|
|
640
|
+
urlParameters: [
|
|
641
|
+
Parameters.$host,
|
|
642
|
+
Parameters.subscriptionId,
|
|
643
|
+
Parameters.resourceGroupName,
|
|
644
|
+
Parameters.name,
|
|
645
|
+
Parameters.hostingEnvironmentName
|
|
646
|
+
],
|
|
647
|
+
headerParameters: [Parameters.accept],
|
|
648
|
+
serializer
|
|
649
|
+
};
|
|
650
|
+
const listHistoryForWebAppOperationSpec = {
|
|
651
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendationHistory",
|
|
652
|
+
httpMethod: "GET",
|
|
653
|
+
responses: {
|
|
654
|
+
200: {
|
|
655
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
656
|
+
},
|
|
657
|
+
default: {
|
|
658
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
queryParameters: [
|
|
662
|
+
Parameters.apiVersion,
|
|
663
|
+
Parameters.filter,
|
|
664
|
+
Parameters.expiredOnly
|
|
665
|
+
],
|
|
666
|
+
urlParameters: [
|
|
667
|
+
Parameters.$host,
|
|
668
|
+
Parameters.subscriptionId,
|
|
669
|
+
Parameters.resourceGroupName,
|
|
670
|
+
Parameters.siteName
|
|
671
|
+
],
|
|
672
|
+
headerParameters: [Parameters.accept],
|
|
673
|
+
serializer
|
|
674
|
+
};
|
|
675
|
+
const listRecommendedRulesForWebAppOperationSpec = {
|
|
676
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations",
|
|
677
|
+
httpMethod: "GET",
|
|
678
|
+
responses: {
|
|
679
|
+
200: {
|
|
680
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
681
|
+
},
|
|
682
|
+
default: {
|
|
683
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
queryParameters: [
|
|
687
|
+
Parameters.apiVersion,
|
|
688
|
+
Parameters.filter,
|
|
689
|
+
Parameters.featured
|
|
690
|
+
],
|
|
691
|
+
urlParameters: [
|
|
692
|
+
Parameters.$host,
|
|
693
|
+
Parameters.subscriptionId,
|
|
694
|
+
Parameters.resourceGroupName,
|
|
695
|
+
Parameters.siteName
|
|
696
|
+
],
|
|
697
|
+
headerParameters: [Parameters.accept],
|
|
698
|
+
serializer
|
|
699
|
+
};
|
|
700
|
+
const disableAllForWebAppOperationSpec = {
|
|
701
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/disable",
|
|
702
|
+
httpMethod: "POST",
|
|
703
|
+
responses: {
|
|
704
|
+
204: {},
|
|
705
|
+
default: {
|
|
706
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
707
|
+
}
|
|
708
|
+
},
|
|
709
|
+
queryParameters: [Parameters.apiVersion],
|
|
710
|
+
urlParameters: [
|
|
711
|
+
Parameters.$host,
|
|
712
|
+
Parameters.subscriptionId,
|
|
713
|
+
Parameters.resourceGroupName,
|
|
714
|
+
Parameters.siteName
|
|
715
|
+
],
|
|
716
|
+
headerParameters: [Parameters.accept],
|
|
717
|
+
serializer
|
|
718
|
+
};
|
|
719
|
+
const resetAllFiltersForWebAppOperationSpec = {
|
|
720
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/reset",
|
|
721
|
+
httpMethod: "POST",
|
|
722
|
+
responses: {
|
|
723
|
+
204: {},
|
|
724
|
+
default: {
|
|
725
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
726
|
+
}
|
|
727
|
+
},
|
|
728
|
+
queryParameters: [Parameters.apiVersion],
|
|
729
|
+
urlParameters: [
|
|
730
|
+
Parameters.$host,
|
|
731
|
+
Parameters.subscriptionId,
|
|
732
|
+
Parameters.resourceGroupName,
|
|
733
|
+
Parameters.siteName
|
|
734
|
+
],
|
|
735
|
+
headerParameters: [Parameters.accept],
|
|
736
|
+
serializer
|
|
737
|
+
};
|
|
738
|
+
const getRuleDetailsByWebAppOperationSpec = {
|
|
739
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}",
|
|
740
|
+
httpMethod: "GET",
|
|
741
|
+
responses: {
|
|
742
|
+
200: {
|
|
743
|
+
bodyMapper: Mappers.RecommendationRule
|
|
744
|
+
},
|
|
745
|
+
default: {
|
|
746
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
queryParameters: [
|
|
750
|
+
Parameters.apiVersion,
|
|
751
|
+
Parameters.updateSeen,
|
|
752
|
+
Parameters.recommendationId
|
|
753
|
+
],
|
|
754
|
+
urlParameters: [
|
|
755
|
+
Parameters.$host,
|
|
756
|
+
Parameters.subscriptionId,
|
|
757
|
+
Parameters.resourceGroupName,
|
|
758
|
+
Parameters.name,
|
|
759
|
+
Parameters.siteName
|
|
760
|
+
],
|
|
761
|
+
headerParameters: [Parameters.accept],
|
|
762
|
+
serializer
|
|
763
|
+
};
|
|
764
|
+
const disableRecommendationForSiteOperationSpec = {
|
|
765
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations/{name}/disable",
|
|
766
|
+
httpMethod: "POST",
|
|
767
|
+
responses: {
|
|
768
|
+
200: {},
|
|
769
|
+
default: {
|
|
770
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
queryParameters: [Parameters.apiVersion],
|
|
774
|
+
urlParameters: [
|
|
775
|
+
Parameters.$host,
|
|
776
|
+
Parameters.subscriptionId,
|
|
777
|
+
Parameters.resourceGroupName,
|
|
778
|
+
Parameters.name,
|
|
779
|
+
Parameters.siteName
|
|
780
|
+
],
|
|
781
|
+
headerParameters: [Parameters.accept],
|
|
782
|
+
serializer
|
|
783
|
+
};
|
|
784
|
+
const listNextOperationSpec = {
|
|
785
|
+
path: "{nextLink}",
|
|
786
|
+
httpMethod: "GET",
|
|
787
|
+
responses: {
|
|
788
|
+
200: {
|
|
789
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
790
|
+
},
|
|
791
|
+
default: {
|
|
792
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
queryParameters: [
|
|
796
|
+
Parameters.apiVersion,
|
|
797
|
+
Parameters.filter,
|
|
798
|
+
Parameters.featured
|
|
799
|
+
],
|
|
800
|
+
urlParameters: [
|
|
801
|
+
Parameters.$host,
|
|
802
|
+
Parameters.subscriptionId,
|
|
803
|
+
Parameters.nextLink
|
|
804
|
+
],
|
|
805
|
+
headerParameters: [Parameters.accept],
|
|
806
|
+
serializer
|
|
807
|
+
};
|
|
808
|
+
const listHistoryForHostingEnvironmentNextOperationSpec = {
|
|
809
|
+
path: "{nextLink}",
|
|
810
|
+
httpMethod: "GET",
|
|
811
|
+
responses: {
|
|
812
|
+
200: {
|
|
813
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
814
|
+
},
|
|
815
|
+
default: {
|
|
816
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
queryParameters: [
|
|
820
|
+
Parameters.apiVersion,
|
|
821
|
+
Parameters.filter,
|
|
822
|
+
Parameters.expiredOnly
|
|
823
|
+
],
|
|
824
|
+
urlParameters: [
|
|
825
|
+
Parameters.$host,
|
|
826
|
+
Parameters.subscriptionId,
|
|
827
|
+
Parameters.resourceGroupName,
|
|
828
|
+
Parameters.nextLink,
|
|
829
|
+
Parameters.hostingEnvironmentName
|
|
830
|
+
],
|
|
831
|
+
headerParameters: [Parameters.accept],
|
|
832
|
+
serializer
|
|
833
|
+
};
|
|
834
|
+
const listRecommendedRulesForHostingEnvironmentNextOperationSpec = {
|
|
835
|
+
path: "{nextLink}",
|
|
836
|
+
httpMethod: "GET",
|
|
837
|
+
responses: {
|
|
838
|
+
200: {
|
|
839
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
840
|
+
},
|
|
841
|
+
default: {
|
|
842
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
queryParameters: [
|
|
846
|
+
Parameters.apiVersion,
|
|
847
|
+
Parameters.filter,
|
|
848
|
+
Parameters.featured
|
|
849
|
+
],
|
|
850
|
+
urlParameters: [
|
|
851
|
+
Parameters.$host,
|
|
852
|
+
Parameters.subscriptionId,
|
|
853
|
+
Parameters.resourceGroupName,
|
|
854
|
+
Parameters.nextLink,
|
|
855
|
+
Parameters.hostingEnvironmentName
|
|
856
|
+
],
|
|
857
|
+
headerParameters: [Parameters.accept],
|
|
858
|
+
serializer
|
|
859
|
+
};
|
|
860
|
+
const listHistoryForWebAppNextOperationSpec = {
|
|
861
|
+
path: "{nextLink}",
|
|
862
|
+
httpMethod: "GET",
|
|
863
|
+
responses: {
|
|
864
|
+
200: {
|
|
865
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
866
|
+
},
|
|
867
|
+
default: {
|
|
868
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
869
|
+
}
|
|
870
|
+
},
|
|
871
|
+
queryParameters: [
|
|
872
|
+
Parameters.apiVersion,
|
|
873
|
+
Parameters.filter,
|
|
874
|
+
Parameters.expiredOnly
|
|
875
|
+
],
|
|
876
|
+
urlParameters: [
|
|
877
|
+
Parameters.$host,
|
|
878
|
+
Parameters.subscriptionId,
|
|
879
|
+
Parameters.resourceGroupName,
|
|
880
|
+
Parameters.nextLink,
|
|
881
|
+
Parameters.siteName
|
|
882
|
+
],
|
|
883
|
+
headerParameters: [Parameters.accept],
|
|
884
|
+
serializer
|
|
885
|
+
};
|
|
886
|
+
const listRecommendedRulesForWebAppNextOperationSpec = {
|
|
887
|
+
path: "{nextLink}",
|
|
888
|
+
httpMethod: "GET",
|
|
889
|
+
responses: {
|
|
890
|
+
200: {
|
|
891
|
+
bodyMapper: Mappers.RecommendationCollection
|
|
892
|
+
},
|
|
893
|
+
default: {
|
|
894
|
+
bodyMapper: Mappers.DefaultErrorResponse
|
|
895
|
+
}
|
|
896
|
+
},
|
|
897
|
+
queryParameters: [
|
|
898
|
+
Parameters.apiVersion,
|
|
899
|
+
Parameters.filter,
|
|
900
|
+
Parameters.featured
|
|
901
|
+
],
|
|
902
|
+
urlParameters: [
|
|
903
|
+
Parameters.$host,
|
|
904
|
+
Parameters.subscriptionId,
|
|
905
|
+
Parameters.resourceGroupName,
|
|
906
|
+
Parameters.nextLink,
|
|
907
|
+
Parameters.siteName
|
|
908
|
+
],
|
|
909
|
+
headerParameters: [Parameters.accept],
|
|
910
|
+
serializer
|
|
911
|
+
};
|
|
912
|
+
//# sourceMappingURL=recommendations.js.map
|