@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,122 @@
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
+
9
+ import "@azure/core-paging";
10
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
12
+ import {
13
+ KubeEnvironment,
14
+ KubeEnvironmentsListBySubscriptionOptionalParams,
15
+ KubeEnvironmentsListByResourceGroupOptionalParams,
16
+ KubeEnvironmentsGetOptionalParams,
17
+ KubeEnvironmentsGetResponse,
18
+ KubeEnvironmentsCreateOrUpdateOptionalParams,
19
+ KubeEnvironmentsCreateOrUpdateResponse,
20
+ KubeEnvironmentsDeleteOptionalParams,
21
+ KubeEnvironmentPatchResource,
22
+ KubeEnvironmentsUpdateOptionalParams,
23
+ KubeEnvironmentsUpdateResponse
24
+ } from "../models";
25
+
26
+ /// <reference lib="esnext.asynciterable" />
27
+ /** Interface representing a KubeEnvironments. */
28
+ export interface KubeEnvironments {
29
+ /**
30
+ * Description for Get all Kubernetes Environments for a subscription.
31
+ * @param options The options parameters.
32
+ */
33
+ listBySubscription(
34
+ options?: KubeEnvironmentsListBySubscriptionOptionalParams
35
+ ): PagedAsyncIterableIterator<KubeEnvironment>;
36
+ /**
37
+ * Description for Get all the Kubernetes Environments in a resource group.
38
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
39
+ * @param options The options parameters.
40
+ */
41
+ listByResourceGroup(
42
+ resourceGroupName: string,
43
+ options?: KubeEnvironmentsListByResourceGroupOptionalParams
44
+ ): PagedAsyncIterableIterator<KubeEnvironment>;
45
+ /**
46
+ * Description for Get the properties of a Kubernetes Environment.
47
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
48
+ * @param name Name of the Kubernetes Environment.
49
+ * @param options The options parameters.
50
+ */
51
+ get(
52
+ resourceGroupName: string,
53
+ name: string,
54
+ options?: KubeEnvironmentsGetOptionalParams
55
+ ): Promise<KubeEnvironmentsGetResponse>;
56
+ /**
57
+ * Description for Creates or updates a Kubernetes Environment.
58
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
59
+ * @param name Name of the Kubernetes Environment.
60
+ * @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
61
+ * @param options The options parameters.
62
+ */
63
+ beginCreateOrUpdate(
64
+ resourceGroupName: string,
65
+ name: string,
66
+ kubeEnvironmentEnvelope: KubeEnvironment,
67
+ options?: KubeEnvironmentsCreateOrUpdateOptionalParams
68
+ ): Promise<
69
+ PollerLike<
70
+ PollOperationState<KubeEnvironmentsCreateOrUpdateResponse>,
71
+ KubeEnvironmentsCreateOrUpdateResponse
72
+ >
73
+ >;
74
+ /**
75
+ * Description for Creates or updates a Kubernetes Environment.
76
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
77
+ * @param name Name of the Kubernetes Environment.
78
+ * @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
79
+ * @param options The options parameters.
80
+ */
81
+ beginCreateOrUpdateAndWait(
82
+ resourceGroupName: string,
83
+ name: string,
84
+ kubeEnvironmentEnvelope: KubeEnvironment,
85
+ options?: KubeEnvironmentsCreateOrUpdateOptionalParams
86
+ ): Promise<KubeEnvironmentsCreateOrUpdateResponse>;
87
+ /**
88
+ * Description for Delete a Kubernetes Environment.
89
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
90
+ * @param name Name of the Kubernetes Environment.
91
+ * @param options The options parameters.
92
+ */
93
+ beginDelete(
94
+ resourceGroupName: string,
95
+ name: string,
96
+ options?: KubeEnvironmentsDeleteOptionalParams
97
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
98
+ /**
99
+ * Description for Delete a Kubernetes Environment.
100
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
101
+ * @param name Name of the Kubernetes Environment.
102
+ * @param options The options parameters.
103
+ */
104
+ beginDeleteAndWait(
105
+ resourceGroupName: string,
106
+ name: string,
107
+ options?: KubeEnvironmentsDeleteOptionalParams
108
+ ): Promise<void>;
109
+ /**
110
+ * Description for Creates or updates a Kubernetes Environment.
111
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
112
+ * @param name Name of the Kubernetes Environment.
113
+ * @param kubeEnvironmentEnvelope Configuration details of the Kubernetes Environment.
114
+ * @param options The options parameters.
115
+ */
116
+ update(
117
+ resourceGroupName: string,
118
+ name: string,
119
+ kubeEnvironmentEnvelope: KubeEnvironmentPatchResource,
120
+ options?: KubeEnvironmentsUpdateOptionalParams
121
+ ): Promise<KubeEnvironmentsUpdateResponse>;
122
+ }
@@ -0,0 +1,82 @@
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
+
9
+ import "@azure/core-paging";
10
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
+ import {
12
+ ApplicationStackResource,
13
+ ProviderGetAvailableStacksOptionalParams,
14
+ FunctionAppStack,
15
+ ProviderGetFunctionAppStacksOptionalParams,
16
+ ProviderGetFunctionAppStacksForLocationOptionalParams,
17
+ WebAppStack,
18
+ ProviderGetWebAppStacksForLocationOptionalParams,
19
+ CsmOperationDescription,
20
+ ProviderListOperationsOptionalParams,
21
+ ProviderGetWebAppStacksOptionalParams,
22
+ ProviderGetAvailableStacksOnPremOptionalParams
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a Provider. */
27
+ export interface Provider {
28
+ /**
29
+ * Description for Get available application frameworks and their versions
30
+ * @param options The options parameters.
31
+ */
32
+ listAvailableStacks(
33
+ options?: ProviderGetAvailableStacksOptionalParams
34
+ ): PagedAsyncIterableIterator<ApplicationStackResource>;
35
+ /**
36
+ * Description for Get available Function app frameworks and their versions
37
+ * @param options The options parameters.
38
+ */
39
+ listFunctionAppStacks(
40
+ options?: ProviderGetFunctionAppStacksOptionalParams
41
+ ): PagedAsyncIterableIterator<FunctionAppStack>;
42
+ /**
43
+ * Description for Get available Function app frameworks and their versions for location
44
+ * @param location Function App stack location.
45
+ * @param options The options parameters.
46
+ */
47
+ listFunctionAppStacksForLocation(
48
+ location: string,
49
+ options?: ProviderGetFunctionAppStacksForLocationOptionalParams
50
+ ): PagedAsyncIterableIterator<FunctionAppStack>;
51
+ /**
52
+ * Description for Get available Web app frameworks and their versions for location
53
+ * @param location Web App stack location.
54
+ * @param options The options parameters.
55
+ */
56
+ listWebAppStacksForLocation(
57
+ location: string,
58
+ options?: ProviderGetWebAppStacksForLocationOptionalParams
59
+ ): PagedAsyncIterableIterator<WebAppStack>;
60
+ /**
61
+ * Description for Gets all available operations for the Microsoft.Web resource provider. Also exposes
62
+ * resource metric definitions
63
+ * @param options The options parameters.
64
+ */
65
+ listOperations(
66
+ options?: ProviderListOperationsOptionalParams
67
+ ): PagedAsyncIterableIterator<CsmOperationDescription>;
68
+ /**
69
+ * Description for Get available Web app frameworks and their versions
70
+ * @param options The options parameters.
71
+ */
72
+ listWebAppStacks(
73
+ options?: ProviderGetWebAppStacksOptionalParams
74
+ ): PagedAsyncIterableIterator<WebAppStack>;
75
+ /**
76
+ * Description for Get available application frameworks and their versions
77
+ * @param options The options parameters.
78
+ */
79
+ listAvailableStacksOnPrem(
80
+ options?: ProviderGetAvailableStacksOnPremOptionalParams
81
+ ): PagedAsyncIterableIterator<ApplicationStackResource>;
82
+ }
@@ -0,0 +1,204 @@
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
+
9
+ import "@azure/core-paging";
10
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
+ import {
12
+ Recommendation,
13
+ RecommendationsListOptionalParams,
14
+ RecommendationsListHistoryForHostingEnvironmentOptionalParams,
15
+ RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams,
16
+ RecommendationsListHistoryForWebAppOptionalParams,
17
+ RecommendationsListRecommendedRulesForWebAppOptionalParams,
18
+ RecommendationsResetAllFiltersOptionalParams,
19
+ RecommendationsDisableRecommendationForSubscriptionOptionalParams,
20
+ RecommendationsDisableAllForHostingEnvironmentOptionalParams,
21
+ RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams,
22
+ RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams,
23
+ RecommendationsGetRuleDetailsByHostingEnvironmentResponse,
24
+ RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams,
25
+ RecommendationsDisableAllForWebAppOptionalParams,
26
+ RecommendationsResetAllFiltersForWebAppOptionalParams,
27
+ RecommendationsGetRuleDetailsByWebAppOptionalParams,
28
+ RecommendationsGetRuleDetailsByWebAppResponse,
29
+ RecommendationsDisableRecommendationForSiteOptionalParams
30
+ } from "../models";
31
+
32
+ /// <reference lib="esnext.asynciterable" />
33
+ /** Interface representing a Recommendations. */
34
+ export interface Recommendations {
35
+ /**
36
+ * Description for List all recommendations for a subscription.
37
+ * @param options The options parameters.
38
+ */
39
+ list(
40
+ options?: RecommendationsListOptionalParams
41
+ ): PagedAsyncIterableIterator<Recommendation>;
42
+ /**
43
+ * Description for Get past recommendations for an app, optionally specified by the time range.
44
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
45
+ * @param hostingEnvironmentName Name of the hosting environment.
46
+ * @param options The options parameters.
47
+ */
48
+ listHistoryForHostingEnvironment(
49
+ resourceGroupName: string,
50
+ hostingEnvironmentName: string,
51
+ options?: RecommendationsListHistoryForHostingEnvironmentOptionalParams
52
+ ): PagedAsyncIterableIterator<Recommendation>;
53
+ /**
54
+ * Description for Get all recommendations for a hosting environment.
55
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
56
+ * @param hostingEnvironmentName Name of the app.
57
+ * @param options The options parameters.
58
+ */
59
+ listRecommendedRulesForHostingEnvironment(
60
+ resourceGroupName: string,
61
+ hostingEnvironmentName: string,
62
+ options?: RecommendationsListRecommendedRulesForHostingEnvironmentOptionalParams
63
+ ): PagedAsyncIterableIterator<Recommendation>;
64
+ /**
65
+ * Description for Get past recommendations for an app, optionally specified by the time range.
66
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
67
+ * @param siteName Name of the app.
68
+ * @param options The options parameters.
69
+ */
70
+ listHistoryForWebApp(
71
+ resourceGroupName: string,
72
+ siteName: string,
73
+ options?: RecommendationsListHistoryForWebAppOptionalParams
74
+ ): PagedAsyncIterableIterator<Recommendation>;
75
+ /**
76
+ * Description for Get all recommendations for an app.
77
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
78
+ * @param siteName Name of the app.
79
+ * @param options The options parameters.
80
+ */
81
+ listRecommendedRulesForWebApp(
82
+ resourceGroupName: string,
83
+ siteName: string,
84
+ options?: RecommendationsListRecommendedRulesForWebAppOptionalParams
85
+ ): PagedAsyncIterableIterator<Recommendation>;
86
+ /**
87
+ * Description for Reset all recommendation opt-out settings for a subscription.
88
+ * @param options The options parameters.
89
+ */
90
+ resetAllFilters(
91
+ options?: RecommendationsResetAllFiltersOptionalParams
92
+ ): Promise<void>;
93
+ /**
94
+ * Description for Disables the specified rule so it will not apply to a subscription in the future.
95
+ * @param name Rule name
96
+ * @param options The options parameters.
97
+ */
98
+ disableRecommendationForSubscription(
99
+ name: string,
100
+ options?: RecommendationsDisableRecommendationForSubscriptionOptionalParams
101
+ ): Promise<void>;
102
+ /**
103
+ * Description for Disable all recommendations for an app.
104
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
105
+ * @param environmentName Name of the app.
106
+ * @param hostingEnvironmentName
107
+ * @param options The options parameters.
108
+ */
109
+ disableAllForHostingEnvironment(
110
+ resourceGroupName: string,
111
+ environmentName: string,
112
+ hostingEnvironmentName: string,
113
+ options?: RecommendationsDisableAllForHostingEnvironmentOptionalParams
114
+ ): Promise<void>;
115
+ /**
116
+ * Description for Reset all recommendation opt-out settings for an app.
117
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
118
+ * @param environmentName Name of the app.
119
+ * @param hostingEnvironmentName
120
+ * @param options The options parameters.
121
+ */
122
+ resetAllFiltersForHostingEnvironment(
123
+ resourceGroupName: string,
124
+ environmentName: string,
125
+ hostingEnvironmentName: string,
126
+ options?: RecommendationsResetAllFiltersForHostingEnvironmentOptionalParams
127
+ ): Promise<void>;
128
+ /**
129
+ * Description for Get a recommendation rule for an app.
130
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
131
+ * @param hostingEnvironmentName Name of the hosting environment.
132
+ * @param name Name of the recommendation.
133
+ * @param options The options parameters.
134
+ */
135
+ getRuleDetailsByHostingEnvironment(
136
+ resourceGroupName: string,
137
+ hostingEnvironmentName: string,
138
+ name: string,
139
+ options?: RecommendationsGetRuleDetailsByHostingEnvironmentOptionalParams
140
+ ): Promise<RecommendationsGetRuleDetailsByHostingEnvironmentResponse>;
141
+ /**
142
+ * Description for Disables the specific rule for a web site permanently.
143
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
144
+ * @param environmentName Site name
145
+ * @param name Rule name
146
+ * @param hostingEnvironmentName
147
+ * @param options The options parameters.
148
+ */
149
+ disableRecommendationForHostingEnvironment(
150
+ resourceGroupName: string,
151
+ environmentName: string,
152
+ name: string,
153
+ hostingEnvironmentName: string,
154
+ options?: RecommendationsDisableRecommendationForHostingEnvironmentOptionalParams
155
+ ): Promise<void>;
156
+ /**
157
+ * Description for Disable all recommendations for an app.
158
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
159
+ * @param siteName Name of the app.
160
+ * @param options The options parameters.
161
+ */
162
+ disableAllForWebApp(
163
+ resourceGroupName: string,
164
+ siteName: string,
165
+ options?: RecommendationsDisableAllForWebAppOptionalParams
166
+ ): Promise<void>;
167
+ /**
168
+ * Description for Reset all recommendation opt-out settings for an app.
169
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
170
+ * @param siteName Name of the app.
171
+ * @param options The options parameters.
172
+ */
173
+ resetAllFiltersForWebApp(
174
+ resourceGroupName: string,
175
+ siteName: string,
176
+ options?: RecommendationsResetAllFiltersForWebAppOptionalParams
177
+ ): Promise<void>;
178
+ /**
179
+ * Description for Get a recommendation rule for an app.
180
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
181
+ * @param siteName Name of the app.
182
+ * @param name Name of the recommendation.
183
+ * @param options The options parameters.
184
+ */
185
+ getRuleDetailsByWebApp(
186
+ resourceGroupName: string,
187
+ siteName: string,
188
+ name: string,
189
+ options?: RecommendationsGetRuleDetailsByWebAppOptionalParams
190
+ ): Promise<RecommendationsGetRuleDetailsByWebAppResponse>;
191
+ /**
192
+ * Description for Disables the specific rule for a web site permanently.
193
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
194
+ * @param siteName Site name
195
+ * @param name Rule name
196
+ * @param options The options parameters.
197
+ */
198
+ disableRecommendationForSite(
199
+ resourceGroupName: string,
200
+ siteName: string,
201
+ name: string,
202
+ options?: RecommendationsDisableRecommendationForSiteOptionalParams
203
+ ): Promise<void>;
204
+ }
@@ -0,0 +1,93 @@
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
+
9
+ import "@azure/core-paging";
10
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
11
+ import {
12
+ ResourceHealthMetadata,
13
+ ResourceHealthMetadataOperationsListOptionalParams,
14
+ ResourceHealthMetadataOperationsListByResourceGroupOptionalParams,
15
+ ResourceHealthMetadataOperationsListBySiteOptionalParams,
16
+ ResourceHealthMetadataOperationsListBySiteSlotOptionalParams,
17
+ ResourceHealthMetadataOperationsGetBySiteOptionalParams,
18
+ ResourceHealthMetadataOperationsGetBySiteResponse,
19
+ ResourceHealthMetadataOperationsGetBySiteSlotOptionalParams,
20
+ ResourceHealthMetadataOperationsGetBySiteSlotResponse
21
+ } from "../models";
22
+
23
+ /// <reference lib="esnext.asynciterable" />
24
+ /** Interface representing a ResourceHealthMetadataOperations. */
25
+ export interface ResourceHealthMetadataOperations {
26
+ /**
27
+ * Description for List all ResourceHealthMetadata for all sites in the subscription.
28
+ * @param options The options parameters.
29
+ */
30
+ list(
31
+ options?: ResourceHealthMetadataOperationsListOptionalParams
32
+ ): PagedAsyncIterableIterator<ResourceHealthMetadata>;
33
+ /**
34
+ * Description for List all ResourceHealthMetadata for all sites in the resource group in the
35
+ * subscription.
36
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
37
+ * @param options The options parameters.
38
+ */
39
+ listByResourceGroup(
40
+ resourceGroupName: string,
41
+ options?: ResourceHealthMetadataOperationsListByResourceGroupOptionalParams
42
+ ): PagedAsyncIterableIterator<ResourceHealthMetadata>;
43
+ /**
44
+ * Description for Gets the category of ResourceHealthMetadata to use for the given site as a
45
+ * collection
46
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
47
+ * @param name Name of web app.
48
+ * @param options The options parameters.
49
+ */
50
+ listBySite(
51
+ resourceGroupName: string,
52
+ name: string,
53
+ options?: ResourceHealthMetadataOperationsListBySiteOptionalParams
54
+ ): PagedAsyncIterableIterator<ResourceHealthMetadata>;
55
+ /**
56
+ * Description for Gets the category of ResourceHealthMetadata to use for the given site as a
57
+ * collection
58
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
59
+ * @param name Name of web app.
60
+ * @param slot Name of web app slot. If not specified then will default to production slot.
61
+ * @param options The options parameters.
62
+ */
63
+ listBySiteSlot(
64
+ resourceGroupName: string,
65
+ name: string,
66
+ slot: string,
67
+ options?: ResourceHealthMetadataOperationsListBySiteSlotOptionalParams
68
+ ): PagedAsyncIterableIterator<ResourceHealthMetadata>;
69
+ /**
70
+ * Description for Gets the category of ResourceHealthMetadata to use for the given site
71
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
72
+ * @param name Name of web app
73
+ * @param options The options parameters.
74
+ */
75
+ getBySite(
76
+ resourceGroupName: string,
77
+ name: string,
78
+ options?: ResourceHealthMetadataOperationsGetBySiteOptionalParams
79
+ ): Promise<ResourceHealthMetadataOperationsGetBySiteResponse>;
80
+ /**
81
+ * Description for Gets the category of ResourceHealthMetadata to use for the given site
82
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
83
+ * @param name Name of web app
84
+ * @param slot Name of web app slot. If not specified then will default to production slot.
85
+ * @param options The options parameters.
86
+ */
87
+ getBySiteSlot(
88
+ resourceGroupName: string,
89
+ name: string,
90
+ slot: string,
91
+ options?: ResourceHealthMetadataOperationsGetBySiteSlotOptionalParams
92
+ ): Promise<ResourceHealthMetadataOperationsGetBySiteSlotResponse>;
93
+ }