@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,1373 @@
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 { AppServiceCertificateOrders } from "../operationsInterfaces";
12
+ import * as coreClient from "@azure/core-client";
13
+ import * as Mappers from "../models/mappers";
14
+ import * as Parameters from "../models/parameters";
15
+ import { WebSiteManagementClientContext } from "../webSiteManagementClientContext";
16
+ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
17
+ import { LroImpl } from "../lroImpl";
18
+ import {
19
+ AppServiceCertificateOrder,
20
+ AppServiceCertificateOrdersListNextOptionalParams,
21
+ AppServiceCertificateOrdersListOptionalParams,
22
+ AppServiceCertificateOrdersListByResourceGroupNextOptionalParams,
23
+ AppServiceCertificateOrdersListByResourceGroupOptionalParams,
24
+ AppServiceCertificateResource,
25
+ AppServiceCertificateOrdersListCertificatesNextOptionalParams,
26
+ AppServiceCertificateOrdersListCertificatesOptionalParams,
27
+ AppServiceCertificateOrdersListResponse,
28
+ AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams,
29
+ AppServiceCertificateOrdersListByResourceGroupResponse,
30
+ AppServiceCertificateOrdersGetOptionalParams,
31
+ AppServiceCertificateOrdersGetResponse,
32
+ AppServiceCertificateOrdersCreateOrUpdateOptionalParams,
33
+ AppServiceCertificateOrdersCreateOrUpdateResponse,
34
+ AppServiceCertificateOrdersDeleteOptionalParams,
35
+ AppServiceCertificateOrderPatchResource,
36
+ AppServiceCertificateOrdersUpdateOptionalParams,
37
+ AppServiceCertificateOrdersUpdateResponse,
38
+ AppServiceCertificateOrdersListCertificatesResponse,
39
+ AppServiceCertificateOrdersGetCertificateOptionalParams,
40
+ AppServiceCertificateOrdersGetCertificateResponse,
41
+ AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams,
42
+ AppServiceCertificateOrdersCreateOrUpdateCertificateResponse,
43
+ AppServiceCertificateOrdersDeleteCertificateOptionalParams,
44
+ AppServiceCertificatePatchResource,
45
+ AppServiceCertificateOrdersUpdateCertificateOptionalParams,
46
+ AppServiceCertificateOrdersUpdateCertificateResponse,
47
+ ReissueCertificateOrderRequest,
48
+ AppServiceCertificateOrdersReissueOptionalParams,
49
+ RenewCertificateOrderRequest,
50
+ AppServiceCertificateOrdersRenewOptionalParams,
51
+ AppServiceCertificateOrdersResendEmailOptionalParams,
52
+ NameIdentifier,
53
+ AppServiceCertificateOrdersResendRequestEmailsOptionalParams,
54
+ SiteSealRequest,
55
+ AppServiceCertificateOrdersRetrieveSiteSealOptionalParams,
56
+ AppServiceCertificateOrdersRetrieveSiteSealResponse,
57
+ AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams,
58
+ AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams,
59
+ AppServiceCertificateOrdersRetrieveCertificateActionsResponse,
60
+ AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams,
61
+ AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse,
62
+ AppServiceCertificateOrdersListNextResponse,
63
+ AppServiceCertificateOrdersListByResourceGroupNextResponse,
64
+ AppServiceCertificateOrdersListCertificatesNextResponse
65
+ } from "../models";
66
+
67
+ /// <reference lib="esnext.asynciterable" />
68
+ /** Class representing a AppServiceCertificateOrders. */
69
+ export class AppServiceCertificateOrdersImpl
70
+ implements AppServiceCertificateOrders {
71
+ private readonly client: WebSiteManagementClientContext;
72
+
73
+ /**
74
+ * Initialize a new instance of the class AppServiceCertificateOrders class.
75
+ * @param client Reference to the service client
76
+ */
77
+ constructor(client: WebSiteManagementClientContext) {
78
+ this.client = client;
79
+ }
80
+
81
+ /**
82
+ * Description for List all certificate orders in a subscription.
83
+ * @param options The options parameters.
84
+ */
85
+ public list(
86
+ options?: AppServiceCertificateOrdersListOptionalParams
87
+ ): PagedAsyncIterableIterator<AppServiceCertificateOrder> {
88
+ const iter = this.listPagingAll(options);
89
+ return {
90
+ next() {
91
+ return iter.next();
92
+ },
93
+ [Symbol.asyncIterator]() {
94
+ return this;
95
+ },
96
+ byPage: () => {
97
+ return this.listPagingPage(options);
98
+ }
99
+ };
100
+ }
101
+
102
+ private async *listPagingPage(
103
+ options?: AppServiceCertificateOrdersListOptionalParams
104
+ ): AsyncIterableIterator<AppServiceCertificateOrder[]> {
105
+ let result = await this._list(options);
106
+ yield result.value || [];
107
+ let continuationToken = result.nextLink;
108
+ while (continuationToken) {
109
+ result = await this._listNext(continuationToken, options);
110
+ continuationToken = result.nextLink;
111
+ yield result.value || [];
112
+ }
113
+ }
114
+
115
+ private async *listPagingAll(
116
+ options?: AppServiceCertificateOrdersListOptionalParams
117
+ ): AsyncIterableIterator<AppServiceCertificateOrder> {
118
+ for await (const page of this.listPagingPage(options)) {
119
+ yield* page;
120
+ }
121
+ }
122
+
123
+ /**
124
+ * Description for Get certificate orders in a resource group.
125
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
126
+ * @param options The options parameters.
127
+ */
128
+ public listByResourceGroup(
129
+ resourceGroupName: string,
130
+ options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams
131
+ ): PagedAsyncIterableIterator<AppServiceCertificateOrder> {
132
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
133
+ return {
134
+ next() {
135
+ return iter.next();
136
+ },
137
+ [Symbol.asyncIterator]() {
138
+ return this;
139
+ },
140
+ byPage: () => {
141
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
142
+ }
143
+ };
144
+ }
145
+
146
+ private async *listByResourceGroupPagingPage(
147
+ resourceGroupName: string,
148
+ options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams
149
+ ): AsyncIterableIterator<AppServiceCertificateOrder[]> {
150
+ let result = await this._listByResourceGroup(resourceGroupName, options);
151
+ yield result.value || [];
152
+ let continuationToken = result.nextLink;
153
+ while (continuationToken) {
154
+ result = await this._listByResourceGroupNext(
155
+ resourceGroupName,
156
+ continuationToken,
157
+ options
158
+ );
159
+ continuationToken = result.nextLink;
160
+ yield result.value || [];
161
+ }
162
+ }
163
+
164
+ private async *listByResourceGroupPagingAll(
165
+ resourceGroupName: string,
166
+ options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams
167
+ ): AsyncIterableIterator<AppServiceCertificateOrder> {
168
+ for await (const page of this.listByResourceGroupPagingPage(
169
+ resourceGroupName,
170
+ options
171
+ )) {
172
+ yield* page;
173
+ }
174
+ }
175
+
176
+ /**
177
+ * Description for List all certificates associated with a certificate order.
178
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
179
+ * @param certificateOrderName Name of the certificate order.
180
+ * @param options The options parameters.
181
+ */
182
+ public listCertificates(
183
+ resourceGroupName: string,
184
+ certificateOrderName: string,
185
+ options?: AppServiceCertificateOrdersListCertificatesOptionalParams
186
+ ): PagedAsyncIterableIterator<AppServiceCertificateResource> {
187
+ const iter = this.listCertificatesPagingAll(
188
+ resourceGroupName,
189
+ certificateOrderName,
190
+ options
191
+ );
192
+ return {
193
+ next() {
194
+ return iter.next();
195
+ },
196
+ [Symbol.asyncIterator]() {
197
+ return this;
198
+ },
199
+ byPage: () => {
200
+ return this.listCertificatesPagingPage(
201
+ resourceGroupName,
202
+ certificateOrderName,
203
+ options
204
+ );
205
+ }
206
+ };
207
+ }
208
+
209
+ private async *listCertificatesPagingPage(
210
+ resourceGroupName: string,
211
+ certificateOrderName: string,
212
+ options?: AppServiceCertificateOrdersListCertificatesOptionalParams
213
+ ): AsyncIterableIterator<AppServiceCertificateResource[]> {
214
+ let result = await this._listCertificates(
215
+ resourceGroupName,
216
+ certificateOrderName,
217
+ options
218
+ );
219
+ yield result.value || [];
220
+ let continuationToken = result.nextLink;
221
+ while (continuationToken) {
222
+ result = await this._listCertificatesNext(
223
+ resourceGroupName,
224
+ certificateOrderName,
225
+ continuationToken,
226
+ options
227
+ );
228
+ continuationToken = result.nextLink;
229
+ yield result.value || [];
230
+ }
231
+ }
232
+
233
+ private async *listCertificatesPagingAll(
234
+ resourceGroupName: string,
235
+ certificateOrderName: string,
236
+ options?: AppServiceCertificateOrdersListCertificatesOptionalParams
237
+ ): AsyncIterableIterator<AppServiceCertificateResource> {
238
+ for await (const page of this.listCertificatesPagingPage(
239
+ resourceGroupName,
240
+ certificateOrderName,
241
+ options
242
+ )) {
243
+ yield* page;
244
+ }
245
+ }
246
+
247
+ /**
248
+ * Description for List all certificate orders in a subscription.
249
+ * @param options The options parameters.
250
+ */
251
+ private _list(
252
+ options?: AppServiceCertificateOrdersListOptionalParams
253
+ ): Promise<AppServiceCertificateOrdersListResponse> {
254
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
255
+ }
256
+
257
+ /**
258
+ * Description for Validate information for a certificate order.
259
+ * @param appServiceCertificateOrder Information for a certificate order.
260
+ * @param options The options parameters.
261
+ */
262
+ validatePurchaseInformation(
263
+ appServiceCertificateOrder: AppServiceCertificateOrder,
264
+ options?: AppServiceCertificateOrdersValidatePurchaseInformationOptionalParams
265
+ ): Promise<void> {
266
+ return this.client.sendOperationRequest(
267
+ { appServiceCertificateOrder, options },
268
+ validatePurchaseInformationOperationSpec
269
+ );
270
+ }
271
+
272
+ /**
273
+ * Description for Get certificate orders in a resource group.
274
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
275
+ * @param options The options parameters.
276
+ */
277
+ private _listByResourceGroup(
278
+ resourceGroupName: string,
279
+ options?: AppServiceCertificateOrdersListByResourceGroupOptionalParams
280
+ ): Promise<AppServiceCertificateOrdersListByResourceGroupResponse> {
281
+ return this.client.sendOperationRequest(
282
+ { resourceGroupName, options },
283
+ listByResourceGroupOperationSpec
284
+ );
285
+ }
286
+
287
+ /**
288
+ * Description for Get a certificate order.
289
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
290
+ * @param certificateOrderName Name of the certificate order..
291
+ * @param options The options parameters.
292
+ */
293
+ get(
294
+ resourceGroupName: string,
295
+ certificateOrderName: string,
296
+ options?: AppServiceCertificateOrdersGetOptionalParams
297
+ ): Promise<AppServiceCertificateOrdersGetResponse> {
298
+ return this.client.sendOperationRequest(
299
+ { resourceGroupName, certificateOrderName, options },
300
+ getOperationSpec
301
+ );
302
+ }
303
+
304
+ /**
305
+ * Description for Create or update a certificate purchase order.
306
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
307
+ * @param certificateOrderName Name of the certificate order.
308
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
309
+ * @param options The options parameters.
310
+ */
311
+ async beginCreateOrUpdate(
312
+ resourceGroupName: string,
313
+ certificateOrderName: string,
314
+ certificateDistinguishedName: AppServiceCertificateOrder,
315
+ options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams
316
+ ): Promise<
317
+ PollerLike<
318
+ PollOperationState<AppServiceCertificateOrdersCreateOrUpdateResponse>,
319
+ AppServiceCertificateOrdersCreateOrUpdateResponse
320
+ >
321
+ > {
322
+ const directSendOperation = async (
323
+ args: coreClient.OperationArguments,
324
+ spec: coreClient.OperationSpec
325
+ ): Promise<AppServiceCertificateOrdersCreateOrUpdateResponse> => {
326
+ return this.client.sendOperationRequest(args, spec);
327
+ };
328
+ const sendOperation = async (
329
+ args: coreClient.OperationArguments,
330
+ spec: coreClient.OperationSpec
331
+ ) => {
332
+ let currentRawResponse:
333
+ | coreClient.FullOperationResponse
334
+ | undefined = undefined;
335
+ const providedCallback = args.options?.onResponse;
336
+ const callback: coreClient.RawResponseCallback = (
337
+ rawResponse: coreClient.FullOperationResponse,
338
+ flatResponse: unknown
339
+ ) => {
340
+ currentRawResponse = rawResponse;
341
+ providedCallback?.(rawResponse, flatResponse);
342
+ };
343
+ const updatedArgs = {
344
+ ...args,
345
+ options: {
346
+ ...args.options,
347
+ onResponse: callback
348
+ }
349
+ };
350
+ const flatResponse = await directSendOperation(updatedArgs, spec);
351
+ return {
352
+ flatResponse,
353
+ rawResponse: {
354
+ statusCode: currentRawResponse!.status,
355
+ body: currentRawResponse!.parsedBody,
356
+ headers: currentRawResponse!.headers.toJSON()
357
+ }
358
+ };
359
+ };
360
+
361
+ const lro = new LroImpl(
362
+ sendOperation,
363
+ {
364
+ resourceGroupName,
365
+ certificateOrderName,
366
+ certificateDistinguishedName,
367
+ options
368
+ },
369
+ createOrUpdateOperationSpec
370
+ );
371
+ return new LroEngine(lro, {
372
+ resumeFrom: options?.resumeFrom,
373
+ intervalInMs: options?.updateIntervalInMs
374
+ });
375
+ }
376
+
377
+ /**
378
+ * Description for Create or update a certificate purchase order.
379
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
380
+ * @param certificateOrderName Name of the certificate order.
381
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
382
+ * @param options The options parameters.
383
+ */
384
+ async beginCreateOrUpdateAndWait(
385
+ resourceGroupName: string,
386
+ certificateOrderName: string,
387
+ certificateDistinguishedName: AppServiceCertificateOrder,
388
+ options?: AppServiceCertificateOrdersCreateOrUpdateOptionalParams
389
+ ): Promise<AppServiceCertificateOrdersCreateOrUpdateResponse> {
390
+ const poller = await this.beginCreateOrUpdate(
391
+ resourceGroupName,
392
+ certificateOrderName,
393
+ certificateDistinguishedName,
394
+ options
395
+ );
396
+ return poller.pollUntilDone();
397
+ }
398
+
399
+ /**
400
+ * Description for Delete an existing certificate order.
401
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
402
+ * @param certificateOrderName Name of the certificate order.
403
+ * @param options The options parameters.
404
+ */
405
+ delete(
406
+ resourceGroupName: string,
407
+ certificateOrderName: string,
408
+ options?: AppServiceCertificateOrdersDeleteOptionalParams
409
+ ): Promise<void> {
410
+ return this.client.sendOperationRequest(
411
+ { resourceGroupName, certificateOrderName, options },
412
+ deleteOperationSpec
413
+ );
414
+ }
415
+
416
+ /**
417
+ * Description for Create or update a certificate purchase order.
418
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
419
+ * @param certificateOrderName Name of the certificate order.
420
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
421
+ * @param options The options parameters.
422
+ */
423
+ update(
424
+ resourceGroupName: string,
425
+ certificateOrderName: string,
426
+ certificateDistinguishedName: AppServiceCertificateOrderPatchResource,
427
+ options?: AppServiceCertificateOrdersUpdateOptionalParams
428
+ ): Promise<AppServiceCertificateOrdersUpdateResponse> {
429
+ return this.client.sendOperationRequest(
430
+ {
431
+ resourceGroupName,
432
+ certificateOrderName,
433
+ certificateDistinguishedName,
434
+ options
435
+ },
436
+ updateOperationSpec
437
+ );
438
+ }
439
+
440
+ /**
441
+ * Description for List all certificates associated with a certificate order.
442
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
443
+ * @param certificateOrderName Name of the certificate order.
444
+ * @param options The options parameters.
445
+ */
446
+ private _listCertificates(
447
+ resourceGroupName: string,
448
+ certificateOrderName: string,
449
+ options?: AppServiceCertificateOrdersListCertificatesOptionalParams
450
+ ): Promise<AppServiceCertificateOrdersListCertificatesResponse> {
451
+ return this.client.sendOperationRequest(
452
+ { resourceGroupName, certificateOrderName, options },
453
+ listCertificatesOperationSpec
454
+ );
455
+ }
456
+
457
+ /**
458
+ * Description for Get the certificate associated with a certificate order.
459
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
460
+ * @param certificateOrderName Name of the certificate order.
461
+ * @param name Name of the certificate.
462
+ * @param options The options parameters.
463
+ */
464
+ getCertificate(
465
+ resourceGroupName: string,
466
+ certificateOrderName: string,
467
+ name: string,
468
+ options?: AppServiceCertificateOrdersGetCertificateOptionalParams
469
+ ): Promise<AppServiceCertificateOrdersGetCertificateResponse> {
470
+ return this.client.sendOperationRequest(
471
+ { resourceGroupName, certificateOrderName, name, options },
472
+ getCertificateOperationSpec
473
+ );
474
+ }
475
+
476
+ /**
477
+ * Description for Creates or updates a certificate and associates with key vault secret.
478
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
479
+ * @param certificateOrderName Name of the certificate order.
480
+ * @param name Name of the certificate.
481
+ * @param keyVaultCertificate Key vault certificate resource Id.
482
+ * @param options The options parameters.
483
+ */
484
+ async beginCreateOrUpdateCertificate(
485
+ resourceGroupName: string,
486
+ certificateOrderName: string,
487
+ name: string,
488
+ keyVaultCertificate: AppServiceCertificateResource,
489
+ options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams
490
+ ): Promise<
491
+ PollerLike<
492
+ PollOperationState<
493
+ AppServiceCertificateOrdersCreateOrUpdateCertificateResponse
494
+ >,
495
+ AppServiceCertificateOrdersCreateOrUpdateCertificateResponse
496
+ >
497
+ > {
498
+ const directSendOperation = async (
499
+ args: coreClient.OperationArguments,
500
+ spec: coreClient.OperationSpec
501
+ ): Promise<AppServiceCertificateOrdersCreateOrUpdateCertificateResponse> => {
502
+ return this.client.sendOperationRequest(args, spec);
503
+ };
504
+ const sendOperation = async (
505
+ args: coreClient.OperationArguments,
506
+ spec: coreClient.OperationSpec
507
+ ) => {
508
+ let currentRawResponse:
509
+ | coreClient.FullOperationResponse
510
+ | undefined = undefined;
511
+ const providedCallback = args.options?.onResponse;
512
+ const callback: coreClient.RawResponseCallback = (
513
+ rawResponse: coreClient.FullOperationResponse,
514
+ flatResponse: unknown
515
+ ) => {
516
+ currentRawResponse = rawResponse;
517
+ providedCallback?.(rawResponse, flatResponse);
518
+ };
519
+ const updatedArgs = {
520
+ ...args,
521
+ options: {
522
+ ...args.options,
523
+ onResponse: callback
524
+ }
525
+ };
526
+ const flatResponse = await directSendOperation(updatedArgs, spec);
527
+ return {
528
+ flatResponse,
529
+ rawResponse: {
530
+ statusCode: currentRawResponse!.status,
531
+ body: currentRawResponse!.parsedBody,
532
+ headers: currentRawResponse!.headers.toJSON()
533
+ }
534
+ };
535
+ };
536
+
537
+ const lro = new LroImpl(
538
+ sendOperation,
539
+ {
540
+ resourceGroupName,
541
+ certificateOrderName,
542
+ name,
543
+ keyVaultCertificate,
544
+ options
545
+ },
546
+ createOrUpdateCertificateOperationSpec
547
+ );
548
+ return new LroEngine(lro, {
549
+ resumeFrom: options?.resumeFrom,
550
+ intervalInMs: options?.updateIntervalInMs
551
+ });
552
+ }
553
+
554
+ /**
555
+ * Description for Creates or updates a certificate and associates with key vault secret.
556
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
557
+ * @param certificateOrderName Name of the certificate order.
558
+ * @param name Name of the certificate.
559
+ * @param keyVaultCertificate Key vault certificate resource Id.
560
+ * @param options The options parameters.
561
+ */
562
+ async beginCreateOrUpdateCertificateAndWait(
563
+ resourceGroupName: string,
564
+ certificateOrderName: string,
565
+ name: string,
566
+ keyVaultCertificate: AppServiceCertificateResource,
567
+ options?: AppServiceCertificateOrdersCreateOrUpdateCertificateOptionalParams
568
+ ): Promise<AppServiceCertificateOrdersCreateOrUpdateCertificateResponse> {
569
+ const poller = await this.beginCreateOrUpdateCertificate(
570
+ resourceGroupName,
571
+ certificateOrderName,
572
+ name,
573
+ keyVaultCertificate,
574
+ options
575
+ );
576
+ return poller.pollUntilDone();
577
+ }
578
+
579
+ /**
580
+ * Description for Delete the certificate associated with a certificate order.
581
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
582
+ * @param certificateOrderName Name of the certificate order.
583
+ * @param name Name of the certificate.
584
+ * @param options The options parameters.
585
+ */
586
+ deleteCertificate(
587
+ resourceGroupName: string,
588
+ certificateOrderName: string,
589
+ name: string,
590
+ options?: AppServiceCertificateOrdersDeleteCertificateOptionalParams
591
+ ): Promise<void> {
592
+ return this.client.sendOperationRequest(
593
+ { resourceGroupName, certificateOrderName, name, options },
594
+ deleteCertificateOperationSpec
595
+ );
596
+ }
597
+
598
+ /**
599
+ * Description for Creates or updates a certificate and associates with key vault secret.
600
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
601
+ * @param certificateOrderName Name of the certificate order.
602
+ * @param name Name of the certificate.
603
+ * @param keyVaultCertificate Key vault certificate resource Id.
604
+ * @param options The options parameters.
605
+ */
606
+ updateCertificate(
607
+ resourceGroupName: string,
608
+ certificateOrderName: string,
609
+ name: string,
610
+ keyVaultCertificate: AppServiceCertificatePatchResource,
611
+ options?: AppServiceCertificateOrdersUpdateCertificateOptionalParams
612
+ ): Promise<AppServiceCertificateOrdersUpdateCertificateResponse> {
613
+ return this.client.sendOperationRequest(
614
+ {
615
+ resourceGroupName,
616
+ certificateOrderName,
617
+ name,
618
+ keyVaultCertificate,
619
+ options
620
+ },
621
+ updateCertificateOperationSpec
622
+ );
623
+ }
624
+
625
+ /**
626
+ * Description for Reissue an existing certificate order.
627
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
628
+ * @param certificateOrderName Name of the certificate order.
629
+ * @param reissueCertificateOrderRequest Parameters for the reissue.
630
+ * @param options The options parameters.
631
+ */
632
+ reissue(
633
+ resourceGroupName: string,
634
+ certificateOrderName: string,
635
+ reissueCertificateOrderRequest: ReissueCertificateOrderRequest,
636
+ options?: AppServiceCertificateOrdersReissueOptionalParams
637
+ ): Promise<void> {
638
+ return this.client.sendOperationRequest(
639
+ {
640
+ resourceGroupName,
641
+ certificateOrderName,
642
+ reissueCertificateOrderRequest,
643
+ options
644
+ },
645
+ reissueOperationSpec
646
+ );
647
+ }
648
+
649
+ /**
650
+ * Description for Renew an existing certificate order.
651
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
652
+ * @param certificateOrderName Name of the certificate order.
653
+ * @param renewCertificateOrderRequest Renew parameters
654
+ * @param options The options parameters.
655
+ */
656
+ renew(
657
+ resourceGroupName: string,
658
+ certificateOrderName: string,
659
+ renewCertificateOrderRequest: RenewCertificateOrderRequest,
660
+ options?: AppServiceCertificateOrdersRenewOptionalParams
661
+ ): Promise<void> {
662
+ return this.client.sendOperationRequest(
663
+ {
664
+ resourceGroupName,
665
+ certificateOrderName,
666
+ renewCertificateOrderRequest,
667
+ options
668
+ },
669
+ renewOperationSpec
670
+ );
671
+ }
672
+
673
+ /**
674
+ * Description for Resend certificate email.
675
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
676
+ * @param certificateOrderName Name of the certificate order.
677
+ * @param options The options parameters.
678
+ */
679
+ resendEmail(
680
+ resourceGroupName: string,
681
+ certificateOrderName: string,
682
+ options?: AppServiceCertificateOrdersResendEmailOptionalParams
683
+ ): Promise<void> {
684
+ return this.client.sendOperationRequest(
685
+ { resourceGroupName, certificateOrderName, options },
686
+ resendEmailOperationSpec
687
+ );
688
+ }
689
+
690
+ /**
691
+ * Resend domain verification ownership email containing steps on how to verify a domain for a given
692
+ * certificate order
693
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
694
+ * @param certificateOrderName Name of the certificate order.
695
+ * @param nameIdentifier Email address
696
+ * @param options The options parameters.
697
+ */
698
+ resendRequestEmails(
699
+ resourceGroupName: string,
700
+ certificateOrderName: string,
701
+ nameIdentifier: NameIdentifier,
702
+ options?: AppServiceCertificateOrdersResendRequestEmailsOptionalParams
703
+ ): Promise<void> {
704
+ return this.client.sendOperationRequest(
705
+ { resourceGroupName, certificateOrderName, nameIdentifier, options },
706
+ resendRequestEmailsOperationSpec
707
+ );
708
+ }
709
+
710
+ /**
711
+ * This method is used to obtain the site seal information for an issued certificate. A site seal is a
712
+ * graphic that the certificate purchaser can embed on their web site to show their visitors
713
+ * information about their SSL certificate. If a web site visitor clicks on the site seal image, a
714
+ * pop-up page is displayed that contains detailed information about the SSL certificate. The site seal
715
+ * token is used to link the site seal graphic image to the appropriate certificate details pop-up page
716
+ * display when a user clicks on the site seal. The site seal images are expected to be static images
717
+ * and hosted by the reseller, to minimize delays for customer page load times.
718
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
719
+ * @param certificateOrderName Name of the certificate order.
720
+ * @param siteSealRequest Site seal request.
721
+ * @param options The options parameters.
722
+ */
723
+ retrieveSiteSeal(
724
+ resourceGroupName: string,
725
+ certificateOrderName: string,
726
+ siteSealRequest: SiteSealRequest,
727
+ options?: AppServiceCertificateOrdersRetrieveSiteSealOptionalParams
728
+ ): Promise<AppServiceCertificateOrdersRetrieveSiteSealResponse> {
729
+ return this.client.sendOperationRequest(
730
+ { resourceGroupName, certificateOrderName, siteSealRequest, options },
731
+ retrieveSiteSealOperationSpec
732
+ );
733
+ }
734
+
735
+ /**
736
+ * Description for Verify domain ownership for this certificate order.
737
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
738
+ * @param certificateOrderName Name of the certificate order.
739
+ * @param options The options parameters.
740
+ */
741
+ verifyDomainOwnership(
742
+ resourceGroupName: string,
743
+ certificateOrderName: string,
744
+ options?: AppServiceCertificateOrdersVerifyDomainOwnershipOptionalParams
745
+ ): Promise<void> {
746
+ return this.client.sendOperationRequest(
747
+ { resourceGroupName, certificateOrderName, options },
748
+ verifyDomainOwnershipOperationSpec
749
+ );
750
+ }
751
+
752
+ /**
753
+ * Description for Retrieve the list of certificate actions.
754
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
755
+ * @param name Name of the certificate order.
756
+ * @param options The options parameters.
757
+ */
758
+ retrieveCertificateActions(
759
+ resourceGroupName: string,
760
+ name: string,
761
+ options?: AppServiceCertificateOrdersRetrieveCertificateActionsOptionalParams
762
+ ): Promise<AppServiceCertificateOrdersRetrieveCertificateActionsResponse> {
763
+ return this.client.sendOperationRequest(
764
+ { resourceGroupName, name, options },
765
+ retrieveCertificateActionsOperationSpec
766
+ );
767
+ }
768
+
769
+ /**
770
+ * Description for Retrieve email history.
771
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
772
+ * @param name Name of the certificate order.
773
+ * @param options The options parameters.
774
+ */
775
+ retrieveCertificateEmailHistory(
776
+ resourceGroupName: string,
777
+ name: string,
778
+ options?: AppServiceCertificateOrdersRetrieveCertificateEmailHistoryOptionalParams
779
+ ): Promise<
780
+ AppServiceCertificateOrdersRetrieveCertificateEmailHistoryResponse
781
+ > {
782
+ return this.client.sendOperationRequest(
783
+ { resourceGroupName, name, options },
784
+ retrieveCertificateEmailHistoryOperationSpec
785
+ );
786
+ }
787
+
788
+ /**
789
+ * ListNext
790
+ * @param nextLink The nextLink from the previous successful call to the List method.
791
+ * @param options The options parameters.
792
+ */
793
+ private _listNext(
794
+ nextLink: string,
795
+ options?: AppServiceCertificateOrdersListNextOptionalParams
796
+ ): Promise<AppServiceCertificateOrdersListNextResponse> {
797
+ return this.client.sendOperationRequest(
798
+ { nextLink, options },
799
+ listNextOperationSpec
800
+ );
801
+ }
802
+
803
+ /**
804
+ * ListByResourceGroupNext
805
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
806
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
807
+ * @param options The options parameters.
808
+ */
809
+ private _listByResourceGroupNext(
810
+ resourceGroupName: string,
811
+ nextLink: string,
812
+ options?: AppServiceCertificateOrdersListByResourceGroupNextOptionalParams
813
+ ): Promise<AppServiceCertificateOrdersListByResourceGroupNextResponse> {
814
+ return this.client.sendOperationRequest(
815
+ { resourceGroupName, nextLink, options },
816
+ listByResourceGroupNextOperationSpec
817
+ );
818
+ }
819
+
820
+ /**
821
+ * ListCertificatesNext
822
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
823
+ * @param certificateOrderName Name of the certificate order.
824
+ * @param nextLink The nextLink from the previous successful call to the ListCertificates method.
825
+ * @param options The options parameters.
826
+ */
827
+ private _listCertificatesNext(
828
+ resourceGroupName: string,
829
+ certificateOrderName: string,
830
+ nextLink: string,
831
+ options?: AppServiceCertificateOrdersListCertificatesNextOptionalParams
832
+ ): Promise<AppServiceCertificateOrdersListCertificatesNextResponse> {
833
+ return this.client.sendOperationRequest(
834
+ { resourceGroupName, certificateOrderName, nextLink, options },
835
+ listCertificatesNextOperationSpec
836
+ );
837
+ }
838
+ }
839
+ // Operation Specifications
840
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
841
+
842
+ const listOperationSpec: coreClient.OperationSpec = {
843
+ path:
844
+ "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders",
845
+ httpMethod: "GET",
846
+ responses: {
847
+ 200: {
848
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
849
+ },
850
+ default: {
851
+ bodyMapper: Mappers.DefaultErrorResponse
852
+ }
853
+ },
854
+ queryParameters: [Parameters.apiVersion],
855
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
856
+ headerParameters: [Parameters.accept],
857
+ serializer
858
+ };
859
+ const validatePurchaseInformationOperationSpec: coreClient.OperationSpec = {
860
+ path:
861
+ "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/validateCertificateRegistrationInformation",
862
+ httpMethod: "POST",
863
+ responses: {
864
+ 204: {},
865
+ default: {
866
+ bodyMapper: Mappers.DefaultErrorResponse
867
+ }
868
+ },
869
+ requestBody: Parameters.appServiceCertificateOrder,
870
+ queryParameters: [Parameters.apiVersion],
871
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
872
+ headerParameters: [Parameters.accept, Parameters.contentType],
873
+ mediaType: "json",
874
+ serializer
875
+ };
876
+ const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
877
+ path:
878
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders",
879
+ httpMethod: "GET",
880
+ responses: {
881
+ 200: {
882
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
883
+ },
884
+ default: {
885
+ bodyMapper: Mappers.DefaultErrorResponse
886
+ }
887
+ },
888
+ queryParameters: [Parameters.apiVersion],
889
+ urlParameters: [
890
+ Parameters.$host,
891
+ Parameters.subscriptionId,
892
+ Parameters.resourceGroupName
893
+ ],
894
+ headerParameters: [Parameters.accept],
895
+ serializer
896
+ };
897
+ const getOperationSpec: coreClient.OperationSpec = {
898
+ path:
899
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
900
+ httpMethod: "GET",
901
+ responses: {
902
+ 200: {
903
+ bodyMapper: Mappers.AppServiceCertificateOrder
904
+ },
905
+ default: {
906
+ bodyMapper: Mappers.DefaultErrorResponse
907
+ }
908
+ },
909
+ queryParameters: [Parameters.apiVersion],
910
+ urlParameters: [
911
+ Parameters.$host,
912
+ Parameters.subscriptionId,
913
+ Parameters.resourceGroupName,
914
+ Parameters.certificateOrderName
915
+ ],
916
+ headerParameters: [Parameters.accept],
917
+ serializer
918
+ };
919
+ const createOrUpdateOperationSpec: coreClient.OperationSpec = {
920
+ path:
921
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
922
+ httpMethod: "PUT",
923
+ responses: {
924
+ 200: {
925
+ bodyMapper: Mappers.AppServiceCertificateOrder
926
+ },
927
+ 201: {
928
+ bodyMapper: Mappers.AppServiceCertificateOrder
929
+ },
930
+ 202: {
931
+ bodyMapper: Mappers.AppServiceCertificateOrder
932
+ },
933
+ 204: {
934
+ bodyMapper: Mappers.AppServiceCertificateOrder
935
+ },
936
+ default: {
937
+ bodyMapper: Mappers.DefaultErrorResponse
938
+ }
939
+ },
940
+ requestBody: Parameters.certificateDistinguishedName,
941
+ queryParameters: [Parameters.apiVersion],
942
+ urlParameters: [
943
+ Parameters.$host,
944
+ Parameters.subscriptionId,
945
+ Parameters.resourceGroupName,
946
+ Parameters.certificateOrderName
947
+ ],
948
+ headerParameters: [Parameters.accept, Parameters.contentType],
949
+ mediaType: "json",
950
+ serializer
951
+ };
952
+ const deleteOperationSpec: coreClient.OperationSpec = {
953
+ path:
954
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
955
+ httpMethod: "DELETE",
956
+ responses: {
957
+ 200: {},
958
+ 204: {},
959
+ default: {
960
+ bodyMapper: Mappers.DefaultErrorResponse
961
+ }
962
+ },
963
+ queryParameters: [Parameters.apiVersion],
964
+ urlParameters: [
965
+ Parameters.$host,
966
+ Parameters.subscriptionId,
967
+ Parameters.resourceGroupName,
968
+ Parameters.certificateOrderName
969
+ ],
970
+ headerParameters: [Parameters.accept],
971
+ serializer
972
+ };
973
+ const updateOperationSpec: coreClient.OperationSpec = {
974
+ path:
975
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
976
+ httpMethod: "PATCH",
977
+ responses: {
978
+ 200: {
979
+ bodyMapper: Mappers.AppServiceCertificateOrder
980
+ },
981
+ default: {
982
+ bodyMapper: Mappers.DefaultErrorResponse
983
+ }
984
+ },
985
+ requestBody: Parameters.certificateDistinguishedName1,
986
+ queryParameters: [Parameters.apiVersion],
987
+ urlParameters: [
988
+ Parameters.$host,
989
+ Parameters.subscriptionId,
990
+ Parameters.resourceGroupName,
991
+ Parameters.certificateOrderName
992
+ ],
993
+ headerParameters: [Parameters.accept, Parameters.contentType],
994
+ mediaType: "json",
995
+ serializer
996
+ };
997
+ const listCertificatesOperationSpec: coreClient.OperationSpec = {
998
+ path:
999
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates",
1000
+ httpMethod: "GET",
1001
+ responses: {
1002
+ 200: {
1003
+ bodyMapper: Mappers.AppServiceCertificateCollection
1004
+ },
1005
+ default: {
1006
+ bodyMapper: Mappers.DefaultErrorResponse
1007
+ }
1008
+ },
1009
+ queryParameters: [Parameters.apiVersion],
1010
+ urlParameters: [
1011
+ Parameters.$host,
1012
+ Parameters.subscriptionId,
1013
+ Parameters.resourceGroupName,
1014
+ Parameters.certificateOrderName
1015
+ ],
1016
+ headerParameters: [Parameters.accept],
1017
+ serializer
1018
+ };
1019
+ const getCertificateOperationSpec: coreClient.OperationSpec = {
1020
+ path:
1021
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
1022
+ httpMethod: "GET",
1023
+ responses: {
1024
+ 200: {
1025
+ bodyMapper: Mappers.AppServiceCertificateResource
1026
+ },
1027
+ default: {
1028
+ bodyMapper: Mappers.DefaultErrorResponse
1029
+ }
1030
+ },
1031
+ queryParameters: [Parameters.apiVersion],
1032
+ urlParameters: [
1033
+ Parameters.$host,
1034
+ Parameters.subscriptionId,
1035
+ Parameters.resourceGroupName,
1036
+ Parameters.certificateOrderName,
1037
+ Parameters.name
1038
+ ],
1039
+ headerParameters: [Parameters.accept],
1040
+ serializer
1041
+ };
1042
+ const createOrUpdateCertificateOperationSpec: coreClient.OperationSpec = {
1043
+ path:
1044
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
1045
+ httpMethod: "PUT",
1046
+ responses: {
1047
+ 200: {
1048
+ bodyMapper: Mappers.AppServiceCertificateResource
1049
+ },
1050
+ 201: {
1051
+ bodyMapper: Mappers.AppServiceCertificateResource
1052
+ },
1053
+ 202: {
1054
+ bodyMapper: Mappers.AppServiceCertificateResource
1055
+ },
1056
+ 204: {
1057
+ bodyMapper: Mappers.AppServiceCertificateResource
1058
+ },
1059
+ default: {
1060
+ bodyMapper: Mappers.DefaultErrorResponse
1061
+ }
1062
+ },
1063
+ requestBody: Parameters.keyVaultCertificate,
1064
+ queryParameters: [Parameters.apiVersion],
1065
+ urlParameters: [
1066
+ Parameters.$host,
1067
+ Parameters.subscriptionId,
1068
+ Parameters.resourceGroupName,
1069
+ Parameters.certificateOrderName,
1070
+ Parameters.name
1071
+ ],
1072
+ headerParameters: [Parameters.accept, Parameters.contentType],
1073
+ mediaType: "json",
1074
+ serializer
1075
+ };
1076
+ const deleteCertificateOperationSpec: coreClient.OperationSpec = {
1077
+ path:
1078
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
1079
+ httpMethod: "DELETE",
1080
+ responses: {
1081
+ 200: {},
1082
+ 204: {},
1083
+ default: {
1084
+ bodyMapper: Mappers.DefaultErrorResponse
1085
+ }
1086
+ },
1087
+ queryParameters: [Parameters.apiVersion],
1088
+ urlParameters: [
1089
+ Parameters.$host,
1090
+ Parameters.subscriptionId,
1091
+ Parameters.resourceGroupName,
1092
+ Parameters.certificateOrderName,
1093
+ Parameters.name
1094
+ ],
1095
+ headerParameters: [Parameters.accept],
1096
+ serializer
1097
+ };
1098
+ const updateCertificateOperationSpec: coreClient.OperationSpec = {
1099
+ path:
1100
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
1101
+ httpMethod: "PATCH",
1102
+ responses: {
1103
+ 200: {
1104
+ bodyMapper: Mappers.AppServiceCertificateResource
1105
+ },
1106
+ default: {
1107
+ bodyMapper: Mappers.DefaultErrorResponse
1108
+ }
1109
+ },
1110
+ requestBody: Parameters.keyVaultCertificate1,
1111
+ queryParameters: [Parameters.apiVersion],
1112
+ urlParameters: [
1113
+ Parameters.$host,
1114
+ Parameters.subscriptionId,
1115
+ Parameters.resourceGroupName,
1116
+ Parameters.certificateOrderName,
1117
+ Parameters.name
1118
+ ],
1119
+ headerParameters: [Parameters.accept, Parameters.contentType],
1120
+ mediaType: "json",
1121
+ serializer
1122
+ };
1123
+ const reissueOperationSpec: coreClient.OperationSpec = {
1124
+ path:
1125
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue",
1126
+ httpMethod: "POST",
1127
+ responses: {
1128
+ 204: {},
1129
+ default: {
1130
+ bodyMapper: Mappers.DefaultErrorResponse
1131
+ }
1132
+ },
1133
+ requestBody: Parameters.reissueCertificateOrderRequest,
1134
+ queryParameters: [Parameters.apiVersion],
1135
+ urlParameters: [
1136
+ Parameters.$host,
1137
+ Parameters.subscriptionId,
1138
+ Parameters.resourceGroupName,
1139
+ Parameters.certificateOrderName
1140
+ ],
1141
+ headerParameters: [Parameters.accept, Parameters.contentType],
1142
+ mediaType: "json",
1143
+ serializer
1144
+ };
1145
+ const renewOperationSpec: coreClient.OperationSpec = {
1146
+ path:
1147
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew",
1148
+ httpMethod: "POST",
1149
+ responses: {
1150
+ 204: {},
1151
+ default: {
1152
+ bodyMapper: Mappers.DefaultErrorResponse
1153
+ }
1154
+ },
1155
+ requestBody: Parameters.renewCertificateOrderRequest,
1156
+ queryParameters: [Parameters.apiVersion],
1157
+ urlParameters: [
1158
+ Parameters.$host,
1159
+ Parameters.subscriptionId,
1160
+ Parameters.resourceGroupName,
1161
+ Parameters.certificateOrderName
1162
+ ],
1163
+ headerParameters: [Parameters.accept, Parameters.contentType],
1164
+ mediaType: "json",
1165
+ serializer
1166
+ };
1167
+ const resendEmailOperationSpec: coreClient.OperationSpec = {
1168
+ path:
1169
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail",
1170
+ httpMethod: "POST",
1171
+ responses: {
1172
+ 204: {},
1173
+ default: {
1174
+ bodyMapper: Mappers.DefaultErrorResponse
1175
+ }
1176
+ },
1177
+ queryParameters: [Parameters.apiVersion],
1178
+ urlParameters: [
1179
+ Parameters.$host,
1180
+ Parameters.subscriptionId,
1181
+ Parameters.resourceGroupName,
1182
+ Parameters.certificateOrderName
1183
+ ],
1184
+ headerParameters: [Parameters.accept],
1185
+ serializer
1186
+ };
1187
+ const resendRequestEmailsOperationSpec: coreClient.OperationSpec = {
1188
+ path:
1189
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendRequestEmails",
1190
+ httpMethod: "POST",
1191
+ responses: {
1192
+ 204: {},
1193
+ default: {
1194
+ bodyMapper: Mappers.DefaultErrorResponse
1195
+ }
1196
+ },
1197
+ requestBody: Parameters.nameIdentifier,
1198
+ queryParameters: [Parameters.apiVersion],
1199
+ urlParameters: [
1200
+ Parameters.$host,
1201
+ Parameters.subscriptionId,
1202
+ Parameters.resourceGroupName,
1203
+ Parameters.certificateOrderName
1204
+ ],
1205
+ headerParameters: [Parameters.accept, Parameters.contentType],
1206
+ mediaType: "json",
1207
+ serializer
1208
+ };
1209
+ const retrieveSiteSealOperationSpec: coreClient.OperationSpec = {
1210
+ path:
1211
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal",
1212
+ httpMethod: "POST",
1213
+ responses: {
1214
+ 200: {
1215
+ bodyMapper: Mappers.SiteSeal
1216
+ },
1217
+ default: {
1218
+ bodyMapper: Mappers.DefaultErrorResponse
1219
+ }
1220
+ },
1221
+ requestBody: Parameters.siteSealRequest,
1222
+ queryParameters: [Parameters.apiVersion],
1223
+ urlParameters: [
1224
+ Parameters.$host,
1225
+ Parameters.subscriptionId,
1226
+ Parameters.resourceGroupName,
1227
+ Parameters.certificateOrderName
1228
+ ],
1229
+ headerParameters: [Parameters.accept, Parameters.contentType],
1230
+ mediaType: "json",
1231
+ serializer
1232
+ };
1233
+ const verifyDomainOwnershipOperationSpec: coreClient.OperationSpec = {
1234
+ path:
1235
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership",
1236
+ httpMethod: "POST",
1237
+ responses: {
1238
+ 204: {},
1239
+ default: {
1240
+ bodyMapper: Mappers.DefaultErrorResponse
1241
+ }
1242
+ },
1243
+ queryParameters: [Parameters.apiVersion],
1244
+ urlParameters: [
1245
+ Parameters.$host,
1246
+ Parameters.subscriptionId,
1247
+ Parameters.resourceGroupName,
1248
+ Parameters.certificateOrderName
1249
+ ],
1250
+ headerParameters: [Parameters.accept],
1251
+ serializer
1252
+ };
1253
+ const retrieveCertificateActionsOperationSpec: coreClient.OperationSpec = {
1254
+ path:
1255
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveCertificateActions",
1256
+ httpMethod: "POST",
1257
+ responses: {
1258
+ 200: {
1259
+ bodyMapper: {
1260
+ type: {
1261
+ name: "Sequence",
1262
+ element: {
1263
+ type: { name: "Composite", className: "CertificateOrderAction" }
1264
+ }
1265
+ }
1266
+ }
1267
+ },
1268
+ default: {
1269
+ bodyMapper: Mappers.DefaultErrorResponse
1270
+ }
1271
+ },
1272
+ queryParameters: [Parameters.apiVersion],
1273
+ urlParameters: [
1274
+ Parameters.$host,
1275
+ Parameters.subscriptionId,
1276
+ Parameters.resourceGroupName,
1277
+ Parameters.name
1278
+ ],
1279
+ headerParameters: [Parameters.accept],
1280
+ serializer
1281
+ };
1282
+ const retrieveCertificateEmailHistoryOperationSpec: coreClient.OperationSpec = {
1283
+ path:
1284
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveEmailHistory",
1285
+ httpMethod: "POST",
1286
+ responses: {
1287
+ 200: {
1288
+ bodyMapper: {
1289
+ type: {
1290
+ name: "Sequence",
1291
+ element: {
1292
+ type: { name: "Composite", className: "CertificateEmail" }
1293
+ }
1294
+ }
1295
+ }
1296
+ },
1297
+ default: {
1298
+ bodyMapper: Mappers.DefaultErrorResponse
1299
+ }
1300
+ },
1301
+ queryParameters: [Parameters.apiVersion],
1302
+ urlParameters: [
1303
+ Parameters.$host,
1304
+ Parameters.subscriptionId,
1305
+ Parameters.resourceGroupName,
1306
+ Parameters.name
1307
+ ],
1308
+ headerParameters: [Parameters.accept],
1309
+ serializer
1310
+ };
1311
+ const listNextOperationSpec: coreClient.OperationSpec = {
1312
+ path: "{nextLink}",
1313
+ httpMethod: "GET",
1314
+ responses: {
1315
+ 200: {
1316
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
1317
+ },
1318
+ default: {
1319
+ bodyMapper: Mappers.DefaultErrorResponse
1320
+ }
1321
+ },
1322
+ queryParameters: [Parameters.apiVersion],
1323
+ urlParameters: [
1324
+ Parameters.$host,
1325
+ Parameters.subscriptionId,
1326
+ Parameters.nextLink
1327
+ ],
1328
+ headerParameters: [Parameters.accept],
1329
+ serializer
1330
+ };
1331
+ const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
1332
+ path: "{nextLink}",
1333
+ httpMethod: "GET",
1334
+ responses: {
1335
+ 200: {
1336
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
1337
+ },
1338
+ default: {
1339
+ bodyMapper: Mappers.DefaultErrorResponse
1340
+ }
1341
+ },
1342
+ queryParameters: [Parameters.apiVersion],
1343
+ urlParameters: [
1344
+ Parameters.$host,
1345
+ Parameters.subscriptionId,
1346
+ Parameters.resourceGroupName,
1347
+ Parameters.nextLink
1348
+ ],
1349
+ headerParameters: [Parameters.accept],
1350
+ serializer
1351
+ };
1352
+ const listCertificatesNextOperationSpec: coreClient.OperationSpec = {
1353
+ path: "{nextLink}",
1354
+ httpMethod: "GET",
1355
+ responses: {
1356
+ 200: {
1357
+ bodyMapper: Mappers.AppServiceCertificateCollection
1358
+ },
1359
+ default: {
1360
+ bodyMapper: Mappers.DefaultErrorResponse
1361
+ }
1362
+ },
1363
+ queryParameters: [Parameters.apiVersion],
1364
+ urlParameters: [
1365
+ Parameters.$host,
1366
+ Parameters.subscriptionId,
1367
+ Parameters.resourceGroupName,
1368
+ Parameters.certificateOrderName,
1369
+ Parameters.nextLink
1370
+ ],
1371
+ headerParameters: [Parameters.accept],
1372
+ serializer
1373
+ };