@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,433 @@
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
+ AppServicePlan,
14
+ AppServicePlansListOptionalParams,
15
+ AppServicePlansListByResourceGroupOptionalParams,
16
+ AppServicePlansListWebAppsByHybridConnectionOptionalParams,
17
+ HybridConnection,
18
+ AppServicePlansListHybridConnectionsOptionalParams,
19
+ Site,
20
+ AppServicePlansListWebAppsOptionalParams,
21
+ CsmUsageQuota,
22
+ AppServicePlansListUsagesOptionalParams,
23
+ AppServicePlansGetOptionalParams,
24
+ AppServicePlansGetResponse,
25
+ AppServicePlansCreateOrUpdateOptionalParams,
26
+ AppServicePlansCreateOrUpdateResponse,
27
+ AppServicePlansDeleteOptionalParams,
28
+ AppServicePlanPatchResource,
29
+ AppServicePlansUpdateOptionalParams,
30
+ AppServicePlansUpdateResponse,
31
+ AppServicePlansListCapabilitiesOptionalParams,
32
+ AppServicePlansListCapabilitiesResponse,
33
+ AppServicePlansGetHybridConnectionOptionalParams,
34
+ AppServicePlansGetHybridConnectionResponse,
35
+ AppServicePlansDeleteHybridConnectionOptionalParams,
36
+ AppServicePlansListHybridConnectionKeysOptionalParams,
37
+ AppServicePlansListHybridConnectionKeysResponse,
38
+ AppServicePlansGetHybridConnectionPlanLimitOptionalParams,
39
+ AppServicePlansGetHybridConnectionPlanLimitResponse,
40
+ AppServicePlansRestartWebAppsOptionalParams,
41
+ AppServicePlansGetServerFarmSkusOptionalParams,
42
+ AppServicePlansGetServerFarmSkusResponse,
43
+ AppServicePlansListVnetsOptionalParams,
44
+ AppServicePlansListVnetsResponse,
45
+ AppServicePlansGetVnetFromServerFarmOptionalParams,
46
+ AppServicePlansGetVnetFromServerFarmResponse,
47
+ AppServicePlansGetVnetGatewayOptionalParams,
48
+ AppServicePlansGetVnetGatewayResponse,
49
+ VnetGateway,
50
+ AppServicePlansUpdateVnetGatewayOptionalParams,
51
+ AppServicePlansUpdateVnetGatewayResponse,
52
+ AppServicePlansListRoutesForVnetOptionalParams,
53
+ AppServicePlansListRoutesForVnetResponse,
54
+ AppServicePlansGetRouteForVnetOptionalParams,
55
+ AppServicePlansGetRouteForVnetResponse,
56
+ VnetRoute,
57
+ AppServicePlansCreateOrUpdateVnetRouteOptionalParams,
58
+ AppServicePlansCreateOrUpdateVnetRouteResponse,
59
+ AppServicePlansDeleteVnetRouteOptionalParams,
60
+ AppServicePlansUpdateVnetRouteOptionalParams,
61
+ AppServicePlansUpdateVnetRouteResponse,
62
+ AppServicePlansRebootWorkerOptionalParams
63
+ } from "../models";
64
+
65
+ /// <reference lib="esnext.asynciterable" />
66
+ /** Interface representing a AppServicePlans. */
67
+ export interface AppServicePlans {
68
+ /**
69
+ * Description for Get all App Service plans for a subscription.
70
+ * @param options The options parameters.
71
+ */
72
+ list(
73
+ options?: AppServicePlansListOptionalParams
74
+ ): PagedAsyncIterableIterator<AppServicePlan>;
75
+ /**
76
+ * Description for Get all App Service plans in a resource group.
77
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
78
+ * @param options The options parameters.
79
+ */
80
+ listByResourceGroup(
81
+ resourceGroupName: string,
82
+ options?: AppServicePlansListByResourceGroupOptionalParams
83
+ ): PagedAsyncIterableIterator<AppServicePlan>;
84
+ /**
85
+ * Description for Get all apps that use a Hybrid Connection in an App Service Plan.
86
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
87
+ * @param name Name of the App Service plan.
88
+ * @param namespaceName Name of the Hybrid Connection namespace.
89
+ * @param relayName Name of the Hybrid Connection relay.
90
+ * @param options The options parameters.
91
+ */
92
+ listWebAppsByHybridConnection(
93
+ resourceGroupName: string,
94
+ name: string,
95
+ namespaceName: string,
96
+ relayName: string,
97
+ options?: AppServicePlansListWebAppsByHybridConnectionOptionalParams
98
+ ): PagedAsyncIterableIterator<string>;
99
+ /**
100
+ * Description for Retrieve all Hybrid Connections in use in an App Service plan.
101
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
102
+ * @param name Name of the App Service plan.
103
+ * @param options The options parameters.
104
+ */
105
+ listHybridConnections(
106
+ resourceGroupName: string,
107
+ name: string,
108
+ options?: AppServicePlansListHybridConnectionsOptionalParams
109
+ ): PagedAsyncIterableIterator<HybridConnection>;
110
+ /**
111
+ * Description for Get all apps associated with an App Service plan.
112
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
113
+ * @param name Name of the App Service plan.
114
+ * @param options The options parameters.
115
+ */
116
+ listWebApps(
117
+ resourceGroupName: string,
118
+ name: string,
119
+ options?: AppServicePlansListWebAppsOptionalParams
120
+ ): PagedAsyncIterableIterator<Site>;
121
+ /**
122
+ * Description for Gets server farm usage information
123
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
124
+ * @param name Name of App Service Plan
125
+ * @param options The options parameters.
126
+ */
127
+ listUsages(
128
+ resourceGroupName: string,
129
+ name: string,
130
+ options?: AppServicePlansListUsagesOptionalParams
131
+ ): PagedAsyncIterableIterator<CsmUsageQuota>;
132
+ /**
133
+ * Description for Get an App Service plan.
134
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
135
+ * @param name Name of the App Service plan.
136
+ * @param options The options parameters.
137
+ */
138
+ get(
139
+ resourceGroupName: string,
140
+ name: string,
141
+ options?: AppServicePlansGetOptionalParams
142
+ ): Promise<AppServicePlansGetResponse>;
143
+ /**
144
+ * Description for Creates or updates an App Service Plan.
145
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
146
+ * @param name Name of the App Service plan.
147
+ * @param appServicePlan Details of the App Service plan.
148
+ * @param options The options parameters.
149
+ */
150
+ beginCreateOrUpdate(
151
+ resourceGroupName: string,
152
+ name: string,
153
+ appServicePlan: AppServicePlan,
154
+ options?: AppServicePlansCreateOrUpdateOptionalParams
155
+ ): Promise<
156
+ PollerLike<
157
+ PollOperationState<AppServicePlansCreateOrUpdateResponse>,
158
+ AppServicePlansCreateOrUpdateResponse
159
+ >
160
+ >;
161
+ /**
162
+ * Description for Creates or updates an App Service Plan.
163
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
164
+ * @param name Name of the App Service plan.
165
+ * @param appServicePlan Details of the App Service plan.
166
+ * @param options The options parameters.
167
+ */
168
+ beginCreateOrUpdateAndWait(
169
+ resourceGroupName: string,
170
+ name: string,
171
+ appServicePlan: AppServicePlan,
172
+ options?: AppServicePlansCreateOrUpdateOptionalParams
173
+ ): Promise<AppServicePlansCreateOrUpdateResponse>;
174
+ /**
175
+ * Description for Delete an App Service plan.
176
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
177
+ * @param name Name of the App Service plan.
178
+ * @param options The options parameters.
179
+ */
180
+ delete(
181
+ resourceGroupName: string,
182
+ name: string,
183
+ options?: AppServicePlansDeleteOptionalParams
184
+ ): Promise<void>;
185
+ /**
186
+ * Description for Creates or updates an App Service Plan.
187
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
188
+ * @param name Name of the App Service plan.
189
+ * @param appServicePlan Details of the App Service plan.
190
+ * @param options The options parameters.
191
+ */
192
+ update(
193
+ resourceGroupName: string,
194
+ name: string,
195
+ appServicePlan: AppServicePlanPatchResource,
196
+ options?: AppServicePlansUpdateOptionalParams
197
+ ): Promise<AppServicePlansUpdateResponse>;
198
+ /**
199
+ * Description for List all capabilities of an App Service plan.
200
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
201
+ * @param name Name of the App Service plan.
202
+ * @param options The options parameters.
203
+ */
204
+ listCapabilities(
205
+ resourceGroupName: string,
206
+ name: string,
207
+ options?: AppServicePlansListCapabilitiesOptionalParams
208
+ ): Promise<AppServicePlansListCapabilitiesResponse>;
209
+ /**
210
+ * Description for Retrieve a Hybrid Connection in use in an App Service plan.
211
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
212
+ * @param name Name of the App Service plan.
213
+ * @param namespaceName Name of the Service Bus namespace.
214
+ * @param relayName Name of the Service Bus relay.
215
+ * @param options The options parameters.
216
+ */
217
+ getHybridConnection(
218
+ resourceGroupName: string,
219
+ name: string,
220
+ namespaceName: string,
221
+ relayName: string,
222
+ options?: AppServicePlansGetHybridConnectionOptionalParams
223
+ ): Promise<AppServicePlansGetHybridConnectionResponse>;
224
+ /**
225
+ * Description for Delete a Hybrid Connection in use in an App Service plan.
226
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
227
+ * @param name Name of the App Service plan.
228
+ * @param namespaceName Name of the Service Bus namespace.
229
+ * @param relayName Name of the Service Bus relay.
230
+ * @param options The options parameters.
231
+ */
232
+ deleteHybridConnection(
233
+ resourceGroupName: string,
234
+ name: string,
235
+ namespaceName: string,
236
+ relayName: string,
237
+ options?: AppServicePlansDeleteHybridConnectionOptionalParams
238
+ ): Promise<void>;
239
+ /**
240
+ * Description for Get the send key name and value of a Hybrid Connection.
241
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
242
+ * @param name Name of the App Service plan.
243
+ * @param namespaceName The name of the Service Bus namespace.
244
+ * @param relayName The name of the Service Bus relay.
245
+ * @param options The options parameters.
246
+ */
247
+ listHybridConnectionKeys(
248
+ resourceGroupName: string,
249
+ name: string,
250
+ namespaceName: string,
251
+ relayName: string,
252
+ options?: AppServicePlansListHybridConnectionKeysOptionalParams
253
+ ): Promise<AppServicePlansListHybridConnectionKeysResponse>;
254
+ /**
255
+ * Description for Get the maximum number of Hybrid Connections allowed in an App Service plan.
256
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
257
+ * @param name Name of the App Service plan.
258
+ * @param options The options parameters.
259
+ */
260
+ getHybridConnectionPlanLimit(
261
+ resourceGroupName: string,
262
+ name: string,
263
+ options?: AppServicePlansGetHybridConnectionPlanLimitOptionalParams
264
+ ): Promise<AppServicePlansGetHybridConnectionPlanLimitResponse>;
265
+ /**
266
+ * Description for Restart all apps in an App Service plan.
267
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
268
+ * @param name Name of the App Service plan.
269
+ * @param options The options parameters.
270
+ */
271
+ restartWebApps(
272
+ resourceGroupName: string,
273
+ name: string,
274
+ options?: AppServicePlansRestartWebAppsOptionalParams
275
+ ): Promise<void>;
276
+ /**
277
+ * Description for Gets all selectable SKUs for a given App Service Plan
278
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
279
+ * @param name Name of App Service Plan
280
+ * @param options The options parameters.
281
+ */
282
+ getServerFarmSkus(
283
+ resourceGroupName: string,
284
+ name: string,
285
+ options?: AppServicePlansGetServerFarmSkusOptionalParams
286
+ ): Promise<AppServicePlansGetServerFarmSkusResponse>;
287
+ /**
288
+ * Description for Get all Virtual Networks associated with an App Service plan.
289
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
290
+ * @param name Name of the App Service plan.
291
+ * @param options The options parameters.
292
+ */
293
+ listVnets(
294
+ resourceGroupName: string,
295
+ name: string,
296
+ options?: AppServicePlansListVnetsOptionalParams
297
+ ): Promise<AppServicePlansListVnetsResponse>;
298
+ /**
299
+ * Description for Get a Virtual Network associated with an App Service plan.
300
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
301
+ * @param name Name of the App Service plan.
302
+ * @param vnetName Name of the Virtual Network.
303
+ * @param options The options parameters.
304
+ */
305
+ getVnetFromServerFarm(
306
+ resourceGroupName: string,
307
+ name: string,
308
+ vnetName: string,
309
+ options?: AppServicePlansGetVnetFromServerFarmOptionalParams
310
+ ): Promise<AppServicePlansGetVnetFromServerFarmResponse>;
311
+ /**
312
+ * Description for Get a Virtual Network gateway.
313
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
314
+ * @param name Name of the App Service plan.
315
+ * @param vnetName Name of the Virtual Network.
316
+ * @param gatewayName Name of the gateway. Only the 'primary' gateway is supported.
317
+ * @param options The options parameters.
318
+ */
319
+ getVnetGateway(
320
+ resourceGroupName: string,
321
+ name: string,
322
+ vnetName: string,
323
+ gatewayName: string,
324
+ options?: AppServicePlansGetVnetGatewayOptionalParams
325
+ ): Promise<AppServicePlansGetVnetGatewayResponse>;
326
+ /**
327
+ * Description for Update a Virtual Network gateway.
328
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
329
+ * @param name Name of the App Service plan.
330
+ * @param vnetName Name of the Virtual Network.
331
+ * @param gatewayName Name of the gateway. Only the 'primary' gateway is supported.
332
+ * @param connectionEnvelope Definition of the gateway.
333
+ * @param options The options parameters.
334
+ */
335
+ updateVnetGateway(
336
+ resourceGroupName: string,
337
+ name: string,
338
+ vnetName: string,
339
+ gatewayName: string,
340
+ connectionEnvelope: VnetGateway,
341
+ options?: AppServicePlansUpdateVnetGatewayOptionalParams
342
+ ): Promise<AppServicePlansUpdateVnetGatewayResponse>;
343
+ /**
344
+ * Description for Get all routes that are associated with a Virtual Network in an App Service plan.
345
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
346
+ * @param name Name of the App Service plan.
347
+ * @param vnetName Name of the Virtual Network.
348
+ * @param options The options parameters.
349
+ */
350
+ listRoutesForVnet(
351
+ resourceGroupName: string,
352
+ name: string,
353
+ vnetName: string,
354
+ options?: AppServicePlansListRoutesForVnetOptionalParams
355
+ ): Promise<AppServicePlansListRoutesForVnetResponse>;
356
+ /**
357
+ * Description for Get a Virtual Network route in an App Service plan.
358
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
359
+ * @param name Name of the App Service plan.
360
+ * @param vnetName Name of the Virtual Network.
361
+ * @param routeName Name of the Virtual Network route.
362
+ * @param options The options parameters.
363
+ */
364
+ getRouteForVnet(
365
+ resourceGroupName: string,
366
+ name: string,
367
+ vnetName: string,
368
+ routeName: string,
369
+ options?: AppServicePlansGetRouteForVnetOptionalParams
370
+ ): Promise<AppServicePlansGetRouteForVnetResponse>;
371
+ /**
372
+ * Description for Create or update a Virtual Network route in an App Service plan.
373
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
374
+ * @param name Name of the App Service plan.
375
+ * @param vnetName Name of the Virtual Network.
376
+ * @param routeName Name of the Virtual Network route.
377
+ * @param route Definition of the Virtual Network route.
378
+ * @param options The options parameters.
379
+ */
380
+ createOrUpdateVnetRoute(
381
+ resourceGroupName: string,
382
+ name: string,
383
+ vnetName: string,
384
+ routeName: string,
385
+ route: VnetRoute,
386
+ options?: AppServicePlansCreateOrUpdateVnetRouteOptionalParams
387
+ ): Promise<AppServicePlansCreateOrUpdateVnetRouteResponse>;
388
+ /**
389
+ * Description for Delete a Virtual Network route in an App Service plan.
390
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
391
+ * @param name Name of the App Service plan.
392
+ * @param vnetName Name of the Virtual Network.
393
+ * @param routeName Name of the Virtual Network route.
394
+ * @param options The options parameters.
395
+ */
396
+ deleteVnetRoute(
397
+ resourceGroupName: string,
398
+ name: string,
399
+ vnetName: string,
400
+ routeName: string,
401
+ options?: AppServicePlansDeleteVnetRouteOptionalParams
402
+ ): Promise<void>;
403
+ /**
404
+ * Description for Create or update a Virtual Network route in an App Service plan.
405
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
406
+ * @param name Name of the App Service plan.
407
+ * @param vnetName Name of the Virtual Network.
408
+ * @param routeName Name of the Virtual Network route.
409
+ * @param route Definition of the Virtual Network route.
410
+ * @param options The options parameters.
411
+ */
412
+ updateVnetRoute(
413
+ resourceGroupName: string,
414
+ name: string,
415
+ vnetName: string,
416
+ routeName: string,
417
+ route: VnetRoute,
418
+ options?: AppServicePlansUpdateVnetRouteOptionalParams
419
+ ): Promise<AppServicePlansUpdateVnetRouteResponse>;
420
+ /**
421
+ * Description for Reboot a worker machine in an App Service plan.
422
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
423
+ * @param name Name of the App Service plan.
424
+ * @param workerName Name of worker machine, which typically starts with RD.
425
+ * @param options The options parameters.
426
+ */
427
+ rebootWorker(
428
+ resourceGroupName: string,
429
+ name: string,
430
+ workerName: string,
431
+ options?: AppServicePlansRebootWorkerOptionalParams
432
+ ): Promise<void>;
433
+ }
@@ -0,0 +1,47 @@
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
+ DetectorResponse,
13
+ CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams,
14
+ CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams,
15
+ CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse
16
+ } from "../models";
17
+
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Interface representing a CertificateOrdersDiagnostics. */
20
+ export interface CertificateOrdersDiagnostics {
21
+ /**
22
+ * Description for Microsoft.CertificateRegistration to get the list of detectors for this RP.
23
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
24
+ * @param certificateOrderName The certificate order name for which the response is needed.
25
+ * @param options The options parameters.
26
+ */
27
+ listAppServiceCertificateOrderDetectorResponse(
28
+ resourceGroupName: string,
29
+ certificateOrderName: string,
30
+ options?: CertificateOrdersDiagnosticsListAppServiceCertificateOrderDetectorResponseOptionalParams
31
+ ): PagedAsyncIterableIterator<DetectorResponse>;
32
+ /**
33
+ * Description for Microsoft.CertificateRegistration call to get a detector response from App Lens.
34
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
35
+ * @param certificateOrderName The certificate order name for which the response is needed.
36
+ * @param detectorName The detector name which needs to be run.
37
+ * @param options The options parameters.
38
+ */
39
+ getAppServiceCertificateOrderDetectorResponse(
40
+ resourceGroupName: string,
41
+ certificateOrderName: string,
42
+ detectorName: string,
43
+ options?: CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseOptionalParams
44
+ ): Promise<
45
+ CertificateOrdersDiagnosticsGetAppServiceCertificateOrderDetectorResponseResponse
46
+ >;
47
+ }
@@ -0,0 +1,27 @@
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
+ CsmOperationDescription,
13
+ CertificateRegistrationProviderListOperationsOptionalParams
14
+ } from "../models";
15
+
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Interface representing a CertificateRegistrationProvider. */
18
+ export interface CertificateRegistrationProvider {
19
+ /**
20
+ * Description for Implements Csm operations Api to exposes the list of available Csm Apis under the
21
+ * resource provider
22
+ * @param options The options parameters.
23
+ */
24
+ listOperations(
25
+ options?: CertificateRegistrationProviderListOperationsOptionalParams
26
+ ): PagedAsyncIterableIterator<CsmOperationDescription>;
27
+ }
@@ -0,0 +1,92 @@
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
+ Certificate,
13
+ CertificatesListOptionalParams,
14
+ CertificatesListByResourceGroupOptionalParams,
15
+ CertificatesGetOptionalParams,
16
+ CertificatesGetResponse,
17
+ CertificatesCreateOrUpdateOptionalParams,
18
+ CertificatesCreateOrUpdateResponse,
19
+ CertificatesDeleteOptionalParams,
20
+ CertificatePatchResource,
21
+ CertificatesUpdateOptionalParams,
22
+ CertificatesUpdateResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a Certificates. */
27
+ export interface Certificates {
28
+ /**
29
+ * Description for Get all certificates for a subscription.
30
+ * @param options The options parameters.
31
+ */
32
+ list(
33
+ options?: CertificatesListOptionalParams
34
+ ): PagedAsyncIterableIterator<Certificate>;
35
+ /**
36
+ * Description for Get all certificates in a resource group.
37
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
38
+ * @param options The options parameters.
39
+ */
40
+ listByResourceGroup(
41
+ resourceGroupName: string,
42
+ options?: CertificatesListByResourceGroupOptionalParams
43
+ ): PagedAsyncIterableIterator<Certificate>;
44
+ /**
45
+ * Description for Get a certificate.
46
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
47
+ * @param name Name of the certificate.
48
+ * @param options The options parameters.
49
+ */
50
+ get(
51
+ resourceGroupName: string,
52
+ name: string,
53
+ options?: CertificatesGetOptionalParams
54
+ ): Promise<CertificatesGetResponse>;
55
+ /**
56
+ * Description for Create or update a certificate.
57
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
58
+ * @param name Name of the certificate.
59
+ * @param certificateEnvelope Details of certificate, if it exists already.
60
+ * @param options The options parameters.
61
+ */
62
+ createOrUpdate(
63
+ resourceGroupName: string,
64
+ name: string,
65
+ certificateEnvelope: Certificate,
66
+ options?: CertificatesCreateOrUpdateOptionalParams
67
+ ): Promise<CertificatesCreateOrUpdateResponse>;
68
+ /**
69
+ * Description for Delete a certificate.
70
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
71
+ * @param name Name of the certificate.
72
+ * @param options The options parameters.
73
+ */
74
+ delete(
75
+ resourceGroupName: string,
76
+ name: string,
77
+ options?: CertificatesDeleteOptionalParams
78
+ ): Promise<void>;
79
+ /**
80
+ * Description for Create or update a certificate.
81
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
82
+ * @param name Name of the certificate.
83
+ * @param certificateEnvelope Details of certificate, if it exists already.
84
+ * @param options The options parameters.
85
+ */
86
+ update(
87
+ resourceGroupName: string,
88
+ name: string,
89
+ certificateEnvelope: CertificatePatchResource,
90
+ options?: CertificatesUpdateOptionalParams
91
+ ): Promise<CertificatesUpdateResponse>;
92
+ }
@@ -0,0 +1,49 @@
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
+ DeletedSite,
13
+ DeletedWebAppsListOptionalParams,
14
+ DeletedWebAppsListByLocationOptionalParams,
15
+ DeletedWebAppsGetDeletedWebAppByLocationOptionalParams,
16
+ DeletedWebAppsGetDeletedWebAppByLocationResponse
17
+ } from "../models";
18
+
19
+ /// <reference lib="esnext.asynciterable" />
20
+ /** Interface representing a DeletedWebApps. */
21
+ export interface DeletedWebApps {
22
+ /**
23
+ * Description for Get all deleted apps for a subscription.
24
+ * @param options The options parameters.
25
+ */
26
+ list(
27
+ options?: DeletedWebAppsListOptionalParams
28
+ ): PagedAsyncIterableIterator<DeletedSite>;
29
+ /**
30
+ * Description for Get all deleted apps for a subscription at location
31
+ * @param location
32
+ * @param options The options parameters.
33
+ */
34
+ listByLocation(
35
+ location: string,
36
+ options?: DeletedWebAppsListByLocationOptionalParams
37
+ ): PagedAsyncIterableIterator<DeletedSite>;
38
+ /**
39
+ * Description for Get deleted app for a subscription at location.
40
+ * @param location
41
+ * @param deletedSiteId The numeric ID of the deleted app, e.g. 12345
42
+ * @param options The options parameters.
43
+ */
44
+ getDeletedWebAppByLocation(
45
+ location: string,
46
+ deletedSiteId: string,
47
+ options?: DeletedWebAppsGetDeletedWebAppByLocationOptionalParams
48
+ ): Promise<DeletedWebAppsGetDeletedWebAppByLocationResponse>;
49
+ }