@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,1024 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
+ import "@azure/core-paging";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ import { LroEngine } from "@azure/core-lro";
14
+ import { LroImpl } from "../lroImpl";
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class representing a AppServiceCertificateOrders. */
17
+ export class AppServiceCertificateOrdersImpl {
18
+ /**
19
+ * Initialize a new instance of the class AppServiceCertificateOrders class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Description for List all certificate orders in a subscription.
27
+ * @param options The options parameters.
28
+ */
29
+ list(options) {
30
+ const iter = this.listPagingAll(options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: () => {
39
+ return this.listPagingPage(options);
40
+ }
41
+ };
42
+ }
43
+ listPagingPage(options) {
44
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
45
+ let result = yield __await(this._list(options));
46
+ yield yield __await(result.value || []);
47
+ let continuationToken = result.nextLink;
48
+ while (continuationToken) {
49
+ result = yield __await(this._listNext(continuationToken, options));
50
+ continuationToken = result.nextLink;
51
+ yield yield __await(result.value || []);
52
+ }
53
+ });
54
+ }
55
+ listPagingAll(options) {
56
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
57
+ var e_1, _a;
58
+ try {
59
+ for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
60
+ const page = _c.value;
61
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
62
+ }
63
+ }
64
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
65
+ finally {
66
+ try {
67
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
68
+ }
69
+ finally { if (e_1) throw e_1.error; }
70
+ }
71
+ });
72
+ }
73
+ /**
74
+ * Description for Get certificate orders in a resource group.
75
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
76
+ * @param options The options parameters.
77
+ */
78
+ listByResourceGroup(resourceGroupName, options) {
79
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
80
+ return {
81
+ next() {
82
+ return iter.next();
83
+ },
84
+ [Symbol.asyncIterator]() {
85
+ return this;
86
+ },
87
+ byPage: () => {
88
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
89
+ }
90
+ };
91
+ }
92
+ listByResourceGroupPagingPage(resourceGroupName, options) {
93
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
94
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
95
+ yield yield __await(result.value || []);
96
+ let continuationToken = result.nextLink;
97
+ while (continuationToken) {
98
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
99
+ continuationToken = result.nextLink;
100
+ yield yield __await(result.value || []);
101
+ }
102
+ });
103
+ }
104
+ listByResourceGroupPagingAll(resourceGroupName, options) {
105
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
106
+ var e_2, _a;
107
+ try {
108
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
109
+ const page = _c.value;
110
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
111
+ }
112
+ }
113
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
114
+ finally {
115
+ try {
116
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
117
+ }
118
+ finally { if (e_2) throw e_2.error; }
119
+ }
120
+ });
121
+ }
122
+ /**
123
+ * Description for List all certificates associated with a certificate order.
124
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
125
+ * @param certificateOrderName Name of the certificate order.
126
+ * @param options The options parameters.
127
+ */
128
+ listCertificates(resourceGroupName, certificateOrderName, options) {
129
+ const iter = this.listCertificatesPagingAll(resourceGroupName, certificateOrderName, options);
130
+ return {
131
+ next() {
132
+ return iter.next();
133
+ },
134
+ [Symbol.asyncIterator]() {
135
+ return this;
136
+ },
137
+ byPage: () => {
138
+ return this.listCertificatesPagingPage(resourceGroupName, certificateOrderName, options);
139
+ }
140
+ };
141
+ }
142
+ listCertificatesPagingPage(resourceGroupName, certificateOrderName, options) {
143
+ return __asyncGenerator(this, arguments, function* listCertificatesPagingPage_1() {
144
+ let result = yield __await(this._listCertificates(resourceGroupName, certificateOrderName, options));
145
+ yield yield __await(result.value || []);
146
+ let continuationToken = result.nextLink;
147
+ while (continuationToken) {
148
+ result = yield __await(this._listCertificatesNext(resourceGroupName, certificateOrderName, continuationToken, options));
149
+ continuationToken = result.nextLink;
150
+ yield yield __await(result.value || []);
151
+ }
152
+ });
153
+ }
154
+ listCertificatesPagingAll(resourceGroupName, certificateOrderName, options) {
155
+ return __asyncGenerator(this, arguments, function* listCertificatesPagingAll_1() {
156
+ var e_3, _a;
157
+ try {
158
+ for (var _b = __asyncValues(this.listCertificatesPagingPage(resourceGroupName, certificateOrderName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
159
+ const page = _c.value;
160
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
161
+ }
162
+ }
163
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
164
+ finally {
165
+ try {
166
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
167
+ }
168
+ finally { if (e_3) throw e_3.error; }
169
+ }
170
+ });
171
+ }
172
+ /**
173
+ * Description for List all certificate orders in a subscription.
174
+ * @param options The options parameters.
175
+ */
176
+ _list(options) {
177
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
178
+ }
179
+ /**
180
+ * Description for Validate information for a certificate order.
181
+ * @param appServiceCertificateOrder Information for a certificate order.
182
+ * @param options The options parameters.
183
+ */
184
+ validatePurchaseInformation(appServiceCertificateOrder, options) {
185
+ return this.client.sendOperationRequest({ appServiceCertificateOrder, options }, validatePurchaseInformationOperationSpec);
186
+ }
187
+ /**
188
+ * Description for Get certificate orders in a resource group.
189
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
190
+ * @param options The options parameters.
191
+ */
192
+ _listByResourceGroup(resourceGroupName, options) {
193
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
194
+ }
195
+ /**
196
+ * Description for Get a certificate order.
197
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
198
+ * @param certificateOrderName Name of the certificate order..
199
+ * @param options The options parameters.
200
+ */
201
+ get(resourceGroupName, certificateOrderName, options) {
202
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, options }, getOperationSpec);
203
+ }
204
+ /**
205
+ * Description for Create or update a certificate purchase order.
206
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
207
+ * @param certificateOrderName Name of the certificate order.
208
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
209
+ * @param options The options parameters.
210
+ */
211
+ beginCreateOrUpdate(resourceGroupName, certificateOrderName, certificateDistinguishedName, options) {
212
+ return __awaiter(this, void 0, void 0, function* () {
213
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
214
+ return this.client.sendOperationRequest(args, spec);
215
+ });
216
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
217
+ var _a;
218
+ let currentRawResponse = undefined;
219
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
220
+ const callback = (rawResponse, flatResponse) => {
221
+ currentRawResponse = rawResponse;
222
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
223
+ };
224
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
225
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
226
+ return {
227
+ flatResponse,
228
+ rawResponse: {
229
+ statusCode: currentRawResponse.status,
230
+ body: currentRawResponse.parsedBody,
231
+ headers: currentRawResponse.headers.toJSON()
232
+ }
233
+ };
234
+ });
235
+ const lro = new LroImpl(sendOperation, {
236
+ resourceGroupName,
237
+ certificateOrderName,
238
+ certificateDistinguishedName,
239
+ options
240
+ }, createOrUpdateOperationSpec);
241
+ return new LroEngine(lro, {
242
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
243
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
244
+ });
245
+ });
246
+ }
247
+ /**
248
+ * Description for Create or update a certificate purchase order.
249
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
250
+ * @param certificateOrderName Name of the certificate order.
251
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
252
+ * @param options The options parameters.
253
+ */
254
+ beginCreateOrUpdateAndWait(resourceGroupName, certificateOrderName, certificateDistinguishedName, options) {
255
+ return __awaiter(this, void 0, void 0, function* () {
256
+ const poller = yield this.beginCreateOrUpdate(resourceGroupName, certificateOrderName, certificateDistinguishedName, options);
257
+ return poller.pollUntilDone();
258
+ });
259
+ }
260
+ /**
261
+ * Description for Delete an existing certificate order.
262
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
263
+ * @param certificateOrderName Name of the certificate order.
264
+ * @param options The options parameters.
265
+ */
266
+ delete(resourceGroupName, certificateOrderName, options) {
267
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, options }, deleteOperationSpec);
268
+ }
269
+ /**
270
+ * Description for Create or update a certificate purchase order.
271
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
272
+ * @param certificateOrderName Name of the certificate order.
273
+ * @param certificateDistinguishedName Distinguished name to use for the certificate order.
274
+ * @param options The options parameters.
275
+ */
276
+ update(resourceGroupName, certificateOrderName, certificateDistinguishedName, options) {
277
+ return this.client.sendOperationRequest({
278
+ resourceGroupName,
279
+ certificateOrderName,
280
+ certificateDistinguishedName,
281
+ options
282
+ }, updateOperationSpec);
283
+ }
284
+ /**
285
+ * Description for List all certificates associated with a certificate order.
286
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
287
+ * @param certificateOrderName Name of the certificate order.
288
+ * @param options The options parameters.
289
+ */
290
+ _listCertificates(resourceGroupName, certificateOrderName, options) {
291
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, options }, listCertificatesOperationSpec);
292
+ }
293
+ /**
294
+ * Description for Get the certificate associated with a certificate order.
295
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
296
+ * @param certificateOrderName Name of the certificate order.
297
+ * @param name Name of the certificate.
298
+ * @param options The options parameters.
299
+ */
300
+ getCertificate(resourceGroupName, certificateOrderName, name, options) {
301
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, name, options }, getCertificateOperationSpec);
302
+ }
303
+ /**
304
+ * Description for Creates or updates a certificate and associates with key vault secret.
305
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
306
+ * @param certificateOrderName Name of the certificate order.
307
+ * @param name Name of the certificate.
308
+ * @param keyVaultCertificate Key vault certificate resource Id.
309
+ * @param options The options parameters.
310
+ */
311
+ beginCreateOrUpdateCertificate(resourceGroupName, certificateOrderName, name, keyVaultCertificate, options) {
312
+ return __awaiter(this, void 0, void 0, function* () {
313
+ const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
314
+ return this.client.sendOperationRequest(args, spec);
315
+ });
316
+ const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
317
+ var _a;
318
+ let currentRawResponse = undefined;
319
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
320
+ const callback = (rawResponse, flatResponse) => {
321
+ currentRawResponse = rawResponse;
322
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
323
+ };
324
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
325
+ const flatResponse = yield directSendOperation(updatedArgs, spec);
326
+ return {
327
+ flatResponse,
328
+ rawResponse: {
329
+ statusCode: currentRawResponse.status,
330
+ body: currentRawResponse.parsedBody,
331
+ headers: currentRawResponse.headers.toJSON()
332
+ }
333
+ };
334
+ });
335
+ const lro = new LroImpl(sendOperation, {
336
+ resourceGroupName,
337
+ certificateOrderName,
338
+ name,
339
+ keyVaultCertificate,
340
+ options
341
+ }, createOrUpdateCertificateOperationSpec);
342
+ return new LroEngine(lro, {
343
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
344
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
345
+ });
346
+ });
347
+ }
348
+ /**
349
+ * Description for Creates or updates a certificate and associates with key vault secret.
350
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
351
+ * @param certificateOrderName Name of the certificate order.
352
+ * @param name Name of the certificate.
353
+ * @param keyVaultCertificate Key vault certificate resource Id.
354
+ * @param options The options parameters.
355
+ */
356
+ beginCreateOrUpdateCertificateAndWait(resourceGroupName, certificateOrderName, name, keyVaultCertificate, options) {
357
+ return __awaiter(this, void 0, void 0, function* () {
358
+ const poller = yield this.beginCreateOrUpdateCertificate(resourceGroupName, certificateOrderName, name, keyVaultCertificate, options);
359
+ return poller.pollUntilDone();
360
+ });
361
+ }
362
+ /**
363
+ * Description for Delete the certificate associated with a certificate order.
364
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
365
+ * @param certificateOrderName Name of the certificate order.
366
+ * @param name Name of the certificate.
367
+ * @param options The options parameters.
368
+ */
369
+ deleteCertificate(resourceGroupName, certificateOrderName, name, options) {
370
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, name, options }, deleteCertificateOperationSpec);
371
+ }
372
+ /**
373
+ * Description for Creates or updates a certificate and associates with key vault secret.
374
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
375
+ * @param certificateOrderName Name of the certificate order.
376
+ * @param name Name of the certificate.
377
+ * @param keyVaultCertificate Key vault certificate resource Id.
378
+ * @param options The options parameters.
379
+ */
380
+ updateCertificate(resourceGroupName, certificateOrderName, name, keyVaultCertificate, options) {
381
+ return this.client.sendOperationRequest({
382
+ resourceGroupName,
383
+ certificateOrderName,
384
+ name,
385
+ keyVaultCertificate,
386
+ options
387
+ }, updateCertificateOperationSpec);
388
+ }
389
+ /**
390
+ * Description for Reissue an existing certificate order.
391
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
392
+ * @param certificateOrderName Name of the certificate order.
393
+ * @param reissueCertificateOrderRequest Parameters for the reissue.
394
+ * @param options The options parameters.
395
+ */
396
+ reissue(resourceGroupName, certificateOrderName, reissueCertificateOrderRequest, options) {
397
+ return this.client.sendOperationRequest({
398
+ resourceGroupName,
399
+ certificateOrderName,
400
+ reissueCertificateOrderRequest,
401
+ options
402
+ }, reissueOperationSpec);
403
+ }
404
+ /**
405
+ * Description for Renew an existing certificate order.
406
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
407
+ * @param certificateOrderName Name of the certificate order.
408
+ * @param renewCertificateOrderRequest Renew parameters
409
+ * @param options The options parameters.
410
+ */
411
+ renew(resourceGroupName, certificateOrderName, renewCertificateOrderRequest, options) {
412
+ return this.client.sendOperationRequest({
413
+ resourceGroupName,
414
+ certificateOrderName,
415
+ renewCertificateOrderRequest,
416
+ options
417
+ }, renewOperationSpec);
418
+ }
419
+ /**
420
+ * Description for Resend certificate email.
421
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
422
+ * @param certificateOrderName Name of the certificate order.
423
+ * @param options The options parameters.
424
+ */
425
+ resendEmail(resourceGroupName, certificateOrderName, options) {
426
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, options }, resendEmailOperationSpec);
427
+ }
428
+ /**
429
+ * Resend domain verification ownership email containing steps on how to verify a domain for a given
430
+ * certificate order
431
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
432
+ * @param certificateOrderName Name of the certificate order.
433
+ * @param nameIdentifier Email address
434
+ * @param options The options parameters.
435
+ */
436
+ resendRequestEmails(resourceGroupName, certificateOrderName, nameIdentifier, options) {
437
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, nameIdentifier, options }, resendRequestEmailsOperationSpec);
438
+ }
439
+ /**
440
+ * This method is used to obtain the site seal information for an issued certificate. A site seal is a
441
+ * graphic that the certificate purchaser can embed on their web site to show their visitors
442
+ * information about their SSL certificate. If a web site visitor clicks on the site seal image, a
443
+ * pop-up page is displayed that contains detailed information about the SSL certificate. The site seal
444
+ * token is used to link the site seal graphic image to the appropriate certificate details pop-up page
445
+ * display when a user clicks on the site seal. The site seal images are expected to be static images
446
+ * and hosted by the reseller, to minimize delays for customer page load times.
447
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
448
+ * @param certificateOrderName Name of the certificate order.
449
+ * @param siteSealRequest Site seal request.
450
+ * @param options The options parameters.
451
+ */
452
+ retrieveSiteSeal(resourceGroupName, certificateOrderName, siteSealRequest, options) {
453
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, siteSealRequest, options }, retrieveSiteSealOperationSpec);
454
+ }
455
+ /**
456
+ * Description for Verify domain ownership for this certificate order.
457
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
458
+ * @param certificateOrderName Name of the certificate order.
459
+ * @param options The options parameters.
460
+ */
461
+ verifyDomainOwnership(resourceGroupName, certificateOrderName, options) {
462
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, options }, verifyDomainOwnershipOperationSpec);
463
+ }
464
+ /**
465
+ * Description for Retrieve the list of certificate actions.
466
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
467
+ * @param name Name of the certificate order.
468
+ * @param options The options parameters.
469
+ */
470
+ retrieveCertificateActions(resourceGroupName, name, options) {
471
+ return this.client.sendOperationRequest({ resourceGroupName, name, options }, retrieveCertificateActionsOperationSpec);
472
+ }
473
+ /**
474
+ * Description for Retrieve email history.
475
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
476
+ * @param name Name of the certificate order.
477
+ * @param options The options parameters.
478
+ */
479
+ retrieveCertificateEmailHistory(resourceGroupName, name, options) {
480
+ return this.client.sendOperationRequest({ resourceGroupName, name, options }, retrieveCertificateEmailHistoryOperationSpec);
481
+ }
482
+ /**
483
+ * ListNext
484
+ * @param nextLink The nextLink from the previous successful call to the List method.
485
+ * @param options The options parameters.
486
+ */
487
+ _listNext(nextLink, options) {
488
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
489
+ }
490
+ /**
491
+ * ListByResourceGroupNext
492
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
493
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
494
+ * @param options The options parameters.
495
+ */
496
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
497
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
498
+ }
499
+ /**
500
+ * ListCertificatesNext
501
+ * @param resourceGroupName Name of the resource group to which the resource belongs.
502
+ * @param certificateOrderName Name of the certificate order.
503
+ * @param nextLink The nextLink from the previous successful call to the ListCertificates method.
504
+ * @param options The options parameters.
505
+ */
506
+ _listCertificatesNext(resourceGroupName, certificateOrderName, nextLink, options) {
507
+ return this.client.sendOperationRequest({ resourceGroupName, certificateOrderName, nextLink, options }, listCertificatesNextOperationSpec);
508
+ }
509
+ }
510
+ // Operation Specifications
511
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
512
+ const listOperationSpec = {
513
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/certificateOrders",
514
+ httpMethod: "GET",
515
+ responses: {
516
+ 200: {
517
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
518
+ },
519
+ default: {
520
+ bodyMapper: Mappers.DefaultErrorResponse
521
+ }
522
+ },
523
+ queryParameters: [Parameters.apiVersion],
524
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
525
+ headerParameters: [Parameters.accept],
526
+ serializer
527
+ };
528
+ const validatePurchaseInformationOperationSpec = {
529
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.CertificateRegistration/validateCertificateRegistrationInformation",
530
+ httpMethod: "POST",
531
+ responses: {
532
+ 204: {},
533
+ default: {
534
+ bodyMapper: Mappers.DefaultErrorResponse
535
+ }
536
+ },
537
+ requestBody: Parameters.appServiceCertificateOrder,
538
+ queryParameters: [Parameters.apiVersion],
539
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
540
+ headerParameters: [Parameters.accept, Parameters.contentType],
541
+ mediaType: "json",
542
+ serializer
543
+ };
544
+ const listByResourceGroupOperationSpec = {
545
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders",
546
+ httpMethod: "GET",
547
+ responses: {
548
+ 200: {
549
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
550
+ },
551
+ default: {
552
+ bodyMapper: Mappers.DefaultErrorResponse
553
+ }
554
+ },
555
+ queryParameters: [Parameters.apiVersion],
556
+ urlParameters: [
557
+ Parameters.$host,
558
+ Parameters.subscriptionId,
559
+ Parameters.resourceGroupName
560
+ ],
561
+ headerParameters: [Parameters.accept],
562
+ serializer
563
+ };
564
+ const getOperationSpec = {
565
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
566
+ httpMethod: "GET",
567
+ responses: {
568
+ 200: {
569
+ bodyMapper: Mappers.AppServiceCertificateOrder
570
+ },
571
+ default: {
572
+ bodyMapper: Mappers.DefaultErrorResponse
573
+ }
574
+ },
575
+ queryParameters: [Parameters.apiVersion],
576
+ urlParameters: [
577
+ Parameters.$host,
578
+ Parameters.subscriptionId,
579
+ Parameters.resourceGroupName,
580
+ Parameters.certificateOrderName
581
+ ],
582
+ headerParameters: [Parameters.accept],
583
+ serializer
584
+ };
585
+ const createOrUpdateOperationSpec = {
586
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
587
+ httpMethod: "PUT",
588
+ responses: {
589
+ 200: {
590
+ bodyMapper: Mappers.AppServiceCertificateOrder
591
+ },
592
+ 201: {
593
+ bodyMapper: Mappers.AppServiceCertificateOrder
594
+ },
595
+ 202: {
596
+ bodyMapper: Mappers.AppServiceCertificateOrder
597
+ },
598
+ 204: {
599
+ bodyMapper: Mappers.AppServiceCertificateOrder
600
+ },
601
+ default: {
602
+ bodyMapper: Mappers.DefaultErrorResponse
603
+ }
604
+ },
605
+ requestBody: Parameters.certificateDistinguishedName,
606
+ queryParameters: [Parameters.apiVersion],
607
+ urlParameters: [
608
+ Parameters.$host,
609
+ Parameters.subscriptionId,
610
+ Parameters.resourceGroupName,
611
+ Parameters.certificateOrderName
612
+ ],
613
+ headerParameters: [Parameters.accept, Parameters.contentType],
614
+ mediaType: "json",
615
+ serializer
616
+ };
617
+ const deleteOperationSpec = {
618
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
619
+ httpMethod: "DELETE",
620
+ responses: {
621
+ 200: {},
622
+ 204: {},
623
+ default: {
624
+ bodyMapper: Mappers.DefaultErrorResponse
625
+ }
626
+ },
627
+ queryParameters: [Parameters.apiVersion],
628
+ urlParameters: [
629
+ Parameters.$host,
630
+ Parameters.subscriptionId,
631
+ Parameters.resourceGroupName,
632
+ Parameters.certificateOrderName
633
+ ],
634
+ headerParameters: [Parameters.accept],
635
+ serializer
636
+ };
637
+ const updateOperationSpec = {
638
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}",
639
+ httpMethod: "PATCH",
640
+ responses: {
641
+ 200: {
642
+ bodyMapper: Mappers.AppServiceCertificateOrder
643
+ },
644
+ default: {
645
+ bodyMapper: Mappers.DefaultErrorResponse
646
+ }
647
+ },
648
+ requestBody: Parameters.certificateDistinguishedName1,
649
+ queryParameters: [Parameters.apiVersion],
650
+ urlParameters: [
651
+ Parameters.$host,
652
+ Parameters.subscriptionId,
653
+ Parameters.resourceGroupName,
654
+ Parameters.certificateOrderName
655
+ ],
656
+ headerParameters: [Parameters.accept, Parameters.contentType],
657
+ mediaType: "json",
658
+ serializer
659
+ };
660
+ const listCertificatesOperationSpec = {
661
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates",
662
+ httpMethod: "GET",
663
+ responses: {
664
+ 200: {
665
+ bodyMapper: Mappers.AppServiceCertificateCollection
666
+ },
667
+ default: {
668
+ bodyMapper: Mappers.DefaultErrorResponse
669
+ }
670
+ },
671
+ queryParameters: [Parameters.apiVersion],
672
+ urlParameters: [
673
+ Parameters.$host,
674
+ Parameters.subscriptionId,
675
+ Parameters.resourceGroupName,
676
+ Parameters.certificateOrderName
677
+ ],
678
+ headerParameters: [Parameters.accept],
679
+ serializer
680
+ };
681
+ const getCertificateOperationSpec = {
682
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
683
+ httpMethod: "GET",
684
+ responses: {
685
+ 200: {
686
+ bodyMapper: Mappers.AppServiceCertificateResource
687
+ },
688
+ default: {
689
+ bodyMapper: Mappers.DefaultErrorResponse
690
+ }
691
+ },
692
+ queryParameters: [Parameters.apiVersion],
693
+ urlParameters: [
694
+ Parameters.$host,
695
+ Parameters.subscriptionId,
696
+ Parameters.resourceGroupName,
697
+ Parameters.certificateOrderName,
698
+ Parameters.name
699
+ ],
700
+ headerParameters: [Parameters.accept],
701
+ serializer
702
+ };
703
+ const createOrUpdateCertificateOperationSpec = {
704
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
705
+ httpMethod: "PUT",
706
+ responses: {
707
+ 200: {
708
+ bodyMapper: Mappers.AppServiceCertificateResource
709
+ },
710
+ 201: {
711
+ bodyMapper: Mappers.AppServiceCertificateResource
712
+ },
713
+ 202: {
714
+ bodyMapper: Mappers.AppServiceCertificateResource
715
+ },
716
+ 204: {
717
+ bodyMapper: Mappers.AppServiceCertificateResource
718
+ },
719
+ default: {
720
+ bodyMapper: Mappers.DefaultErrorResponse
721
+ }
722
+ },
723
+ requestBody: Parameters.keyVaultCertificate,
724
+ queryParameters: [Parameters.apiVersion],
725
+ urlParameters: [
726
+ Parameters.$host,
727
+ Parameters.subscriptionId,
728
+ Parameters.resourceGroupName,
729
+ Parameters.certificateOrderName,
730
+ Parameters.name
731
+ ],
732
+ headerParameters: [Parameters.accept, Parameters.contentType],
733
+ mediaType: "json",
734
+ serializer
735
+ };
736
+ const deleteCertificateOperationSpec = {
737
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
738
+ httpMethod: "DELETE",
739
+ responses: {
740
+ 200: {},
741
+ 204: {},
742
+ default: {
743
+ bodyMapper: Mappers.DefaultErrorResponse
744
+ }
745
+ },
746
+ queryParameters: [Parameters.apiVersion],
747
+ urlParameters: [
748
+ Parameters.$host,
749
+ Parameters.subscriptionId,
750
+ Parameters.resourceGroupName,
751
+ Parameters.certificateOrderName,
752
+ Parameters.name
753
+ ],
754
+ headerParameters: [Parameters.accept],
755
+ serializer
756
+ };
757
+ const updateCertificateOperationSpec = {
758
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}",
759
+ httpMethod: "PATCH",
760
+ responses: {
761
+ 200: {
762
+ bodyMapper: Mappers.AppServiceCertificateResource
763
+ },
764
+ default: {
765
+ bodyMapper: Mappers.DefaultErrorResponse
766
+ }
767
+ },
768
+ requestBody: Parameters.keyVaultCertificate1,
769
+ queryParameters: [Parameters.apiVersion],
770
+ urlParameters: [
771
+ Parameters.$host,
772
+ Parameters.subscriptionId,
773
+ Parameters.resourceGroupName,
774
+ Parameters.certificateOrderName,
775
+ Parameters.name
776
+ ],
777
+ headerParameters: [Parameters.accept, Parameters.contentType],
778
+ mediaType: "json",
779
+ serializer
780
+ };
781
+ const reissueOperationSpec = {
782
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue",
783
+ httpMethod: "POST",
784
+ responses: {
785
+ 204: {},
786
+ default: {
787
+ bodyMapper: Mappers.DefaultErrorResponse
788
+ }
789
+ },
790
+ requestBody: Parameters.reissueCertificateOrderRequest,
791
+ queryParameters: [Parameters.apiVersion],
792
+ urlParameters: [
793
+ Parameters.$host,
794
+ Parameters.subscriptionId,
795
+ Parameters.resourceGroupName,
796
+ Parameters.certificateOrderName
797
+ ],
798
+ headerParameters: [Parameters.accept, Parameters.contentType],
799
+ mediaType: "json",
800
+ serializer
801
+ };
802
+ const renewOperationSpec = {
803
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew",
804
+ httpMethod: "POST",
805
+ responses: {
806
+ 204: {},
807
+ default: {
808
+ bodyMapper: Mappers.DefaultErrorResponse
809
+ }
810
+ },
811
+ requestBody: Parameters.renewCertificateOrderRequest,
812
+ queryParameters: [Parameters.apiVersion],
813
+ urlParameters: [
814
+ Parameters.$host,
815
+ Parameters.subscriptionId,
816
+ Parameters.resourceGroupName,
817
+ Parameters.certificateOrderName
818
+ ],
819
+ headerParameters: [Parameters.accept, Parameters.contentType],
820
+ mediaType: "json",
821
+ serializer
822
+ };
823
+ const resendEmailOperationSpec = {
824
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail",
825
+ httpMethod: "POST",
826
+ responses: {
827
+ 204: {},
828
+ default: {
829
+ bodyMapper: Mappers.DefaultErrorResponse
830
+ }
831
+ },
832
+ queryParameters: [Parameters.apiVersion],
833
+ urlParameters: [
834
+ Parameters.$host,
835
+ Parameters.subscriptionId,
836
+ Parameters.resourceGroupName,
837
+ Parameters.certificateOrderName
838
+ ],
839
+ headerParameters: [Parameters.accept],
840
+ serializer
841
+ };
842
+ const resendRequestEmailsOperationSpec = {
843
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendRequestEmails",
844
+ httpMethod: "POST",
845
+ responses: {
846
+ 204: {},
847
+ default: {
848
+ bodyMapper: Mappers.DefaultErrorResponse
849
+ }
850
+ },
851
+ requestBody: Parameters.nameIdentifier,
852
+ queryParameters: [Parameters.apiVersion],
853
+ urlParameters: [
854
+ Parameters.$host,
855
+ Parameters.subscriptionId,
856
+ Parameters.resourceGroupName,
857
+ Parameters.certificateOrderName
858
+ ],
859
+ headerParameters: [Parameters.accept, Parameters.contentType],
860
+ mediaType: "json",
861
+ serializer
862
+ };
863
+ const retrieveSiteSealOperationSpec = {
864
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal",
865
+ httpMethod: "POST",
866
+ responses: {
867
+ 200: {
868
+ bodyMapper: Mappers.SiteSeal
869
+ },
870
+ default: {
871
+ bodyMapper: Mappers.DefaultErrorResponse
872
+ }
873
+ },
874
+ requestBody: Parameters.siteSealRequest,
875
+ queryParameters: [Parameters.apiVersion],
876
+ urlParameters: [
877
+ Parameters.$host,
878
+ Parameters.subscriptionId,
879
+ Parameters.resourceGroupName,
880
+ Parameters.certificateOrderName
881
+ ],
882
+ headerParameters: [Parameters.accept, Parameters.contentType],
883
+ mediaType: "json",
884
+ serializer
885
+ };
886
+ const verifyDomainOwnershipOperationSpec = {
887
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership",
888
+ httpMethod: "POST",
889
+ responses: {
890
+ 204: {},
891
+ default: {
892
+ bodyMapper: Mappers.DefaultErrorResponse
893
+ }
894
+ },
895
+ queryParameters: [Parameters.apiVersion],
896
+ urlParameters: [
897
+ Parameters.$host,
898
+ Parameters.subscriptionId,
899
+ Parameters.resourceGroupName,
900
+ Parameters.certificateOrderName
901
+ ],
902
+ headerParameters: [Parameters.accept],
903
+ serializer
904
+ };
905
+ const retrieveCertificateActionsOperationSpec = {
906
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveCertificateActions",
907
+ httpMethod: "POST",
908
+ responses: {
909
+ 200: {
910
+ bodyMapper: {
911
+ type: {
912
+ name: "Sequence",
913
+ element: {
914
+ type: { name: "Composite", className: "CertificateOrderAction" }
915
+ }
916
+ }
917
+ }
918
+ },
919
+ default: {
920
+ bodyMapper: Mappers.DefaultErrorResponse
921
+ }
922
+ },
923
+ queryParameters: [Parameters.apiVersion],
924
+ urlParameters: [
925
+ Parameters.$host,
926
+ Parameters.subscriptionId,
927
+ Parameters.resourceGroupName,
928
+ Parameters.name
929
+ ],
930
+ headerParameters: [Parameters.accept],
931
+ serializer
932
+ };
933
+ const retrieveCertificateEmailHistoryOperationSpec = {
934
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{name}/retrieveEmailHistory",
935
+ httpMethod: "POST",
936
+ responses: {
937
+ 200: {
938
+ bodyMapper: {
939
+ type: {
940
+ name: "Sequence",
941
+ element: {
942
+ type: { name: "Composite", className: "CertificateEmail" }
943
+ }
944
+ }
945
+ }
946
+ },
947
+ default: {
948
+ bodyMapper: Mappers.DefaultErrorResponse
949
+ }
950
+ },
951
+ queryParameters: [Parameters.apiVersion],
952
+ urlParameters: [
953
+ Parameters.$host,
954
+ Parameters.subscriptionId,
955
+ Parameters.resourceGroupName,
956
+ Parameters.name
957
+ ],
958
+ headerParameters: [Parameters.accept],
959
+ serializer
960
+ };
961
+ const listNextOperationSpec = {
962
+ path: "{nextLink}",
963
+ httpMethod: "GET",
964
+ responses: {
965
+ 200: {
966
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
967
+ },
968
+ default: {
969
+ bodyMapper: Mappers.DefaultErrorResponse
970
+ }
971
+ },
972
+ queryParameters: [Parameters.apiVersion],
973
+ urlParameters: [
974
+ Parameters.$host,
975
+ Parameters.subscriptionId,
976
+ Parameters.nextLink
977
+ ],
978
+ headerParameters: [Parameters.accept],
979
+ serializer
980
+ };
981
+ const listByResourceGroupNextOperationSpec = {
982
+ path: "{nextLink}",
983
+ httpMethod: "GET",
984
+ responses: {
985
+ 200: {
986
+ bodyMapper: Mappers.AppServiceCertificateOrderCollection
987
+ },
988
+ default: {
989
+ bodyMapper: Mappers.DefaultErrorResponse
990
+ }
991
+ },
992
+ queryParameters: [Parameters.apiVersion],
993
+ urlParameters: [
994
+ Parameters.$host,
995
+ Parameters.subscriptionId,
996
+ Parameters.resourceGroupName,
997
+ Parameters.nextLink
998
+ ],
999
+ headerParameters: [Parameters.accept],
1000
+ serializer
1001
+ };
1002
+ const listCertificatesNextOperationSpec = {
1003
+ path: "{nextLink}",
1004
+ httpMethod: "GET",
1005
+ responses: {
1006
+ 200: {
1007
+ bodyMapper: Mappers.AppServiceCertificateCollection
1008
+ },
1009
+ default: {
1010
+ bodyMapper: Mappers.DefaultErrorResponse
1011
+ }
1012
+ },
1013
+ queryParameters: [Parameters.apiVersion],
1014
+ urlParameters: [
1015
+ Parameters.$host,
1016
+ Parameters.subscriptionId,
1017
+ Parameters.resourceGroupName,
1018
+ Parameters.certificateOrderName,
1019
+ Parameters.nextLink
1020
+ ],
1021
+ headerParameters: [Parameters.accept],
1022
+ serializer
1023
+ };
1024
+ //# sourceMappingURL=appServiceCertificateOrders.js.map