@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.
Files changed (238) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/LICENSE +21 -0
  3. package/README.md +96 -0
  4. package/dist/index.js +59024 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/index.d.ts +6 -0
  9. package/dist-esm/index.d.ts.map +1 -0
  10. package/dist-esm/index.js +13 -0
  11. package/dist-esm/index.js.map +1 -0
  12. package/dist-esm/lroImpl.d.ts +16 -0
  13. package/dist-esm/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/lroImpl.js +29 -0
  15. package/dist-esm/lroImpl.js.map +1 -0
  16. package/dist-esm/models/index.d.ts +12050 -0
  17. package/dist-esm/models/index.d.ts.map +1 -0
  18. package/dist-esm/models/index.js +227 -0
  19. package/dist-esm/models/index.js.map +1 -0
  20. package/dist-esm/models/mappers.d.ts +405 -0
  21. package/dist-esm/models/mappers.d.ts.map +1 -0
  22. package/dist-esm/models/mappers.js +19668 -0
  23. package/dist-esm/models/mappers.js.map +1 -0
  24. package/dist-esm/models/parameters.d.ts +183 -0
  25. package/dist-esm/models/parameters.d.ts.map +1 -0
  26. package/dist-esm/models/parameters.js +1382 -0
  27. package/dist-esm/models/parameters.js.map +1 -0
  28. package/dist-esm/operations/appServiceCertificateOrders.d.ts +233 -0
  29. package/dist-esm/operations/appServiceCertificateOrders.d.ts.map +1 -0
  30. package/dist-esm/operations/appServiceCertificateOrders.js +1024 -0
  31. package/dist-esm/operations/appServiceCertificateOrders.js.map +1 -0
  32. package/dist-esm/operations/appServiceEnvironments.d.ts +780 -0
  33. package/dist-esm/operations/appServiceEnvironments.d.ts.map +1 -0
  34. package/dist-esm/operations/appServiceEnvironments.js +3646 -0
  35. package/dist-esm/operations/appServiceEnvironments.js.map +1 -0
  36. package/dist-esm/operations/appServicePlans.d.ts +339 -0
  37. package/dist-esm/operations/appServicePlans.d.ts.map +1 -0
  38. package/dist-esm/operations/appServicePlans.js +1490 -0
  39. package/dist-esm/operations/appServicePlans.js.map +1 -0
  40. package/dist-esm/operations/certificateOrdersDiagnostics.d.ts +48 -0
  41. package/dist-esm/operations/certificateOrdersDiagnostics.d.ts.map +1 -0
  42. package/dist-esm/operations/certificateOrdersDiagnostics.js +176 -0
  43. package/dist-esm/operations/certificateOrdersDiagnostics.js.map +1 -0
  44. package/dist-esm/operations/certificateRegistrationProvider.d.ts +35 -0
  45. package/dist-esm/operations/certificateRegistrationProvider.d.ts.map +1 -0
  46. package/dist-esm/operations/certificateRegistrationProvider.js +123 -0
  47. package/dist-esm/operations/certificateRegistrationProvider.js.map +1 -0
  48. package/dist-esm/operations/certificates.d.ts +84 -0
  49. package/dist-esm/operations/certificates.d.ts.map +1 -0
  50. package/dist-esm/operations/certificates.js +357 -0
  51. package/dist-esm/operations/certificates.js.map +1 -0
  52. package/dist-esm/operations/deletedWebApps.d.ts +61 -0
  53. package/dist-esm/operations/deletedWebApps.d.ts.map +1 -0
  54. package/dist-esm/operations/deletedWebApps.js +262 -0
  55. package/dist-esm/operations/deletedWebApps.js.map +1 -0
  56. package/dist-esm/operations/diagnostics.d.ts +378 -0
  57. package/dist-esm/operations/diagnostics.d.ts.map +1 -0
  58. package/dist-esm/operations/diagnostics.js +1624 -0
  59. package/dist-esm/operations/diagnostics.js.map +1 -0
  60. package/dist-esm/operations/domainRegistrationProvider.d.ts +35 -0
  61. package/dist-esm/operations/domainRegistrationProvider.d.ts.map +1 -0
  62. package/dist-esm/operations/domainRegistrationProvider.js +123 -0
  63. package/dist-esm/operations/domainRegistrationProvider.js.map +1 -0
  64. package/dist-esm/operations/domains.d.ts +193 -0
  65. package/dist-esm/operations/domains.d.ts.map +1 -0
  66. package/dist-esm/operations/domains.js +856 -0
  67. package/dist-esm/operations/domains.js.map +1 -0
  68. package/dist-esm/operations/global.d.ts +32 -0
  69. package/dist-esm/operations/global.d.ts.map +1 -0
  70. package/dist-esm/operations/global.js +112 -0
  71. package/dist-esm/operations/global.js.map +1 -0
  72. package/dist-esm/operations/index.d.ts +19 -0
  73. package/dist-esm/operations/index.d.ts.map +1 -0
  74. package/dist-esm/operations/index.js +26 -0
  75. package/dist-esm/operations/index.js.map +1 -0
  76. package/dist-esm/operations/kubeEnvironments.d.ts +100 -0
  77. package/dist-esm/operations/kubeEnvironments.d.ts.map +1 -0
  78. package/dist-esm/operations/kubeEnvironments.js +454 -0
  79. package/dist-esm/operations/kubeEnvironments.js.map +1 -0
  80. package/dist-esm/operations/provider.d.ts +152 -0
  81. package/dist-esm/operations/provider.d.ts.map +1 -0
  82. package/dist-esm/operations/provider.js +706 -0
  83. package/dist-esm/operations/provider.js.map +1 -0
  84. package/dist-esm/operations/recommendations.d.ts +206 -0
  85. package/dist-esm/operations/recommendations.d.ts.map +1 -0
  86. package/dist-esm/operations/recommendations.js +912 -0
  87. package/dist-esm/operations/recommendations.js.map +1 -0
  88. package/dist-esm/operations/resourceHealthMetadataOperations.d.ts +126 -0
  89. package/dist-esm/operations/resourceHealthMetadataOperations.d.ts.map +1 -0
  90. package/dist-esm/operations/resourceHealthMetadataOperations.js +529 -0
  91. package/dist-esm/operations/resourceHealthMetadataOperations.js.map +1 -0
  92. package/dist-esm/operations/staticSites.d.ts +702 -0
  93. package/dist-esm/operations/staticSites.d.ts.map +1 -0
  94. package/dist-esm/operations/staticSites.js +3069 -0
  95. package/dist-esm/operations/staticSites.js.map +1 -0
  96. package/dist-esm/operations/topLevelDomains.d.ts +63 -0
  97. package/dist-esm/operations/topLevelDomains.d.ts.map +1 -0
  98. package/dist-esm/operations/topLevelDomains.js +258 -0
  99. package/dist-esm/operations/topLevelDomains.js.map +1 -0
  100. package/dist-esm/operations/webApps.d.ts +5070 -0
  101. package/dist-esm/operations/webApps.d.ts.map +1 -0
  102. package/dist-esm/operations/webApps.js +20820 -0
  103. package/dist-esm/operations/webApps.js.map +1 -0
  104. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts +180 -0
  105. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.d.ts.map +1 -0
  106. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js +9 -0
  107. package/dist-esm/operationsInterfaces/appServiceCertificateOrders.js.map +1 -0
  108. package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts +380 -0
  109. package/dist-esm/operationsInterfaces/appServiceEnvironments.d.ts.map +1 -0
  110. package/dist-esm/operationsInterfaces/appServiceEnvironments.js +9 -0
  111. package/dist-esm/operationsInterfaces/appServiceEnvironments.js.map +1 -0
  112. package/dist-esm/operationsInterfaces/appServicePlans.d.ts +230 -0
  113. package/dist-esm/operationsInterfaces/appServicePlans.d.ts.map +1 -0
  114. package/dist-esm/operationsInterfaces/appServicePlans.js +9 -0
  115. package/dist-esm/operationsInterfaces/appServicePlans.js.map +1 -0
  116. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts +22 -0
  117. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.d.ts.map +1 -0
  118. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js +9 -0
  119. package/dist-esm/operationsInterfaces/certificateOrdersDiagnostics.js.map +1 -0
  120. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts +13 -0
  121. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.d.ts.map +1 -0
  122. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js +9 -0
  123. package/dist-esm/operationsInterfaces/certificateRegistrationProvider.js.map +1 -0
  124. package/dist-esm/operationsInterfaces/certificates.d.ts +48 -0
  125. package/dist-esm/operationsInterfaces/certificates.d.ts.map +1 -0
  126. package/dist-esm/operationsInterfaces/certificates.js +9 -0
  127. package/dist-esm/operationsInterfaces/certificates.js.map +1 -0
  128. package/dist-esm/operationsInterfaces/deletedWebApps.d.ts +25 -0
  129. package/dist-esm/operationsInterfaces/deletedWebApps.d.ts.map +1 -0
  130. package/dist-esm/operationsInterfaces/deletedWebApps.js +9 -0
  131. package/dist-esm/operationsInterfaces/deletedWebApps.js.map +1 -0
  132. package/dist-esm/operationsInterfaces/diagnostics.d.ts +196 -0
  133. package/dist-esm/operationsInterfaces/diagnostics.d.ts.map +1 -0
  134. package/dist-esm/operationsInterfaces/diagnostics.js +9 -0
  135. package/dist-esm/operationsInterfaces/diagnostics.js.map +1 -0
  136. package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts +13 -0
  137. package/dist-esm/operationsInterfaces/domainRegistrationProvider.d.ts.map +1 -0
  138. package/dist-esm/operationsInterfaces/domainRegistrationProvider.js +9 -0
  139. package/dist-esm/operationsInterfaces/domainRegistrationProvider.js.map +1 -0
  140. package/dist-esm/operationsInterfaces/domains.d.ts +124 -0
  141. package/dist-esm/operationsInterfaces/domains.d.ts.map +1 -0
  142. package/dist-esm/operationsInterfaces/domains.js +9 -0
  143. package/dist-esm/operationsInterfaces/domains.js.map +1 -0
  144. package/dist-esm/operationsInterfaces/global.d.ts +24 -0
  145. package/dist-esm/operationsInterfaces/global.d.ts.map +1 -0
  146. package/dist-esm/operationsInterfaces/global.js +9 -0
  147. package/dist-esm/operationsInterfaces/global.js.map +1 -0
  148. package/dist-esm/operationsInterfaces/index.d.ts +19 -0
  149. package/dist-esm/operationsInterfaces/index.d.ts.map +1 -0
  150. package/dist-esm/operationsInterfaces/index.js +26 -0
  151. package/dist-esm/operationsInterfaces/index.js.map +1 -0
  152. package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts +64 -0
  153. package/dist-esm/operationsInterfaces/kubeEnvironments.d.ts.map +1 -0
  154. package/dist-esm/operationsInterfaces/kubeEnvironments.js +9 -0
  155. package/dist-esm/operationsInterfaces/kubeEnvironments.js.map +1 -0
  156. package/dist-esm/operationsInterfaces/provider.d.ts +45 -0
  157. package/dist-esm/operationsInterfaces/provider.d.ts.map +1 -0
  158. package/dist-esm/operationsInterfaces/provider.js +9 -0
  159. package/dist-esm/operationsInterfaces/provider.js.map +1 -0
  160. package/dist-esm/operationsInterfaces/recommendations.d.ts +114 -0
  161. package/dist-esm/operationsInterfaces/recommendations.d.ts.map +1 -0
  162. package/dist-esm/operationsInterfaces/recommendations.js +9 -0
  163. package/dist-esm/operationsInterfaces/recommendations.js.map +1 -0
  164. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts +51 -0
  165. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.d.ts.map +1 -0
  166. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js +9 -0
  167. package/dist-esm/operationsInterfaces/resourceHealthMetadataOperations.js.map +1 -0
  168. package/dist-esm/operationsInterfaces/staticSites.d.ts +516 -0
  169. package/dist-esm/operationsInterfaces/staticSites.d.ts.map +1 -0
  170. package/dist-esm/operationsInterfaces/staticSites.js +9 -0
  171. package/dist-esm/operationsInterfaces/staticSites.js.map +1 -0
  172. package/dist-esm/operationsInterfaces/topLevelDomains.d.ts +25 -0
  173. package/dist-esm/operationsInterfaces/topLevelDomains.d.ts.map +1 -0
  174. package/dist-esm/operationsInterfaces/topLevelDomains.js +9 -0
  175. package/dist-esm/operationsInterfaces/topLevelDomains.js.map +1 -0
  176. package/dist-esm/operationsInterfaces/webApps.d.ts +3798 -0
  177. package/dist-esm/operationsInterfaces/webApps.d.ts.map +1 -0
  178. package/dist-esm/operationsInterfaces/webApps.js +9 -0
  179. package/dist-esm/operationsInterfaces/webApps.js.map +1 -0
  180. package/dist-esm/webSiteManagementClient.d.ts +205 -0
  181. package/dist-esm/webSiteManagementClient.d.ts.map +1 -0
  182. package/dist-esm/webSiteManagementClient.js +892 -0
  183. package/dist-esm/webSiteManagementClient.js.map +1 -0
  184. package/dist-esm/webSiteManagementClientContext.d.ts +17 -0
  185. package/dist-esm/webSiteManagementClientContext.d.ts.map +1 -0
  186. package/dist-esm/webSiteManagementClientContext.js +50 -0
  187. package/dist-esm/webSiteManagementClientContext.js.map +1 -0
  188. package/package.json +99 -0
  189. package/review/arm-appservice.api.md +10633 -0
  190. package/rollup.config.js +188 -0
  191. package/src/index.ts +13 -0
  192. package/src/lroImpl.ts +34 -0
  193. package/src/models/index.ts +14289 -0
  194. package/src/models/mappers.ts +21388 -0
  195. package/src/models/parameters.ts +1647 -0
  196. package/src/operations/appServiceCertificateOrders.ts +1373 -0
  197. package/src/operations/appServiceEnvironments.ts +5073 -0
  198. package/src/operations/appServicePlans.ts +1987 -0
  199. package/src/operations/certificateOrdersDiagnostics.ts +247 -0
  200. package/src/operations/certificateRegistrationProvider.ts +144 -0
  201. package/src/operations/certificates.ts +444 -0
  202. package/src/operations/deletedWebApps.ts +311 -0
  203. package/src/operations/diagnostics.ts +2273 -0
  204. package/src/operations/domainRegistrationProvider.ts +144 -0
  205. package/src/operations/domains.ts +1122 -0
  206. package/src/operations/global.ts +150 -0
  207. package/src/operations/index.ts +26 -0
  208. package/src/operations/kubeEnvironments.ts +594 -0
  209. package/src/operations/provider.ts +829 -0
  210. package/src/operations/recommendations.ts +1210 -0
  211. package/src/operations/resourceHealthMetadataOperations.ts +679 -0
  212. package/src/operations/staticSites.ts +4336 -0
  213. package/src/operations/topLevelDomains.ts +319 -0
  214. package/src/operations/webApps.ts +28925 -0
  215. package/src/operationsInterfaces/appServiceCertificateOrders.ts +340 -0
  216. package/src/operationsInterfaces/appServiceEnvironments.ts +725 -0
  217. package/src/operationsInterfaces/appServicePlans.ts +433 -0
  218. package/src/operationsInterfaces/certificateOrdersDiagnostics.ts +47 -0
  219. package/src/operationsInterfaces/certificateRegistrationProvider.ts +27 -0
  220. package/src/operationsInterfaces/certificates.ts +92 -0
  221. package/src/operationsInterfaces/deletedWebApps.ts +49 -0
  222. package/src/operationsInterfaces/diagnostics.ts +368 -0
  223. package/src/operationsInterfaces/domainRegistrationProvider.ts +27 -0
  224. package/src/operationsInterfaces/domains.ts +231 -0
  225. package/src/operationsInterfaces/global.ts +48 -0
  226. package/src/operationsInterfaces/index.ts +26 -0
  227. package/src/operationsInterfaces/kubeEnvironments.ts +122 -0
  228. package/src/operationsInterfaces/provider.ts +82 -0
  229. package/src/operationsInterfaces/recommendations.ts +204 -0
  230. package/src/operationsInterfaces/resourceHealthMetadataOperations.ts +93 -0
  231. package/src/operationsInterfaces/staticSites.ts +963 -0
  232. package/src/operationsInterfaces/topLevelDomains.ts +51 -0
  233. package/src/operationsInterfaces/webApps.ts +6889 -0
  234. package/src/webSiteManagementClient.ts +1177 -0
  235. package/src/webSiteManagementClientContext.ts +71 -0
  236. package/tsconfig.json +19 -0
  237. package/types/arm-appservice.d.ts +20041 -0
  238. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1624 @@
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 Diagnostics. */
15
+ export class DiagnosticsImpl {
16
+ /**
17
+ * Initialize a new instance of the class Diagnostics class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Description for List Hosting Environment Detector Responses
25
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
26
+ * @param name Site Name
27
+ * @param options The options parameters.
28
+ */
29
+ listHostingEnvironmentDetectorResponses(resourceGroupName, name, options) {
30
+ const iter = this.listHostingEnvironmentDetectorResponsesPagingAll(resourceGroupName, name, options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: () => {
39
+ return this.listHostingEnvironmentDetectorResponsesPagingPage(resourceGroupName, name, options);
40
+ }
41
+ };
42
+ }
43
+ listHostingEnvironmentDetectorResponsesPagingPage(resourceGroupName, name, options) {
44
+ return __asyncGenerator(this, arguments, function* listHostingEnvironmentDetectorResponsesPagingPage_1() {
45
+ let result = yield __await(this._listHostingEnvironmentDetectorResponses(resourceGroupName, name, options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listHostingEnvironmentDetectorResponsesNext(resourceGroupName, name, continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listHostingEnvironmentDetectorResponsesPagingAll(resourceGroupName, name, options) {
56
+ return __asyncGenerator(this, arguments, function* listHostingEnvironmentDetectorResponsesPagingAll_1() {
57
+ var e_1, _a;
58
+ try {
59
+ for (var _b = __asyncValues(this.listHostingEnvironmentDetectorResponsesPagingPage(resourceGroupName, name, 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 List Site Detector Responses
75
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
76
+ * @param siteName Site Name
77
+ * @param options The options parameters.
78
+ */
79
+ listSiteDetectorResponses(resourceGroupName, siteName, options) {
80
+ const iter = this.listSiteDetectorResponsesPagingAll(resourceGroupName, siteName, options);
81
+ return {
82
+ next() {
83
+ return iter.next();
84
+ },
85
+ [Symbol.asyncIterator]() {
86
+ return this;
87
+ },
88
+ byPage: () => {
89
+ return this.listSiteDetectorResponsesPagingPage(resourceGroupName, siteName, options);
90
+ }
91
+ };
92
+ }
93
+ listSiteDetectorResponsesPagingPage(resourceGroupName, siteName, options) {
94
+ return __asyncGenerator(this, arguments, function* listSiteDetectorResponsesPagingPage_1() {
95
+ let result = yield __await(this._listSiteDetectorResponses(resourceGroupName, siteName, options));
96
+ yield yield __await(result.value || []);
97
+ let continuationToken = result.nextLink;
98
+ while (continuationToken) {
99
+ result = yield __await(this._listSiteDetectorResponsesNext(resourceGroupName, siteName, continuationToken, options));
100
+ continuationToken = result.nextLink;
101
+ yield yield __await(result.value || []);
102
+ }
103
+ });
104
+ }
105
+ listSiteDetectorResponsesPagingAll(resourceGroupName, siteName, options) {
106
+ return __asyncGenerator(this, arguments, function* listSiteDetectorResponsesPagingAll_1() {
107
+ var e_2, _a;
108
+ try {
109
+ for (var _b = __asyncValues(this.listSiteDetectorResponsesPagingPage(resourceGroupName, siteName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
110
+ const page = _c.value;
111
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
112
+ }
113
+ }
114
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
115
+ finally {
116
+ try {
117
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
118
+ }
119
+ finally { if (e_2) throw e_2.error; }
120
+ }
121
+ });
122
+ }
123
+ /**
124
+ * Description for Get Diagnostics Categories
125
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
126
+ * @param siteName Site Name
127
+ * @param options The options parameters.
128
+ */
129
+ listSiteDiagnosticCategories(resourceGroupName, siteName, options) {
130
+ const iter = this.listSiteDiagnosticCategoriesPagingAll(resourceGroupName, siteName, options);
131
+ return {
132
+ next() {
133
+ return iter.next();
134
+ },
135
+ [Symbol.asyncIterator]() {
136
+ return this;
137
+ },
138
+ byPage: () => {
139
+ return this.listSiteDiagnosticCategoriesPagingPage(resourceGroupName, siteName, options);
140
+ }
141
+ };
142
+ }
143
+ listSiteDiagnosticCategoriesPagingPage(resourceGroupName, siteName, options) {
144
+ return __asyncGenerator(this, arguments, function* listSiteDiagnosticCategoriesPagingPage_1() {
145
+ let result = yield __await(this._listSiteDiagnosticCategories(resourceGroupName, siteName, options));
146
+ yield yield __await(result.value || []);
147
+ let continuationToken = result.nextLink;
148
+ while (continuationToken) {
149
+ result = yield __await(this._listSiteDiagnosticCategoriesNext(resourceGroupName, siteName, continuationToken, options));
150
+ continuationToken = result.nextLink;
151
+ yield yield __await(result.value || []);
152
+ }
153
+ });
154
+ }
155
+ listSiteDiagnosticCategoriesPagingAll(resourceGroupName, siteName, options) {
156
+ return __asyncGenerator(this, arguments, function* listSiteDiagnosticCategoriesPagingAll_1() {
157
+ var e_3, _a;
158
+ try {
159
+ for (var _b = __asyncValues(this.listSiteDiagnosticCategoriesPagingPage(resourceGroupName, siteName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
160
+ const page = _c.value;
161
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
162
+ }
163
+ }
164
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
165
+ finally {
166
+ try {
167
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
168
+ }
169
+ finally { if (e_3) throw e_3.error; }
170
+ }
171
+ });
172
+ }
173
+ /**
174
+ * Description for Get Site Analyses
175
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
176
+ * @param siteName Site Name
177
+ * @param diagnosticCategory Diagnostic Category
178
+ * @param options The options parameters.
179
+ */
180
+ listSiteAnalyses(resourceGroupName, siteName, diagnosticCategory, options) {
181
+ const iter = this.listSiteAnalysesPagingAll(resourceGroupName, siteName, diagnosticCategory, options);
182
+ return {
183
+ next() {
184
+ return iter.next();
185
+ },
186
+ [Symbol.asyncIterator]() {
187
+ return this;
188
+ },
189
+ byPage: () => {
190
+ return this.listSiteAnalysesPagingPage(resourceGroupName, siteName, diagnosticCategory, options);
191
+ }
192
+ };
193
+ }
194
+ listSiteAnalysesPagingPage(resourceGroupName, siteName, diagnosticCategory, options) {
195
+ return __asyncGenerator(this, arguments, function* listSiteAnalysesPagingPage_1() {
196
+ let result = yield __await(this._listSiteAnalyses(resourceGroupName, siteName, diagnosticCategory, options));
197
+ yield yield __await(result.value || []);
198
+ let continuationToken = result.nextLink;
199
+ while (continuationToken) {
200
+ result = yield __await(this._listSiteAnalysesNext(resourceGroupName, siteName, diagnosticCategory, continuationToken, options));
201
+ continuationToken = result.nextLink;
202
+ yield yield __await(result.value || []);
203
+ }
204
+ });
205
+ }
206
+ listSiteAnalysesPagingAll(resourceGroupName, siteName, diagnosticCategory, options) {
207
+ return __asyncGenerator(this, arguments, function* listSiteAnalysesPagingAll_1() {
208
+ var e_4, _a;
209
+ try {
210
+ for (var _b = __asyncValues(this.listSiteAnalysesPagingPage(resourceGroupName, siteName, diagnosticCategory, 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 Detectors
226
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
227
+ * @param siteName Site Name
228
+ * @param diagnosticCategory Diagnostic Category
229
+ * @param options The options parameters.
230
+ */
231
+ listSiteDetectors(resourceGroupName, siteName, diagnosticCategory, options) {
232
+ const iter = this.listSiteDetectorsPagingAll(resourceGroupName, siteName, diagnosticCategory, options);
233
+ return {
234
+ next() {
235
+ return iter.next();
236
+ },
237
+ [Symbol.asyncIterator]() {
238
+ return this;
239
+ },
240
+ byPage: () => {
241
+ return this.listSiteDetectorsPagingPage(resourceGroupName, siteName, diagnosticCategory, options);
242
+ }
243
+ };
244
+ }
245
+ listSiteDetectorsPagingPage(resourceGroupName, siteName, diagnosticCategory, options) {
246
+ return __asyncGenerator(this, arguments, function* listSiteDetectorsPagingPage_1() {
247
+ let result = yield __await(this._listSiteDetectors(resourceGroupName, siteName, diagnosticCategory, options));
248
+ yield yield __await(result.value || []);
249
+ let continuationToken = result.nextLink;
250
+ while (continuationToken) {
251
+ result = yield __await(this._listSiteDetectorsNext(resourceGroupName, siteName, diagnosticCategory, continuationToken, options));
252
+ continuationToken = result.nextLink;
253
+ yield yield __await(result.value || []);
254
+ }
255
+ });
256
+ }
257
+ listSiteDetectorsPagingAll(resourceGroupName, siteName, diagnosticCategory, options) {
258
+ return __asyncGenerator(this, arguments, function* listSiteDetectorsPagingAll_1() {
259
+ var e_5, _a;
260
+ try {
261
+ for (var _b = __asyncValues(this.listSiteDetectorsPagingPage(resourceGroupName, siteName, diagnosticCategory, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
262
+ const page = _c.value;
263
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
264
+ }
265
+ }
266
+ catch (e_5_1) { e_5 = { error: e_5_1 }; }
267
+ finally {
268
+ try {
269
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
270
+ }
271
+ finally { if (e_5) throw e_5.error; }
272
+ }
273
+ });
274
+ }
275
+ /**
276
+ * Description for List Site Detector Responses
277
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
278
+ * @param siteName Site Name
279
+ * @param slot Slot Name
280
+ * @param options The options parameters.
281
+ */
282
+ listSiteDetectorResponsesSlot(resourceGroupName, siteName, slot, options) {
283
+ const iter = this.listSiteDetectorResponsesSlotPagingAll(resourceGroupName, siteName, slot, options);
284
+ return {
285
+ next() {
286
+ return iter.next();
287
+ },
288
+ [Symbol.asyncIterator]() {
289
+ return this;
290
+ },
291
+ byPage: () => {
292
+ return this.listSiteDetectorResponsesSlotPagingPage(resourceGroupName, siteName, slot, options);
293
+ }
294
+ };
295
+ }
296
+ listSiteDetectorResponsesSlotPagingPage(resourceGroupName, siteName, slot, options) {
297
+ return __asyncGenerator(this, arguments, function* listSiteDetectorResponsesSlotPagingPage_1() {
298
+ let result = yield __await(this._listSiteDetectorResponsesSlot(resourceGroupName, siteName, slot, options));
299
+ yield yield __await(result.value || []);
300
+ let continuationToken = result.nextLink;
301
+ while (continuationToken) {
302
+ result = yield __await(this._listSiteDetectorResponsesSlotNext(resourceGroupName, siteName, slot, continuationToken, options));
303
+ continuationToken = result.nextLink;
304
+ yield yield __await(result.value || []);
305
+ }
306
+ });
307
+ }
308
+ listSiteDetectorResponsesSlotPagingAll(resourceGroupName, siteName, slot, options) {
309
+ return __asyncGenerator(this, arguments, function* listSiteDetectorResponsesSlotPagingAll_1() {
310
+ var e_6, _a;
311
+ try {
312
+ for (var _b = __asyncValues(this.listSiteDetectorResponsesSlotPagingPage(resourceGroupName, siteName, slot, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
313
+ const page = _c.value;
314
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
315
+ }
316
+ }
317
+ catch (e_6_1) { e_6 = { error: e_6_1 }; }
318
+ finally {
319
+ try {
320
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
321
+ }
322
+ finally { if (e_6) throw e_6.error; }
323
+ }
324
+ });
325
+ }
326
+ /**
327
+ * Description for Get Diagnostics Categories
328
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
329
+ * @param siteName Site Name
330
+ * @param slot Slot Name
331
+ * @param options The options parameters.
332
+ */
333
+ listSiteDiagnosticCategoriesSlot(resourceGroupName, siteName, slot, options) {
334
+ const iter = this.listSiteDiagnosticCategoriesSlotPagingAll(resourceGroupName, siteName, slot, options);
335
+ return {
336
+ next() {
337
+ return iter.next();
338
+ },
339
+ [Symbol.asyncIterator]() {
340
+ return this;
341
+ },
342
+ byPage: () => {
343
+ return this.listSiteDiagnosticCategoriesSlotPagingPage(resourceGroupName, siteName, slot, options);
344
+ }
345
+ };
346
+ }
347
+ listSiteDiagnosticCategoriesSlotPagingPage(resourceGroupName, siteName, slot, options) {
348
+ return __asyncGenerator(this, arguments, function* listSiteDiagnosticCategoriesSlotPagingPage_1() {
349
+ let result = yield __await(this._listSiteDiagnosticCategoriesSlot(resourceGroupName, siteName, slot, options));
350
+ yield yield __await(result.value || []);
351
+ let continuationToken = result.nextLink;
352
+ while (continuationToken) {
353
+ result = yield __await(this._listSiteDiagnosticCategoriesSlotNext(resourceGroupName, siteName, slot, continuationToken, options));
354
+ continuationToken = result.nextLink;
355
+ yield yield __await(result.value || []);
356
+ }
357
+ });
358
+ }
359
+ listSiteDiagnosticCategoriesSlotPagingAll(resourceGroupName, siteName, slot, options) {
360
+ return __asyncGenerator(this, arguments, function* listSiteDiagnosticCategoriesSlotPagingAll_1() {
361
+ var e_7, _a;
362
+ try {
363
+ for (var _b = __asyncValues(this.listSiteDiagnosticCategoriesSlotPagingPage(resourceGroupName, siteName, slot, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
364
+ const page = _c.value;
365
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
366
+ }
367
+ }
368
+ catch (e_7_1) { e_7 = { error: e_7_1 }; }
369
+ finally {
370
+ try {
371
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
372
+ }
373
+ finally { if (e_7) throw e_7.error; }
374
+ }
375
+ });
376
+ }
377
+ /**
378
+ * Description for Get Site Analyses
379
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
380
+ * @param siteName Site Name
381
+ * @param diagnosticCategory Diagnostic Category
382
+ * @param slot Slot Name
383
+ * @param options The options parameters.
384
+ */
385
+ listSiteAnalysesSlot(resourceGroupName, siteName, diagnosticCategory, slot, options) {
386
+ const iter = this.listSiteAnalysesSlotPagingAll(resourceGroupName, siteName, diagnosticCategory, slot, options);
387
+ return {
388
+ next() {
389
+ return iter.next();
390
+ },
391
+ [Symbol.asyncIterator]() {
392
+ return this;
393
+ },
394
+ byPage: () => {
395
+ return this.listSiteAnalysesSlotPagingPage(resourceGroupName, siteName, diagnosticCategory, slot, options);
396
+ }
397
+ };
398
+ }
399
+ listSiteAnalysesSlotPagingPage(resourceGroupName, siteName, diagnosticCategory, slot, options) {
400
+ return __asyncGenerator(this, arguments, function* listSiteAnalysesSlotPagingPage_1() {
401
+ let result = yield __await(this._listSiteAnalysesSlot(resourceGroupName, siteName, diagnosticCategory, slot, options));
402
+ yield yield __await(result.value || []);
403
+ let continuationToken = result.nextLink;
404
+ while (continuationToken) {
405
+ result = yield __await(this._listSiteAnalysesSlotNext(resourceGroupName, siteName, diagnosticCategory, slot, continuationToken, options));
406
+ continuationToken = result.nextLink;
407
+ yield yield __await(result.value || []);
408
+ }
409
+ });
410
+ }
411
+ listSiteAnalysesSlotPagingAll(resourceGroupName, siteName, diagnosticCategory, slot, options) {
412
+ return __asyncGenerator(this, arguments, function* listSiteAnalysesSlotPagingAll_1() {
413
+ var e_8, _a;
414
+ try {
415
+ for (var _b = __asyncValues(this.listSiteAnalysesSlotPagingPage(resourceGroupName, siteName, diagnosticCategory, slot, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
416
+ const page = _c.value;
417
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
418
+ }
419
+ }
420
+ catch (e_8_1) { e_8 = { error: e_8_1 }; }
421
+ finally {
422
+ try {
423
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
424
+ }
425
+ finally { if (e_8) throw e_8.error; }
426
+ }
427
+ });
428
+ }
429
+ /**
430
+ * Description for Get Detectors
431
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
432
+ * @param siteName Site Name
433
+ * @param diagnosticCategory Diagnostic Category
434
+ * @param slot Slot Name
435
+ * @param options The options parameters.
436
+ */
437
+ listSiteDetectorsSlot(resourceGroupName, siteName, diagnosticCategory, slot, options) {
438
+ const iter = this.listSiteDetectorsSlotPagingAll(resourceGroupName, siteName, diagnosticCategory, slot, options);
439
+ return {
440
+ next() {
441
+ return iter.next();
442
+ },
443
+ [Symbol.asyncIterator]() {
444
+ return this;
445
+ },
446
+ byPage: () => {
447
+ return this.listSiteDetectorsSlotPagingPage(resourceGroupName, siteName, diagnosticCategory, slot, options);
448
+ }
449
+ };
450
+ }
451
+ listSiteDetectorsSlotPagingPage(resourceGroupName, siteName, diagnosticCategory, slot, options) {
452
+ return __asyncGenerator(this, arguments, function* listSiteDetectorsSlotPagingPage_1() {
453
+ let result = yield __await(this._listSiteDetectorsSlot(resourceGroupName, siteName, diagnosticCategory, slot, options));
454
+ yield yield __await(result.value || []);
455
+ let continuationToken = result.nextLink;
456
+ while (continuationToken) {
457
+ result = yield __await(this._listSiteDetectorsSlotNext(resourceGroupName, siteName, diagnosticCategory, slot, continuationToken, options));
458
+ continuationToken = result.nextLink;
459
+ yield yield __await(result.value || []);
460
+ }
461
+ });
462
+ }
463
+ listSiteDetectorsSlotPagingAll(resourceGroupName, siteName, diagnosticCategory, slot, options) {
464
+ return __asyncGenerator(this, arguments, function* listSiteDetectorsSlotPagingAll_1() {
465
+ var e_9, _a;
466
+ try {
467
+ for (var _b = __asyncValues(this.listSiteDetectorsSlotPagingPage(resourceGroupName, siteName, diagnosticCategory, slot, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
468
+ const page = _c.value;
469
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
470
+ }
471
+ }
472
+ catch (e_9_1) { e_9 = { error: e_9_1 }; }
473
+ finally {
474
+ try {
475
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
476
+ }
477
+ finally { if (e_9) throw e_9.error; }
478
+ }
479
+ });
480
+ }
481
+ /**
482
+ * Description for List Hosting Environment Detector Responses
483
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
484
+ * @param name Site Name
485
+ * @param options The options parameters.
486
+ */
487
+ _listHostingEnvironmentDetectorResponses(resourceGroupName, name, options) {
488
+ return this.client.sendOperationRequest({ resourceGroupName, name, options }, listHostingEnvironmentDetectorResponsesOperationSpec);
489
+ }
490
+ /**
491
+ * Description for Get Hosting Environment Detector Response
492
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
493
+ * @param name App Service Environment Name
494
+ * @param detectorName Detector Resource Name
495
+ * @param options The options parameters.
496
+ */
497
+ getHostingEnvironmentDetectorResponse(resourceGroupName, name, detectorName, options) {
498
+ return this.client.sendOperationRequest({ resourceGroupName, name, detectorName, options }, getHostingEnvironmentDetectorResponseOperationSpec);
499
+ }
500
+ /**
501
+ * Description for List Site Detector Responses
502
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
503
+ * @param siteName Site Name
504
+ * @param options The options parameters.
505
+ */
506
+ _listSiteDetectorResponses(resourceGroupName, siteName, options) {
507
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listSiteDetectorResponsesOperationSpec);
508
+ }
509
+ /**
510
+ * Description for Get site detector response
511
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
512
+ * @param siteName Site Name
513
+ * @param detectorName Detector Resource Name
514
+ * @param options The options parameters.
515
+ */
516
+ getSiteDetectorResponse(resourceGroupName, siteName, detectorName, options) {
517
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, detectorName, options }, getSiteDetectorResponseOperationSpec);
518
+ }
519
+ /**
520
+ * Description for Get Diagnostics Categories
521
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
522
+ * @param siteName Site Name
523
+ * @param options The options parameters.
524
+ */
525
+ _listSiteDiagnosticCategories(resourceGroupName, siteName, options) {
526
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, options }, listSiteDiagnosticCategoriesOperationSpec);
527
+ }
528
+ /**
529
+ * Description for Get Diagnostics Category
530
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
531
+ * @param siteName Site Name
532
+ * @param diagnosticCategory Diagnostic Category
533
+ * @param options The options parameters.
534
+ */
535
+ getSiteDiagnosticCategory(resourceGroupName, siteName, diagnosticCategory, options) {
536
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, options }, getSiteDiagnosticCategoryOperationSpec);
537
+ }
538
+ /**
539
+ * Description for Get Site Analyses
540
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
541
+ * @param siteName Site Name
542
+ * @param diagnosticCategory Diagnostic Category
543
+ * @param options The options parameters.
544
+ */
545
+ _listSiteAnalyses(resourceGroupName, siteName, diagnosticCategory, options) {
546
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, options }, listSiteAnalysesOperationSpec);
547
+ }
548
+ /**
549
+ * Description for Get Site Analysis
550
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
551
+ * @param siteName Site Name
552
+ * @param diagnosticCategory Diagnostic Category
553
+ * @param analysisName Analysis Name
554
+ * @param options The options parameters.
555
+ */
556
+ getSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, options) {
557
+ return this.client.sendOperationRequest({
558
+ resourceGroupName,
559
+ siteName,
560
+ diagnosticCategory,
561
+ analysisName,
562
+ options
563
+ }, getSiteAnalysisOperationSpec);
564
+ }
565
+ /**
566
+ * Description for Execute Analysis
567
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
568
+ * @param siteName Site Name
569
+ * @param diagnosticCategory Category Name
570
+ * @param analysisName Analysis Resource Name
571
+ * @param options The options parameters.
572
+ */
573
+ executeSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, options) {
574
+ return this.client.sendOperationRequest({
575
+ resourceGroupName,
576
+ siteName,
577
+ diagnosticCategory,
578
+ analysisName,
579
+ options
580
+ }, executeSiteAnalysisOperationSpec);
581
+ }
582
+ /**
583
+ * Description for Get Detectors
584
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
585
+ * @param siteName Site Name
586
+ * @param diagnosticCategory Diagnostic Category
587
+ * @param options The options parameters.
588
+ */
589
+ _listSiteDetectors(resourceGroupName, siteName, diagnosticCategory, options) {
590
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, options }, listSiteDetectorsOperationSpec);
591
+ }
592
+ /**
593
+ * Description for Get Detector
594
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
595
+ * @param siteName Site Name
596
+ * @param diagnosticCategory Diagnostic Category
597
+ * @param detectorName Detector Name
598
+ * @param options The options parameters.
599
+ */
600
+ getSiteDetector(resourceGroupName, siteName, diagnosticCategory, detectorName, options) {
601
+ return this.client.sendOperationRequest({
602
+ resourceGroupName,
603
+ siteName,
604
+ diagnosticCategory,
605
+ detectorName,
606
+ options
607
+ }, getSiteDetectorOperationSpec);
608
+ }
609
+ /**
610
+ * Description for Execute Detector
611
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
612
+ * @param siteName Site Name
613
+ * @param detectorName Detector Resource Name
614
+ * @param diagnosticCategory Category Name
615
+ * @param options The options parameters.
616
+ */
617
+ executeSiteDetector(resourceGroupName, siteName, detectorName, diagnosticCategory, options) {
618
+ return this.client.sendOperationRequest({
619
+ resourceGroupName,
620
+ siteName,
621
+ detectorName,
622
+ diagnosticCategory,
623
+ options
624
+ }, executeSiteDetectorOperationSpec);
625
+ }
626
+ /**
627
+ * Description for List Site Detector Responses
628
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
629
+ * @param siteName Site Name
630
+ * @param slot Slot Name
631
+ * @param options The options parameters.
632
+ */
633
+ _listSiteDetectorResponsesSlot(resourceGroupName, siteName, slot, options) {
634
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, slot, options }, listSiteDetectorResponsesSlotOperationSpec);
635
+ }
636
+ /**
637
+ * Description for Get site detector response
638
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
639
+ * @param siteName Site Name
640
+ * @param detectorName Detector Resource Name
641
+ * @param slot Slot Name
642
+ * @param options The options parameters.
643
+ */
644
+ getSiteDetectorResponseSlot(resourceGroupName, siteName, detectorName, slot, options) {
645
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, detectorName, slot, options }, getSiteDetectorResponseSlotOperationSpec);
646
+ }
647
+ /**
648
+ * Description for Get Diagnostics Categories
649
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
650
+ * @param siteName Site Name
651
+ * @param slot Slot Name
652
+ * @param options The options parameters.
653
+ */
654
+ _listSiteDiagnosticCategoriesSlot(resourceGroupName, siteName, slot, options) {
655
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, slot, options }, listSiteDiagnosticCategoriesSlotOperationSpec);
656
+ }
657
+ /**
658
+ * Description for Get Diagnostics Category
659
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
660
+ * @param siteName Site Name
661
+ * @param diagnosticCategory Diagnostic Category
662
+ * @param slot Slot Name
663
+ * @param options The options parameters.
664
+ */
665
+ getSiteDiagnosticCategorySlot(resourceGroupName, siteName, diagnosticCategory, slot, options) {
666
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, slot, options }, getSiteDiagnosticCategorySlotOperationSpec);
667
+ }
668
+ /**
669
+ * Description for Get Site Analyses
670
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
671
+ * @param siteName Site Name
672
+ * @param diagnosticCategory Diagnostic Category
673
+ * @param slot Slot Name
674
+ * @param options The options parameters.
675
+ */
676
+ _listSiteAnalysesSlot(resourceGroupName, siteName, diagnosticCategory, slot, options) {
677
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, slot, options }, listSiteAnalysesSlotOperationSpec);
678
+ }
679
+ /**
680
+ * Description for Get Site Analysis
681
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
682
+ * @param siteName Site Name
683
+ * @param diagnosticCategory Diagnostic Category
684
+ * @param analysisName Analysis Name
685
+ * @param slot Slot - optional
686
+ * @param options The options parameters.
687
+ */
688
+ getSiteAnalysisSlot(resourceGroupName, siteName, diagnosticCategory, analysisName, slot, options) {
689
+ return this.client.sendOperationRequest({
690
+ resourceGroupName,
691
+ siteName,
692
+ diagnosticCategory,
693
+ analysisName,
694
+ slot,
695
+ options
696
+ }, getSiteAnalysisSlotOperationSpec);
697
+ }
698
+ /**
699
+ * Description for Execute Analysis
700
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
701
+ * @param siteName Site Name
702
+ * @param diagnosticCategory Category Name
703
+ * @param analysisName Analysis Resource Name
704
+ * @param slot Slot Name
705
+ * @param options The options parameters.
706
+ */
707
+ executeSiteAnalysisSlot(resourceGroupName, siteName, diagnosticCategory, analysisName, slot, options) {
708
+ return this.client.sendOperationRequest({
709
+ resourceGroupName,
710
+ siteName,
711
+ diagnosticCategory,
712
+ analysisName,
713
+ slot,
714
+ options
715
+ }, executeSiteAnalysisSlotOperationSpec);
716
+ }
717
+ /**
718
+ * Description for Get Detectors
719
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
720
+ * @param siteName Site Name
721
+ * @param diagnosticCategory Diagnostic Category
722
+ * @param slot Slot Name
723
+ * @param options The options parameters.
724
+ */
725
+ _listSiteDetectorsSlot(resourceGroupName, siteName, diagnosticCategory, slot, options) {
726
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, slot, options }, listSiteDetectorsSlotOperationSpec);
727
+ }
728
+ /**
729
+ * Description for Get Detector
730
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
731
+ * @param siteName Site Name
732
+ * @param diagnosticCategory Diagnostic Category
733
+ * @param detectorName Detector Name
734
+ * @param slot Slot Name
735
+ * @param options The options parameters.
736
+ */
737
+ getSiteDetectorSlot(resourceGroupName, siteName, diagnosticCategory, detectorName, slot, options) {
738
+ return this.client.sendOperationRequest({
739
+ resourceGroupName,
740
+ siteName,
741
+ diagnosticCategory,
742
+ detectorName,
743
+ slot,
744
+ options
745
+ }, getSiteDetectorSlotOperationSpec);
746
+ }
747
+ /**
748
+ * Description for Execute Detector
749
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
750
+ * @param siteName Site Name
751
+ * @param detectorName Detector Resource Name
752
+ * @param diagnosticCategory Category Name
753
+ * @param slot Slot Name
754
+ * @param options The options parameters.
755
+ */
756
+ executeSiteDetectorSlot(resourceGroupName, siteName, detectorName, diagnosticCategory, slot, options) {
757
+ return this.client.sendOperationRequest({
758
+ resourceGroupName,
759
+ siteName,
760
+ detectorName,
761
+ diagnosticCategory,
762
+ slot,
763
+ options
764
+ }, executeSiteDetectorSlotOperationSpec);
765
+ }
766
+ /**
767
+ * ListHostingEnvironmentDetectorResponsesNext
768
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
769
+ * @param name Site Name
770
+ * @param nextLink The nextLink from the previous successful call to the
771
+ * ListHostingEnvironmentDetectorResponses method.
772
+ * @param options The options parameters.
773
+ */
774
+ _listHostingEnvironmentDetectorResponsesNext(resourceGroupName, name, nextLink, options) {
775
+ return this.client.sendOperationRequest({ resourceGroupName, name, nextLink, options }, listHostingEnvironmentDetectorResponsesNextOperationSpec);
776
+ }
777
+ /**
778
+ * ListSiteDetectorResponsesNext
779
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
780
+ * @param siteName Site Name
781
+ * @param nextLink The nextLink from the previous successful call to the ListSiteDetectorResponses
782
+ * method.
783
+ * @param options The options parameters.
784
+ */
785
+ _listSiteDetectorResponsesNext(resourceGroupName, siteName, nextLink, options) {
786
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listSiteDetectorResponsesNextOperationSpec);
787
+ }
788
+ /**
789
+ * ListSiteDiagnosticCategoriesNext
790
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
791
+ * @param siteName Site Name
792
+ * @param nextLink The nextLink from the previous successful call to the ListSiteDiagnosticCategories
793
+ * method.
794
+ * @param options The options parameters.
795
+ */
796
+ _listSiteDiagnosticCategoriesNext(resourceGroupName, siteName, nextLink, options) {
797
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, nextLink, options }, listSiteDiagnosticCategoriesNextOperationSpec);
798
+ }
799
+ /**
800
+ * ListSiteAnalysesNext
801
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
802
+ * @param siteName Site Name
803
+ * @param diagnosticCategory Diagnostic Category
804
+ * @param nextLink The nextLink from the previous successful call to the ListSiteAnalyses method.
805
+ * @param options The options parameters.
806
+ */
807
+ _listSiteAnalysesNext(resourceGroupName, siteName, diagnosticCategory, nextLink, options) {
808
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, nextLink, options }, listSiteAnalysesNextOperationSpec);
809
+ }
810
+ /**
811
+ * ListSiteDetectorsNext
812
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
813
+ * @param siteName Site Name
814
+ * @param diagnosticCategory Diagnostic Category
815
+ * @param nextLink The nextLink from the previous successful call to the ListSiteDetectors method.
816
+ * @param options The options parameters.
817
+ */
818
+ _listSiteDetectorsNext(resourceGroupName, siteName, diagnosticCategory, nextLink, options) {
819
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, diagnosticCategory, nextLink, options }, listSiteDetectorsNextOperationSpec);
820
+ }
821
+ /**
822
+ * ListSiteDetectorResponsesSlotNext
823
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
824
+ * @param siteName Site Name
825
+ * @param slot Slot Name
826
+ * @param nextLink The nextLink from the previous successful call to the ListSiteDetectorResponsesSlot
827
+ * method.
828
+ * @param options The options parameters.
829
+ */
830
+ _listSiteDetectorResponsesSlotNext(resourceGroupName, siteName, slot, nextLink, options) {
831
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, slot, nextLink, options }, listSiteDetectorResponsesSlotNextOperationSpec);
832
+ }
833
+ /**
834
+ * ListSiteDiagnosticCategoriesSlotNext
835
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
836
+ * @param siteName Site Name
837
+ * @param slot Slot Name
838
+ * @param nextLink The nextLink from the previous successful call to the
839
+ * ListSiteDiagnosticCategoriesSlot method.
840
+ * @param options The options parameters.
841
+ */
842
+ _listSiteDiagnosticCategoriesSlotNext(resourceGroupName, siteName, slot, nextLink, options) {
843
+ return this.client.sendOperationRequest({ resourceGroupName, siteName, slot, nextLink, options }, listSiteDiagnosticCategoriesSlotNextOperationSpec);
844
+ }
845
+ /**
846
+ * ListSiteAnalysesSlotNext
847
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
848
+ * @param siteName Site Name
849
+ * @param diagnosticCategory Diagnostic Category
850
+ * @param slot Slot Name
851
+ * @param nextLink The nextLink from the previous successful call to the ListSiteAnalysesSlot method.
852
+ * @param options The options parameters.
853
+ */
854
+ _listSiteAnalysesSlotNext(resourceGroupName, siteName, diagnosticCategory, slot, nextLink, options) {
855
+ return this.client.sendOperationRequest({
856
+ resourceGroupName,
857
+ siteName,
858
+ diagnosticCategory,
859
+ slot,
860
+ nextLink,
861
+ options
862
+ }, listSiteAnalysesSlotNextOperationSpec);
863
+ }
864
+ /**
865
+ * ListSiteDetectorsSlotNext
866
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
867
+ * @param siteName Site Name
868
+ * @param diagnosticCategory Diagnostic Category
869
+ * @param slot Slot Name
870
+ * @param nextLink The nextLink from the previous successful call to the ListSiteDetectorsSlot method.
871
+ * @param options The options parameters.
872
+ */
873
+ _listSiteDetectorsSlotNext(resourceGroupName, siteName, diagnosticCategory, slot, nextLink, options) {
874
+ return this.client.sendOperationRequest({
875
+ resourceGroupName,
876
+ siteName,
877
+ diagnosticCategory,
878
+ slot,
879
+ nextLink,
880
+ options
881
+ }, listSiteDetectorsSlotNextOperationSpec);
882
+ }
883
+ }
884
+ // Operation Specifications
885
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
886
+ const listHostingEnvironmentDetectorResponsesOperationSpec = {
887
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors",
888
+ httpMethod: "GET",
889
+ responses: {
890
+ 200: {
891
+ bodyMapper: Mappers.DetectorResponseCollection
892
+ },
893
+ default: {
894
+ bodyMapper: Mappers.DefaultErrorResponse
895
+ }
896
+ },
897
+ queryParameters: [Parameters.apiVersion],
898
+ urlParameters: [
899
+ Parameters.$host,
900
+ Parameters.subscriptionId,
901
+ Parameters.resourceGroupName,
902
+ Parameters.name
903
+ ],
904
+ headerParameters: [Parameters.accept],
905
+ serializer
906
+ };
907
+ const getHostingEnvironmentDetectorResponseOperationSpec = {
908
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}",
909
+ httpMethod: "GET",
910
+ responses: {
911
+ 200: {
912
+ bodyMapper: Mappers.DetectorResponse
913
+ },
914
+ default: {
915
+ bodyMapper: Mappers.DefaultErrorResponse
916
+ }
917
+ },
918
+ queryParameters: [
919
+ Parameters.apiVersion,
920
+ Parameters.startTime,
921
+ Parameters.endTime,
922
+ Parameters.timeGrain
923
+ ],
924
+ urlParameters: [
925
+ Parameters.$host,
926
+ Parameters.subscriptionId,
927
+ Parameters.resourceGroupName,
928
+ Parameters.name,
929
+ Parameters.detectorName
930
+ ],
931
+ headerParameters: [Parameters.accept],
932
+ serializer
933
+ };
934
+ const listSiteDetectorResponsesOperationSpec = {
935
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors",
936
+ httpMethod: "GET",
937
+ responses: {
938
+ 200: {
939
+ bodyMapper: Mappers.DetectorResponseCollection
940
+ },
941
+ default: {
942
+ bodyMapper: Mappers.DefaultErrorResponse
943
+ }
944
+ },
945
+ queryParameters: [Parameters.apiVersion],
946
+ urlParameters: [
947
+ Parameters.$host,
948
+ Parameters.subscriptionId,
949
+ Parameters.resourceGroupName,
950
+ Parameters.siteName
951
+ ],
952
+ headerParameters: [Parameters.accept],
953
+ serializer
954
+ };
955
+ const getSiteDetectorResponseOperationSpec = {
956
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}",
957
+ httpMethod: "GET",
958
+ responses: {
959
+ 200: {
960
+ bodyMapper: Mappers.DetectorResponse
961
+ },
962
+ default: {
963
+ bodyMapper: Mappers.DefaultErrorResponse
964
+ }
965
+ },
966
+ queryParameters: [
967
+ Parameters.apiVersion,
968
+ Parameters.startTime,
969
+ Parameters.endTime,
970
+ Parameters.timeGrain
971
+ ],
972
+ urlParameters: [
973
+ Parameters.$host,
974
+ Parameters.subscriptionId,
975
+ Parameters.resourceGroupName,
976
+ Parameters.detectorName,
977
+ Parameters.siteName
978
+ ],
979
+ headerParameters: [Parameters.accept],
980
+ serializer
981
+ };
982
+ const listSiteDiagnosticCategoriesOperationSpec = {
983
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics",
984
+ httpMethod: "GET",
985
+ responses: {
986
+ 200: {
987
+ bodyMapper: Mappers.DiagnosticCategoryCollection
988
+ },
989
+ default: {
990
+ bodyMapper: Mappers.DefaultErrorResponse
991
+ }
992
+ },
993
+ queryParameters: [Parameters.apiVersion],
994
+ urlParameters: [
995
+ Parameters.$host,
996
+ Parameters.subscriptionId,
997
+ Parameters.resourceGroupName,
998
+ Parameters.siteName
999
+ ],
1000
+ headerParameters: [Parameters.accept],
1001
+ serializer
1002
+ };
1003
+ const getSiteDiagnosticCategoryOperationSpec = {
1004
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}",
1005
+ httpMethod: "GET",
1006
+ responses: {
1007
+ 200: {
1008
+ bodyMapper: Mappers.DiagnosticCategory
1009
+ },
1010
+ default: {
1011
+ bodyMapper: Mappers.DefaultErrorResponse
1012
+ }
1013
+ },
1014
+ queryParameters: [Parameters.apiVersion],
1015
+ urlParameters: [
1016
+ Parameters.$host,
1017
+ Parameters.subscriptionId,
1018
+ Parameters.resourceGroupName,
1019
+ Parameters.siteName,
1020
+ Parameters.diagnosticCategory
1021
+ ],
1022
+ headerParameters: [Parameters.accept],
1023
+ serializer
1024
+ };
1025
+ const listSiteAnalysesOperationSpec = {
1026
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses",
1027
+ httpMethod: "GET",
1028
+ responses: {
1029
+ 200: {
1030
+ bodyMapper: Mappers.DiagnosticAnalysisCollection
1031
+ },
1032
+ default: {
1033
+ bodyMapper: Mappers.DefaultErrorResponse
1034
+ }
1035
+ },
1036
+ queryParameters: [Parameters.apiVersion],
1037
+ urlParameters: [
1038
+ Parameters.$host,
1039
+ Parameters.subscriptionId,
1040
+ Parameters.resourceGroupName,
1041
+ Parameters.siteName,
1042
+ Parameters.diagnosticCategory
1043
+ ],
1044
+ headerParameters: [Parameters.accept],
1045
+ serializer
1046
+ };
1047
+ const getSiteAnalysisOperationSpec = {
1048
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}",
1049
+ httpMethod: "GET",
1050
+ responses: {
1051
+ 200: {
1052
+ bodyMapper: Mappers.AnalysisDefinition
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.siteName,
1064
+ Parameters.diagnosticCategory,
1065
+ Parameters.analysisName
1066
+ ],
1067
+ headerParameters: [Parameters.accept],
1068
+ serializer
1069
+ };
1070
+ const executeSiteAnalysisOperationSpec = {
1071
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute",
1072
+ httpMethod: "POST",
1073
+ responses: {
1074
+ 200: {
1075
+ bodyMapper: Mappers.DiagnosticAnalysis
1076
+ },
1077
+ default: {
1078
+ bodyMapper: Mappers.DefaultErrorResponse
1079
+ }
1080
+ },
1081
+ queryParameters: [
1082
+ Parameters.apiVersion,
1083
+ Parameters.startTime,
1084
+ Parameters.endTime,
1085
+ Parameters.timeGrain
1086
+ ],
1087
+ urlParameters: [
1088
+ Parameters.$host,
1089
+ Parameters.subscriptionId,
1090
+ Parameters.resourceGroupName,
1091
+ Parameters.siteName,
1092
+ Parameters.diagnosticCategory,
1093
+ Parameters.analysisName
1094
+ ],
1095
+ headerParameters: [Parameters.accept],
1096
+ serializer
1097
+ };
1098
+ const listSiteDetectorsOperationSpec = {
1099
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors",
1100
+ httpMethod: "GET",
1101
+ responses: {
1102
+ 200: {
1103
+ bodyMapper: Mappers.DiagnosticDetectorCollection
1104
+ },
1105
+ default: {
1106
+ bodyMapper: Mappers.DefaultErrorResponse
1107
+ }
1108
+ },
1109
+ queryParameters: [Parameters.apiVersion],
1110
+ urlParameters: [
1111
+ Parameters.$host,
1112
+ Parameters.subscriptionId,
1113
+ Parameters.resourceGroupName,
1114
+ Parameters.siteName,
1115
+ Parameters.diagnosticCategory
1116
+ ],
1117
+ headerParameters: [Parameters.accept],
1118
+ serializer
1119
+ };
1120
+ const getSiteDetectorOperationSpec = {
1121
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}",
1122
+ httpMethod: "GET",
1123
+ responses: {
1124
+ 200: {
1125
+ bodyMapper: Mappers.DetectorDefinitionResource
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.detectorName,
1137
+ Parameters.siteName,
1138
+ Parameters.diagnosticCategory
1139
+ ],
1140
+ headerParameters: [Parameters.accept],
1141
+ serializer
1142
+ };
1143
+ const executeSiteDetectorOperationSpec = {
1144
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute",
1145
+ httpMethod: "POST",
1146
+ responses: {
1147
+ 200: {
1148
+ bodyMapper: Mappers.DiagnosticDetectorResponse
1149
+ },
1150
+ default: {
1151
+ bodyMapper: Mappers.DefaultErrorResponse
1152
+ }
1153
+ },
1154
+ queryParameters: [
1155
+ Parameters.apiVersion,
1156
+ Parameters.startTime,
1157
+ Parameters.endTime,
1158
+ Parameters.timeGrain
1159
+ ],
1160
+ urlParameters: [
1161
+ Parameters.$host,
1162
+ Parameters.subscriptionId,
1163
+ Parameters.resourceGroupName,
1164
+ Parameters.detectorName,
1165
+ Parameters.siteName,
1166
+ Parameters.diagnosticCategory
1167
+ ],
1168
+ headerParameters: [Parameters.accept],
1169
+ serializer
1170
+ };
1171
+ const listSiteDetectorResponsesSlotOperationSpec = {
1172
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors",
1173
+ httpMethod: "GET",
1174
+ responses: {
1175
+ 200: {
1176
+ bodyMapper: Mappers.DetectorResponseCollection
1177
+ },
1178
+ default: {
1179
+ bodyMapper: Mappers.DefaultErrorResponse
1180
+ }
1181
+ },
1182
+ queryParameters: [Parameters.apiVersion],
1183
+ urlParameters: [
1184
+ Parameters.$host,
1185
+ Parameters.subscriptionId,
1186
+ Parameters.resourceGroupName,
1187
+ Parameters.siteName,
1188
+ Parameters.slot
1189
+ ],
1190
+ headerParameters: [Parameters.accept],
1191
+ serializer
1192
+ };
1193
+ const getSiteDetectorResponseSlotOperationSpec = {
1194
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}",
1195
+ httpMethod: "GET",
1196
+ responses: {
1197
+ 200: {
1198
+ bodyMapper: Mappers.DetectorResponse
1199
+ },
1200
+ default: {
1201
+ bodyMapper: Mappers.DefaultErrorResponse
1202
+ }
1203
+ },
1204
+ queryParameters: [
1205
+ Parameters.apiVersion,
1206
+ Parameters.startTime,
1207
+ Parameters.endTime,
1208
+ Parameters.timeGrain
1209
+ ],
1210
+ urlParameters: [
1211
+ Parameters.$host,
1212
+ Parameters.subscriptionId,
1213
+ Parameters.resourceGroupName,
1214
+ Parameters.detectorName,
1215
+ Parameters.siteName,
1216
+ Parameters.slot
1217
+ ],
1218
+ headerParameters: [Parameters.accept],
1219
+ serializer
1220
+ };
1221
+ const listSiteDiagnosticCategoriesSlotOperationSpec = {
1222
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics",
1223
+ httpMethod: "GET",
1224
+ responses: {
1225
+ 200: {
1226
+ bodyMapper: Mappers.DiagnosticCategoryCollection
1227
+ },
1228
+ default: {
1229
+ bodyMapper: Mappers.DefaultErrorResponse
1230
+ }
1231
+ },
1232
+ queryParameters: [Parameters.apiVersion],
1233
+ urlParameters: [
1234
+ Parameters.$host,
1235
+ Parameters.subscriptionId,
1236
+ Parameters.resourceGroupName,
1237
+ Parameters.siteName,
1238
+ Parameters.slot
1239
+ ],
1240
+ headerParameters: [Parameters.accept],
1241
+ serializer
1242
+ };
1243
+ const getSiteDiagnosticCategorySlotOperationSpec = {
1244
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}",
1245
+ httpMethod: "GET",
1246
+ responses: {
1247
+ 200: {
1248
+ bodyMapper: Mappers.DiagnosticCategory
1249
+ },
1250
+ default: {
1251
+ bodyMapper: Mappers.DefaultErrorResponse
1252
+ }
1253
+ },
1254
+ queryParameters: [Parameters.apiVersion],
1255
+ urlParameters: [
1256
+ Parameters.$host,
1257
+ Parameters.subscriptionId,
1258
+ Parameters.resourceGroupName,
1259
+ Parameters.siteName,
1260
+ Parameters.diagnosticCategory,
1261
+ Parameters.slot
1262
+ ],
1263
+ headerParameters: [Parameters.accept],
1264
+ serializer
1265
+ };
1266
+ const listSiteAnalysesSlotOperationSpec = {
1267
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses",
1268
+ httpMethod: "GET",
1269
+ responses: {
1270
+ 200: {
1271
+ bodyMapper: Mappers.DiagnosticAnalysisCollection
1272
+ },
1273
+ default: {
1274
+ bodyMapper: Mappers.DefaultErrorResponse
1275
+ }
1276
+ },
1277
+ queryParameters: [Parameters.apiVersion],
1278
+ urlParameters: [
1279
+ Parameters.$host,
1280
+ Parameters.subscriptionId,
1281
+ Parameters.resourceGroupName,
1282
+ Parameters.siteName,
1283
+ Parameters.diagnosticCategory,
1284
+ Parameters.slot
1285
+ ],
1286
+ headerParameters: [Parameters.accept],
1287
+ serializer
1288
+ };
1289
+ const getSiteAnalysisSlotOperationSpec = {
1290
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}",
1291
+ httpMethod: "GET",
1292
+ responses: {
1293
+ 200: {
1294
+ bodyMapper: Mappers.AnalysisDefinition
1295
+ },
1296
+ default: {
1297
+ bodyMapper: Mappers.DefaultErrorResponse
1298
+ }
1299
+ },
1300
+ queryParameters: [Parameters.apiVersion],
1301
+ urlParameters: [
1302
+ Parameters.$host,
1303
+ Parameters.subscriptionId,
1304
+ Parameters.resourceGroupName,
1305
+ Parameters.siteName,
1306
+ Parameters.diagnosticCategory,
1307
+ Parameters.analysisName,
1308
+ Parameters.slot
1309
+ ],
1310
+ headerParameters: [Parameters.accept],
1311
+ serializer
1312
+ };
1313
+ const executeSiteAnalysisSlotOperationSpec = {
1314
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/analyses/{analysisName}/execute",
1315
+ httpMethod: "POST",
1316
+ responses: {
1317
+ 200: {
1318
+ bodyMapper: Mappers.DiagnosticAnalysis
1319
+ },
1320
+ default: {
1321
+ bodyMapper: Mappers.DefaultErrorResponse
1322
+ }
1323
+ },
1324
+ queryParameters: [
1325
+ Parameters.apiVersion,
1326
+ Parameters.startTime,
1327
+ Parameters.endTime,
1328
+ Parameters.timeGrain
1329
+ ],
1330
+ urlParameters: [
1331
+ Parameters.$host,
1332
+ Parameters.subscriptionId,
1333
+ Parameters.resourceGroupName,
1334
+ Parameters.siteName,
1335
+ Parameters.diagnosticCategory,
1336
+ Parameters.analysisName,
1337
+ Parameters.slot
1338
+ ],
1339
+ headerParameters: [Parameters.accept],
1340
+ serializer
1341
+ };
1342
+ const listSiteDetectorsSlotOperationSpec = {
1343
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors",
1344
+ httpMethod: "GET",
1345
+ responses: {
1346
+ 200: {
1347
+ bodyMapper: Mappers.DiagnosticDetectorCollection
1348
+ },
1349
+ default: {
1350
+ bodyMapper: Mappers.DefaultErrorResponse
1351
+ }
1352
+ },
1353
+ queryParameters: [Parameters.apiVersion],
1354
+ urlParameters: [
1355
+ Parameters.$host,
1356
+ Parameters.subscriptionId,
1357
+ Parameters.resourceGroupName,
1358
+ Parameters.siteName,
1359
+ Parameters.diagnosticCategory,
1360
+ Parameters.slot
1361
+ ],
1362
+ headerParameters: [Parameters.accept],
1363
+ serializer
1364
+ };
1365
+ const getSiteDetectorSlotOperationSpec = {
1366
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}",
1367
+ httpMethod: "GET",
1368
+ responses: {
1369
+ 200: {
1370
+ bodyMapper: Mappers.DetectorDefinitionResource
1371
+ },
1372
+ default: {
1373
+ bodyMapper: Mappers.DefaultErrorResponse
1374
+ }
1375
+ },
1376
+ queryParameters: [Parameters.apiVersion],
1377
+ urlParameters: [
1378
+ Parameters.$host,
1379
+ Parameters.subscriptionId,
1380
+ Parameters.resourceGroupName,
1381
+ Parameters.detectorName,
1382
+ Parameters.siteName,
1383
+ Parameters.diagnosticCategory,
1384
+ Parameters.slot
1385
+ ],
1386
+ headerParameters: [Parameters.accept],
1387
+ serializer
1388
+ };
1389
+ const executeSiteDetectorSlotOperationSpec = {
1390
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute",
1391
+ httpMethod: "POST",
1392
+ responses: {
1393
+ 200: {
1394
+ bodyMapper: Mappers.DiagnosticDetectorResponse
1395
+ },
1396
+ default: {
1397
+ bodyMapper: Mappers.DefaultErrorResponse
1398
+ }
1399
+ },
1400
+ queryParameters: [
1401
+ Parameters.apiVersion,
1402
+ Parameters.startTime,
1403
+ Parameters.endTime,
1404
+ Parameters.timeGrain
1405
+ ],
1406
+ urlParameters: [
1407
+ Parameters.$host,
1408
+ Parameters.subscriptionId,
1409
+ Parameters.resourceGroupName,
1410
+ Parameters.detectorName,
1411
+ Parameters.siteName,
1412
+ Parameters.diagnosticCategory,
1413
+ Parameters.slot
1414
+ ],
1415
+ headerParameters: [Parameters.accept],
1416
+ serializer
1417
+ };
1418
+ const listHostingEnvironmentDetectorResponsesNextOperationSpec = {
1419
+ path: "{nextLink}",
1420
+ httpMethod: "GET",
1421
+ responses: {
1422
+ 200: {
1423
+ bodyMapper: Mappers.DetectorResponseCollection
1424
+ },
1425
+ default: {
1426
+ bodyMapper: Mappers.DefaultErrorResponse
1427
+ }
1428
+ },
1429
+ queryParameters: [Parameters.apiVersion],
1430
+ urlParameters: [
1431
+ Parameters.$host,
1432
+ Parameters.subscriptionId,
1433
+ Parameters.resourceGroupName,
1434
+ Parameters.name,
1435
+ Parameters.nextLink
1436
+ ],
1437
+ headerParameters: [Parameters.accept],
1438
+ serializer
1439
+ };
1440
+ const listSiteDetectorResponsesNextOperationSpec = {
1441
+ path: "{nextLink}",
1442
+ httpMethod: "GET",
1443
+ responses: {
1444
+ 200: {
1445
+ bodyMapper: Mappers.DetectorResponseCollection
1446
+ },
1447
+ default: {
1448
+ bodyMapper: Mappers.DefaultErrorResponse
1449
+ }
1450
+ },
1451
+ queryParameters: [Parameters.apiVersion],
1452
+ urlParameters: [
1453
+ Parameters.$host,
1454
+ Parameters.subscriptionId,
1455
+ Parameters.resourceGroupName,
1456
+ Parameters.nextLink,
1457
+ Parameters.siteName
1458
+ ],
1459
+ headerParameters: [Parameters.accept],
1460
+ serializer
1461
+ };
1462
+ const listSiteDiagnosticCategoriesNextOperationSpec = {
1463
+ path: "{nextLink}",
1464
+ httpMethod: "GET",
1465
+ responses: {
1466
+ 200: {
1467
+ bodyMapper: Mappers.DiagnosticCategoryCollection
1468
+ },
1469
+ default: {
1470
+ bodyMapper: Mappers.DefaultErrorResponse
1471
+ }
1472
+ },
1473
+ queryParameters: [Parameters.apiVersion],
1474
+ urlParameters: [
1475
+ Parameters.$host,
1476
+ Parameters.subscriptionId,
1477
+ Parameters.resourceGroupName,
1478
+ Parameters.nextLink,
1479
+ Parameters.siteName
1480
+ ],
1481
+ headerParameters: [Parameters.accept],
1482
+ serializer
1483
+ };
1484
+ const listSiteAnalysesNextOperationSpec = {
1485
+ path: "{nextLink}",
1486
+ httpMethod: "GET",
1487
+ responses: {
1488
+ 200: {
1489
+ bodyMapper: Mappers.DiagnosticAnalysisCollection
1490
+ },
1491
+ default: {
1492
+ bodyMapper: Mappers.DefaultErrorResponse
1493
+ }
1494
+ },
1495
+ queryParameters: [Parameters.apiVersion],
1496
+ urlParameters: [
1497
+ Parameters.$host,
1498
+ Parameters.subscriptionId,
1499
+ Parameters.resourceGroupName,
1500
+ Parameters.nextLink,
1501
+ Parameters.siteName,
1502
+ Parameters.diagnosticCategory
1503
+ ],
1504
+ headerParameters: [Parameters.accept],
1505
+ serializer
1506
+ };
1507
+ const listSiteDetectorsNextOperationSpec = {
1508
+ path: "{nextLink}",
1509
+ httpMethod: "GET",
1510
+ responses: {
1511
+ 200: {
1512
+ bodyMapper: Mappers.DiagnosticDetectorCollection
1513
+ },
1514
+ default: {
1515
+ bodyMapper: Mappers.DefaultErrorResponse
1516
+ }
1517
+ },
1518
+ queryParameters: [Parameters.apiVersion],
1519
+ urlParameters: [
1520
+ Parameters.$host,
1521
+ Parameters.subscriptionId,
1522
+ Parameters.resourceGroupName,
1523
+ Parameters.nextLink,
1524
+ Parameters.siteName,
1525
+ Parameters.diagnosticCategory
1526
+ ],
1527
+ headerParameters: [Parameters.accept],
1528
+ serializer
1529
+ };
1530
+ const listSiteDetectorResponsesSlotNextOperationSpec = {
1531
+ path: "{nextLink}",
1532
+ httpMethod: "GET",
1533
+ responses: {
1534
+ 200: {
1535
+ bodyMapper: Mappers.DetectorResponseCollection
1536
+ },
1537
+ default: {
1538
+ bodyMapper: Mappers.DefaultErrorResponse
1539
+ }
1540
+ },
1541
+ queryParameters: [Parameters.apiVersion],
1542
+ urlParameters: [
1543
+ Parameters.$host,
1544
+ Parameters.subscriptionId,
1545
+ Parameters.resourceGroupName,
1546
+ Parameters.nextLink,
1547
+ Parameters.siteName,
1548
+ Parameters.slot
1549
+ ],
1550
+ headerParameters: [Parameters.accept],
1551
+ serializer
1552
+ };
1553
+ const listSiteDiagnosticCategoriesSlotNextOperationSpec = {
1554
+ path: "{nextLink}",
1555
+ httpMethod: "GET",
1556
+ responses: {
1557
+ 200: {
1558
+ bodyMapper: Mappers.DiagnosticCategoryCollection
1559
+ },
1560
+ default: {
1561
+ bodyMapper: Mappers.DefaultErrorResponse
1562
+ }
1563
+ },
1564
+ queryParameters: [Parameters.apiVersion],
1565
+ urlParameters: [
1566
+ Parameters.$host,
1567
+ Parameters.subscriptionId,
1568
+ Parameters.resourceGroupName,
1569
+ Parameters.nextLink,
1570
+ Parameters.siteName,
1571
+ Parameters.slot
1572
+ ],
1573
+ headerParameters: [Parameters.accept],
1574
+ serializer
1575
+ };
1576
+ const listSiteAnalysesSlotNextOperationSpec = {
1577
+ path: "{nextLink}",
1578
+ httpMethod: "GET",
1579
+ responses: {
1580
+ 200: {
1581
+ bodyMapper: Mappers.DiagnosticAnalysisCollection
1582
+ },
1583
+ default: {
1584
+ bodyMapper: Mappers.DefaultErrorResponse
1585
+ }
1586
+ },
1587
+ queryParameters: [Parameters.apiVersion],
1588
+ urlParameters: [
1589
+ Parameters.$host,
1590
+ Parameters.subscriptionId,
1591
+ Parameters.resourceGroupName,
1592
+ Parameters.nextLink,
1593
+ Parameters.siteName,
1594
+ Parameters.diagnosticCategory,
1595
+ Parameters.slot
1596
+ ],
1597
+ headerParameters: [Parameters.accept],
1598
+ serializer
1599
+ };
1600
+ const listSiteDetectorsSlotNextOperationSpec = {
1601
+ path: "{nextLink}",
1602
+ httpMethod: "GET",
1603
+ responses: {
1604
+ 200: {
1605
+ bodyMapper: Mappers.DiagnosticDetectorCollection
1606
+ },
1607
+ default: {
1608
+ bodyMapper: Mappers.DefaultErrorResponse
1609
+ }
1610
+ },
1611
+ queryParameters: [Parameters.apiVersion],
1612
+ urlParameters: [
1613
+ Parameters.$host,
1614
+ Parameters.subscriptionId,
1615
+ Parameters.resourceGroupName,
1616
+ Parameters.nextLink,
1617
+ Parameters.siteName,
1618
+ Parameters.diagnosticCategory,
1619
+ Parameters.slot
1620
+ ],
1621
+ headerParameters: [Parameters.accept],
1622
+ serializer
1623
+ };
1624
+ //# sourceMappingURL=diagnostics.js.map