@azure/arm-batch 6.0.0 → 7.0.0-beta.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 (254) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  4. package/dist/index.js +6873 -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/src/batchManagementClient.d.ts +24 -0
  9. package/dist-esm/src/batchManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/batchManagementClient.js +31 -0
  11. package/dist-esm/src/batchManagementClient.js.map +1 -0
  12. package/dist-esm/src/batchManagementClientContext.d.ts +17 -0
  13. package/dist-esm/src/batchManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/batchManagementClientContext.js +50 -0
  15. package/dist-esm/src/batchManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +1780 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/index.js +1 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +112 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +1723 -1885
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +34 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +303 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/applicationOperations.d.ts +71 -0
  37. package/dist-esm/src/operations/applicationOperations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/applicationOperations.js +269 -0
  39. package/dist-esm/src/operations/applicationOperations.js.map +1 -0
  40. package/dist-esm/src/operations/applicationPackageOperations.d.ts +83 -0
  41. package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/applicationPackageOperations.js +294 -0
  43. package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -0
  44. package/dist-esm/src/operations/batchAccountOperations.d.ts +171 -0
  45. package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/batchAccountOperations.js +681 -0
  47. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -0
  48. package/dist-esm/src/operations/certificateOperations.d.ts +106 -0
  49. package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/certificateOperations.js +388 -0
  51. package/dist-esm/src/operations/certificateOperations.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +1 -2
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/location.d.ts +71 -0
  57. package/dist-esm/src/operations/location.d.ts.map +1 -0
  58. package/dist-esm/src/operations/location.js +316 -0
  59. package/dist-esm/src/operations/location.js.map +1 -0
  60. package/dist-esm/src/operations/operations.d.ts +32 -0
  61. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/operations.js +120 -0
  63. package/dist-esm/src/operations/operations.js.map +1 -0
  64. package/dist-esm/src/operations/poolOperations.d.ts +103 -0
  65. package/dist-esm/src/operations/poolOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/poolOperations.js +410 -0
  67. package/dist-esm/src/operations/poolOperations.js.map +1 -0
  68. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +70 -0
  69. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +278 -0
  71. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  72. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts +47 -0
  73. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/privateLinkResourceOperations.js +170 -0
  75. package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts +46 -0
  77. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/applicationOperations.js} +2 -7
  79. package/dist-esm/src/operationsInterfaces/applicationOperations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
  81. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  82. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/applicationPackageOperations.js} +2 -2
  83. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +112 -0
  85. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  86. package/{src/models/locationMappers.ts → dist-esm/src/operationsInterfaces/batchAccountOperations.js} +2 -10
  87. package/dist-esm/src/operationsInterfaces/batchAccountOperations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts +81 -0
  89. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/certificateOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/location.d.ts +31 -0
  97. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/location.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  101. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts +78 -0
  105. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/poolOperations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/poolOperations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +45 -0
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
  113. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +4 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +479 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +66 -32
  121. package/review/arm-batch.api.md +1459 -0
  122. package/rollup.config.js +181 -30
  123. package/src/batchManagementClient.ts +59 -48
  124. package/src/batchManagementClientContext.ts +46 -43
  125. package/src/index.ts +13 -0
  126. package/src/lroImpl.ts +34 -0
  127. package/src/models/index.ts +1460 -3635
  128. package/src/models/mappers.ts +1705 -1851
  129. package/src/models/parameters.ts +216 -117
  130. package/src/operations/applicationOperations.ts +215 -263
  131. package/src/operations/applicationPackageOperations.ts +252 -279
  132. package/src/operations/batchAccountOperations.ts +660 -572
  133. package/src/operations/certificateOperations.ts +360 -359
  134. package/src/operations/index.ts +1 -2
  135. package/src/operations/location.ts +285 -234
  136. package/src/operations/operations.ts +82 -70
  137. package/src/operations/poolOperations.ts +373 -378
  138. package/src/operations/privateEndpointConnectionOperations.ts +269 -169
  139. package/src/operations/privateLinkResourceOperations.ts +156 -126
  140. package/src/operationsInterfaces/applicationOperations.ts +90 -0
  141. package/src/operationsInterfaces/applicationPackageOperations.ts +106 -0
  142. package/src/operationsInterfaces/batchAccountOperations.ts +196 -0
  143. package/src/operationsInterfaces/certificateOperations.ts +139 -0
  144. package/src/operationsInterfaces/index.ts +17 -0
  145. package/src/operationsInterfaces/location.ts +62 -0
  146. package/src/operationsInterfaces/operations.ts +22 -0
  147. package/src/operationsInterfaces/poolOperations.ts +142 -0
  148. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +87 -0
  149. package/src/operationsInterfaces/privateLinkResourceOperations.ts +45 -0
  150. package/tsconfig.json +3 -3
  151. package/types/arm-batch.d.ts +2528 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-batch.js +0 -6972
  154. package/dist/arm-batch.js.map +0 -1
  155. package/dist/arm-batch.min.js +0 -1
  156. package/dist/arm-batch.min.js.map +0 -1
  157. package/esm/batchManagementClient.d.ts +0 -33
  158. package/esm/batchManagementClient.d.ts.map +0 -1
  159. package/esm/batchManagementClient.js +0 -46
  160. package/esm/batchManagementClient.js.map +0 -1
  161. package/esm/batchManagementClientContext.d.ts +0 -23
  162. package/esm/batchManagementClientContext.d.ts.map +0 -1
  163. package/esm/batchManagementClientContext.js +0 -61
  164. package/esm/batchManagementClientContext.js.map +0 -1
  165. package/esm/models/applicationOperationsMappers.d.ts +0 -2
  166. package/esm/models/applicationOperationsMappers.d.ts.map +0 -1
  167. package/esm/models/applicationOperationsMappers.js +0 -9
  168. package/esm/models/applicationOperationsMappers.js.map +0 -1
  169. package/esm/models/applicationPackageOperationsMappers.d.ts +0 -2
  170. package/esm/models/applicationPackageOperationsMappers.d.ts.map +0 -1
  171. package/esm/models/applicationPackageOperationsMappers.js +0 -9
  172. package/esm/models/applicationPackageOperationsMappers.js.map +0 -1
  173. package/esm/models/batchAccountOperationsMappers.d.ts +0 -2
  174. package/esm/models/batchAccountOperationsMappers.d.ts.map +0 -1
  175. package/esm/models/batchAccountOperationsMappers.js +0 -9
  176. package/esm/models/batchAccountOperationsMappers.js.map +0 -1
  177. package/esm/models/certificateOperationsMappers.d.ts +0 -2
  178. package/esm/models/certificateOperationsMappers.d.ts.map +0 -1
  179. package/esm/models/certificateOperationsMappers.js +0 -9
  180. package/esm/models/certificateOperationsMappers.js.map +0 -1
  181. package/esm/models/index.d.ts +0 -3946
  182. package/esm/models/index.d.ts.map +0 -1
  183. package/esm/models/index.js.map +0 -1
  184. package/esm/models/locationMappers.d.ts +0 -2
  185. package/esm/models/locationMappers.d.ts.map +0 -1
  186. package/esm/models/locationMappers.js +0 -9
  187. package/esm/models/locationMappers.js.map +0 -1
  188. package/esm/models/mappers.d.ts +0 -110
  189. package/esm/models/mappers.d.ts.map +0 -1
  190. package/esm/models/mappers.js.map +0 -1
  191. package/esm/models/operationsMappers.d.ts +0 -2
  192. package/esm/models/operationsMappers.d.ts.map +0 -1
  193. package/esm/models/operationsMappers.js.map +0 -1
  194. package/esm/models/parameters.d.ts +0 -21
  195. package/esm/models/parameters.d.ts.map +0 -1
  196. package/esm/models/parameters.js +0 -250
  197. package/esm/models/parameters.js.map +0 -1
  198. package/esm/models/poolOperationsMappers.d.ts +0 -2
  199. package/esm/models/poolOperationsMappers.d.ts.map +0 -1
  200. package/esm/models/poolOperationsMappers.js +0 -9
  201. package/esm/models/poolOperationsMappers.js.map +0 -1
  202. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts +0 -2
  203. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts.map +0 -1
  204. package/esm/models/privateEndpointConnectionOperationsMappers.js +0 -9
  205. package/esm/models/privateEndpointConnectionOperationsMappers.js.map +0 -1
  206. package/esm/models/privateLinkResourceOperationsMappers.d.ts +0 -2
  207. package/esm/models/privateLinkResourceOperationsMappers.d.ts.map +0 -1
  208. package/esm/models/privateLinkResourceOperationsMappers.js +0 -9
  209. package/esm/models/privateLinkResourceOperationsMappers.js.map +0 -1
  210. package/esm/operations/applicationOperations.d.ts +0 -151
  211. package/esm/operations/applicationOperations.d.ts.map +0 -1
  212. package/esm/operations/applicationOperations.js +0 -232
  213. package/esm/operations/applicationOperations.js.map +0 -1
  214. package/esm/operations/applicationPackageOperations.d.ts +0 -171
  215. package/esm/operations/applicationPackageOperations.d.ts.map +0 -1
  216. package/esm/operations/applicationPackageOperations.js +0 -244
  217. package/esm/operations/applicationPackageOperations.js.map +0 -1
  218. package/esm/operations/batchAccountOperations.d.ts +0 -299
  219. package/esm/operations/batchAccountOperations.d.ts.map +0 -1
  220. package/esm/operations/batchAccountOperations.js +0 -493
  221. package/esm/operations/batchAccountOperations.js.map +0 -1
  222. package/esm/operations/certificateOperations.d.ts +0 -207
  223. package/esm/operations/certificateOperations.d.ts.map +0 -1
  224. package/esm/operations/certificateOperations.js +0 -310
  225. package/esm/operations/certificateOperations.js.map +0 -1
  226. package/esm/operations/index.d.ts.map +0 -1
  227. package/esm/operations/index.js.map +0 -1
  228. package/esm/operations/location.d.ts +0 -124
  229. package/esm/operations/location.d.ts.map +0 -1
  230. package/esm/operations/location.js +0 -216
  231. package/esm/operations/location.js.map +0 -1
  232. package/esm/operations/operations.d.ts +0 -46
  233. package/esm/operations/operations.d.ts.map +0 -1
  234. package/esm/operations/operations.js +0 -79
  235. package/esm/operations/operations.js.map +0 -1
  236. package/esm/operations/poolOperations.d.ts +0 -206
  237. package/esm/operations/poolOperations.d.ts.map +0 -1
  238. package/esm/operations/poolOperations.js +0 -341
  239. package/esm/operations/poolOperations.js.map +0 -1
  240. package/esm/operations/privateEndpointConnectionOperations.d.ts +0 -104
  241. package/esm/operations/privateEndpointConnectionOperations.d.ts.map +0 -1
  242. package/esm/operations/privateEndpointConnectionOperations.js +0 -195
  243. package/esm/operations/privateEndpointConnectionOperations.js.map +0 -1
  244. package/esm/operations/privateLinkResourceOperations.d.ts +0 -79
  245. package/esm/operations/privateLinkResourceOperations.d.ts.map +0 -1
  246. package/esm/operations/privateLinkResourceOperations.js +0 -121
  247. package/esm/operations/privateLinkResourceOperations.js.map +0 -1
  248. package/src/models/applicationOperationsMappers.ts +0 -79
  249. package/src/models/applicationPackageOperationsMappers.ts +0 -80
  250. package/src/models/batchAccountOperationsMappers.ts +0 -89
  251. package/src/models/certificateOperationsMappers.ts +0 -84
  252. package/src/models/poolOperationsMappers.ts +0 -85
  253. package/src/models/privateEndpointConnectionOperationsMappers.ts +0 -80
  254. package/src/models/privateLinkResourceOperationsMappers.ts +0 -79
@@ -1,207 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as msRestAzure from "@azure/ms-rest-azure-js";
3
- import * as Models from "../models";
4
- import { BatchManagementClientContext } from "../batchManagementClientContext";
5
- /** Class representing a CertificateOperations. */
6
- export declare class CertificateOperations {
7
- private readonly client;
8
- /**
9
- * Create a CertificateOperations.
10
- * @param {BatchManagementClientContext} client Reference to the service client.
11
- */
12
- constructor(client: BatchManagementClientContext);
13
- /**
14
- * Lists all of the certificates in the specified account.
15
- * @param resourceGroupName The name of the resource group that contains the Batch account.
16
- * @param accountName The name of the Batch account.
17
- * @param [options] The optional parameters
18
- * @returns Promise<Models.CertificateListByBatchAccountResponse>
19
- */
20
- listByBatchAccount(resourceGroupName: string, accountName: string, options?: Models.CertificateListByBatchAccountOptionalParams): Promise<Models.CertificateListByBatchAccountResponse>;
21
- /**
22
- * @param resourceGroupName The name of the resource group that contains the Batch account.
23
- * @param accountName The name of the Batch account.
24
- * @param callback The callback
25
- */
26
- listByBatchAccount(resourceGroupName: string, accountName: string, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
27
- /**
28
- * @param resourceGroupName The name of the resource group that contains the Batch account.
29
- * @param accountName The name of the Batch account.
30
- * @param options The optional parameters
31
- * @param callback The callback
32
- */
33
- listByBatchAccount(resourceGroupName: string, accountName: string, options: Models.CertificateListByBatchAccountOptionalParams, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
34
- /**
35
- * Creates a new certificate inside the specified account.
36
- * @param resourceGroupName The name of the resource group that contains the Batch account.
37
- * @param accountName The name of the Batch account.
38
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
39
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
40
- * SHA1-a3d1c5.
41
- * @param parameters Additional parameters for certificate creation.
42
- * @param [options] The optional parameters
43
- * @returns Promise<Models.CertificateCreateResponse>
44
- */
45
- create(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: Models.CertificateCreateOptionalParams): Promise<Models.CertificateCreateResponse>;
46
- /**
47
- * @param resourceGroupName The name of the resource group that contains the Batch account.
48
- * @param accountName The name of the Batch account.
49
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
50
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
51
- * SHA1-a3d1c5.
52
- * @param parameters Additional parameters for certificate creation.
53
- * @param callback The callback
54
- */
55
- create(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, callback: msRest.ServiceCallback<Models.Certificate>): void;
56
- /**
57
- * @param resourceGroupName The name of the resource group that contains the Batch account.
58
- * @param accountName The name of the Batch account.
59
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
60
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
61
- * SHA1-a3d1c5.
62
- * @param parameters Additional parameters for certificate creation.
63
- * @param options The optional parameters
64
- * @param callback The callback
65
- */
66
- create(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options: Models.CertificateCreateOptionalParams, callback: msRest.ServiceCallback<Models.Certificate>): void;
67
- /**
68
- * Updates the properties of an existing certificate.
69
- * @param resourceGroupName The name of the resource group that contains the Batch account.
70
- * @param accountName The name of the Batch account.
71
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
72
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
73
- * SHA1-a3d1c5.
74
- * @param parameters Certificate entity to update.
75
- * @param [options] The optional parameters
76
- * @returns Promise<Models.CertificateUpdateResponse>
77
- */
78
- update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options?: Models.CertificateUpdateOptionalParams): Promise<Models.CertificateUpdateResponse>;
79
- /**
80
- * @param resourceGroupName The name of the resource group that contains the Batch account.
81
- * @param accountName The name of the Batch account.
82
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
83
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
84
- * SHA1-a3d1c5.
85
- * @param parameters Certificate entity to update.
86
- * @param callback The callback
87
- */
88
- update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, callback: msRest.ServiceCallback<Models.Certificate>): void;
89
- /**
90
- * @param resourceGroupName The name of the resource group that contains the Batch account.
91
- * @param accountName The name of the Batch account.
92
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
93
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
94
- * SHA1-a3d1c5.
95
- * @param parameters Certificate entity to update.
96
- * @param options The optional parameters
97
- * @param callback The callback
98
- */
99
- update(resourceGroupName: string, accountName: string, certificateName: string, parameters: Models.CertificateCreateOrUpdateParameters, options: Models.CertificateUpdateOptionalParams, callback: msRest.ServiceCallback<Models.Certificate>): void;
100
- /**
101
- * Deletes the specified certificate.
102
- * @param resourceGroupName The name of the resource group that contains the Batch account.
103
- * @param accountName The name of the Batch account.
104
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
105
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
106
- * SHA1-a3d1c5.
107
- * @param [options] The optional parameters
108
- * @returns Promise<Models.CertificateDeleteResponse>
109
- */
110
- deleteMethod(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<Models.CertificateDeleteResponse>;
111
- /**
112
- * Gets information about the specified certificate.
113
- * @param resourceGroupName The name of the resource group that contains the Batch account.
114
- * @param accountName The name of the Batch account.
115
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
116
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
117
- * SHA1-a3d1c5.
118
- * @param [options] The optional parameters
119
- * @returns Promise<Models.CertificateGetResponse>
120
- */
121
- get(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<Models.CertificateGetResponse>;
122
- /**
123
- * @param resourceGroupName The name of the resource group that contains the Batch account.
124
- * @param accountName The name of the Batch account.
125
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
126
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
127
- * SHA1-a3d1c5.
128
- * @param callback The callback
129
- */
130
- get(resourceGroupName: string, accountName: string, certificateName: string, callback: msRest.ServiceCallback<Models.Certificate>): void;
131
- /**
132
- * @param resourceGroupName The name of the resource group that contains the Batch account.
133
- * @param accountName The name of the Batch account.
134
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
135
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
136
- * SHA1-a3d1c5.
137
- * @param options The optional parameters
138
- * @param callback The callback
139
- */
140
- get(resourceGroupName: string, accountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Certificate>): void;
141
- /**
142
- * If you try to delete a certificate that is being used by a pool or compute node, the status of
143
- * the certificate changes to deleteFailed. If you decide that you want to continue using the
144
- * certificate, you can use this operation to set the status of the certificate back to active. If
145
- * you intend to delete the certificate, you do not need to run this operation after the deletion
146
- * failed. You must make sure that the certificate is not being used by any resources, and then you
147
- * can try again to delete the certificate.
148
- * @summary Cancels a failed deletion of a certificate from the specified account.
149
- * @param resourceGroupName The name of the resource group that contains the Batch account.
150
- * @param accountName The name of the Batch account.
151
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
152
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
153
- * SHA1-a3d1c5.
154
- * @param [options] The optional parameters
155
- * @returns Promise<Models.CertificateCancelDeletionResponse>
156
- */
157
- cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<Models.CertificateCancelDeletionResponse>;
158
- /**
159
- * @param resourceGroupName The name of the resource group that contains the Batch account.
160
- * @param accountName The name of the Batch account.
161
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
162
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
163
- * SHA1-a3d1c5.
164
- * @param callback The callback
165
- */
166
- cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, callback: msRest.ServiceCallback<Models.Certificate>): void;
167
- /**
168
- * @param resourceGroupName The name of the resource group that contains the Batch account.
169
- * @param accountName The name of the Batch account.
170
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
171
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
172
- * SHA1-a3d1c5.
173
- * @param options The optional parameters
174
- * @param callback The callback
175
- */
176
- cancelDeletion(resourceGroupName: string, accountName: string, certificateName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Certificate>): void;
177
- /**
178
- * Deletes the specified certificate.
179
- * @param resourceGroupName The name of the resource group that contains the Batch account.
180
- * @param accountName The name of the Batch account.
181
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
182
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
183
- * SHA1-a3d1c5.
184
- * @param [options] The optional parameters
185
- * @returns Promise<msRestAzure.LROPoller>
186
- */
187
- beginDeleteMethod(resourceGroupName: string, accountName: string, certificateName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
188
- /**
189
- * Lists all of the certificates in the specified account.
190
- * @param nextPageLink The NextLink from the previous successful call to List operation.
191
- * @param [options] The optional parameters
192
- * @returns Promise<Models.CertificateListByBatchAccountNextResponse>
193
- */
194
- listByBatchAccountNext(nextPageLink: string, options?: Models.CertificateListByBatchAccountNextOptionalParams): Promise<Models.CertificateListByBatchAccountNextResponse>;
195
- /**
196
- * @param nextPageLink The NextLink from the previous successful call to List operation.
197
- * @param callback The callback
198
- */
199
- listByBatchAccountNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
200
- /**
201
- * @param nextPageLink The NextLink from the previous successful call to List operation.
202
- * @param options The optional parameters
203
- * @param callback The callback
204
- */
205
- listByBatchAccountNext(nextPageLink: string, options: Models.CertificateListByBatchAccountNextOptionalParams, callback: msRest.ServiceCallback<Models.ListCertificatesResult>): void;
206
- }
207
- //# sourceMappingURL=certificateOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"certificateOperations.d.ts","sourceRoot":"","sources":["../../src/operations/certificateOperations.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iCAAiC,CAAC;AAE/E,kDAAkD;AAClD,qBAAa,qBAAqB;IAChC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;;;OAMG;IACH,kBAAkB,CAAC,iBAAiB,EAAE,MAAM,E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BAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;IACnH;;;;OAIG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,+CAA+C,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,sBAAsB,CAAC,GAAG,IAAI;CAUrL"}
@@ -1,310 +0,0 @@
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
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/certificateOperationsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a CertificateOperations. */
14
- var CertificateOperations = /** @class */ (function () {
15
- /**
16
- * Create a CertificateOperations.
17
- * @param {BatchManagementClientContext} client Reference to the service client.
18
- */
19
- function CertificateOperations(client) {
20
- this.client = client;
21
- }
22
- CertificateOperations.prototype.listByBatchAccount = function (resourceGroupName, accountName, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- accountName: accountName,
26
- options: options
27
- }, listByBatchAccountOperationSpec, callback);
28
- };
29
- CertificateOperations.prototype.create = function (resourceGroupName, accountName, certificateName, parameters, options, callback) {
30
- return this.client.sendOperationRequest({
31
- resourceGroupName: resourceGroupName,
32
- accountName: accountName,
33
- certificateName: certificateName,
34
- parameters: parameters,
35
- options: options
36
- }, createOperationSpec, callback);
37
- };
38
- CertificateOperations.prototype.update = function (resourceGroupName, accountName, certificateName, parameters, options, callback) {
39
- return this.client.sendOperationRequest({
40
- resourceGroupName: resourceGroupName,
41
- accountName: accountName,
42
- certificateName: certificateName,
43
- parameters: parameters,
44
- options: options
45
- }, updateOperationSpec, callback);
46
- };
47
- /**
48
- * Deletes the specified certificate.
49
- * @param resourceGroupName The name of the resource group that contains the Batch account.
50
- * @param accountName The name of the Batch account.
51
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
52
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
53
- * SHA1-a3d1c5.
54
- * @param [options] The optional parameters
55
- * @returns Promise<Models.CertificateDeleteResponse>
56
- */
57
- CertificateOperations.prototype.deleteMethod = function (resourceGroupName, accountName, certificateName, options) {
58
- return this.beginDeleteMethod(resourceGroupName, accountName, certificateName, options)
59
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
60
- };
61
- CertificateOperations.prototype.get = function (resourceGroupName, accountName, certificateName, options, callback) {
62
- return this.client.sendOperationRequest({
63
- resourceGroupName: resourceGroupName,
64
- accountName: accountName,
65
- certificateName: certificateName,
66
- options: options
67
- }, getOperationSpec, callback);
68
- };
69
- CertificateOperations.prototype.cancelDeletion = function (resourceGroupName, accountName, certificateName, options, callback) {
70
- return this.client.sendOperationRequest({
71
- resourceGroupName: resourceGroupName,
72
- accountName: accountName,
73
- certificateName: certificateName,
74
- options: options
75
- }, cancelDeletionOperationSpec, callback);
76
- };
77
- /**
78
- * Deletes the specified certificate.
79
- * @param resourceGroupName The name of the resource group that contains the Batch account.
80
- * @param accountName The name of the Batch account.
81
- * @param certificateName The identifier for the certificate. This must be made up of algorithm and
82
- * thumbprint separated by a dash, and must match the certificate data in the request. For example
83
- * SHA1-a3d1c5.
84
- * @param [options] The optional parameters
85
- * @returns Promise<msRestAzure.LROPoller>
86
- */
87
- CertificateOperations.prototype.beginDeleteMethod = function (resourceGroupName, accountName, certificateName, options) {
88
- return this.client.sendLRORequest({
89
- resourceGroupName: resourceGroupName,
90
- accountName: accountName,
91
- certificateName: certificateName,
92
- options: options
93
- }, beginDeleteMethodOperationSpec, options);
94
- };
95
- CertificateOperations.prototype.listByBatchAccountNext = function (nextPageLink, options, callback) {
96
- return this.client.sendOperationRequest({
97
- nextPageLink: nextPageLink,
98
- options: options
99
- }, listByBatchAccountNextOperationSpec, callback);
100
- };
101
- return CertificateOperations;
102
- }());
103
- export { CertificateOperations };
104
- // Operation Specifications
105
- var serializer = new msRest.Serializer(Mappers);
106
- var listByBatchAccountOperationSpec = {
107
- httpMethod: "GET",
108
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates",
109
- urlParameters: [
110
- Parameters.resourceGroupName,
111
- Parameters.accountName1,
112
- Parameters.subscriptionId
113
- ],
114
- queryParameters: [
115
- Parameters.maxresults,
116
- Parameters.select,
117
- Parameters.filter,
118
- Parameters.apiVersion
119
- ],
120
- headerParameters: [
121
- Parameters.acceptLanguage
122
- ],
123
- responses: {
124
- 200: {
125
- bodyMapper: Mappers.ListCertificatesResult
126
- },
127
- default: {
128
- bodyMapper: Mappers.CloudError
129
- }
130
- },
131
- serializer: serializer
132
- };
133
- var createOperationSpec = {
134
- httpMethod: "PUT",
135
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
136
- urlParameters: [
137
- Parameters.resourceGroupName,
138
- Parameters.accountName1,
139
- Parameters.certificateName,
140
- Parameters.subscriptionId
141
- ],
142
- queryParameters: [
143
- Parameters.apiVersion
144
- ],
145
- headerParameters: [
146
- Parameters.ifMatch,
147
- Parameters.ifNoneMatch,
148
- Parameters.acceptLanguage
149
- ],
150
- requestBody: {
151
- parameterPath: "parameters",
152
- mapper: __assign(__assign({}, Mappers.CertificateCreateOrUpdateParameters), { required: true })
153
- },
154
- responses: {
155
- 200: {
156
- bodyMapper: Mappers.Certificate,
157
- headersMapper: Mappers.CertificateCreateHeaders
158
- },
159
- default: {
160
- bodyMapper: Mappers.CloudError,
161
- headersMapper: Mappers.CertificateCreateHeaders
162
- }
163
- },
164
- serializer: serializer
165
- };
166
- var updateOperationSpec = {
167
- httpMethod: "PATCH",
168
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
169
- urlParameters: [
170
- Parameters.resourceGroupName,
171
- Parameters.accountName1,
172
- Parameters.certificateName,
173
- Parameters.subscriptionId
174
- ],
175
- queryParameters: [
176
- Parameters.apiVersion
177
- ],
178
- headerParameters: [
179
- Parameters.ifMatch,
180
- Parameters.acceptLanguage
181
- ],
182
- requestBody: {
183
- parameterPath: "parameters",
184
- mapper: __assign(__assign({}, Mappers.CertificateCreateOrUpdateParameters), { required: true })
185
- },
186
- responses: {
187
- 200: {
188
- bodyMapper: Mappers.Certificate,
189
- headersMapper: Mappers.CertificateUpdateHeaders
190
- },
191
- default: {
192
- bodyMapper: Mappers.CloudError,
193
- headersMapper: Mappers.CertificateUpdateHeaders
194
- }
195
- },
196
- serializer: serializer
197
- };
198
- var getOperationSpec = {
199
- httpMethod: "GET",
200
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
201
- urlParameters: [
202
- Parameters.resourceGroupName,
203
- Parameters.accountName1,
204
- Parameters.certificateName,
205
- Parameters.subscriptionId
206
- ],
207
- queryParameters: [
208
- Parameters.apiVersion
209
- ],
210
- headerParameters: [
211
- Parameters.acceptLanguage
212
- ],
213
- responses: {
214
- 200: {
215
- bodyMapper: Mappers.Certificate,
216
- headersMapper: Mappers.CertificateGetHeaders
217
- },
218
- default: {
219
- bodyMapper: Mappers.CloudError,
220
- headersMapper: Mappers.CertificateGetHeaders
221
- }
222
- },
223
- serializer: serializer
224
- };
225
- var cancelDeletionOperationSpec = {
226
- httpMethod: "POST",
227
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}/cancelDelete",
228
- urlParameters: [
229
- Parameters.resourceGroupName,
230
- Parameters.accountName1,
231
- Parameters.certificateName,
232
- Parameters.subscriptionId
233
- ],
234
- queryParameters: [
235
- Parameters.apiVersion
236
- ],
237
- headerParameters: [
238
- Parameters.acceptLanguage
239
- ],
240
- responses: {
241
- 200: {
242
- bodyMapper: Mappers.Certificate,
243
- headersMapper: Mappers.CertificateCancelDeletionHeaders
244
- },
245
- default: {
246
- bodyMapper: Mappers.CloudError,
247
- headersMapper: Mappers.CertificateCancelDeletionHeaders
248
- }
249
- },
250
- serializer: serializer
251
- };
252
- var beginDeleteMethodOperationSpec = {
253
- httpMethod: "DELETE",
254
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/certificates/{certificateName}",
255
- urlParameters: [
256
- Parameters.resourceGroupName,
257
- Parameters.accountName1,
258
- Parameters.certificateName,
259
- Parameters.subscriptionId
260
- ],
261
- queryParameters: [
262
- Parameters.apiVersion
263
- ],
264
- headerParameters: [
265
- Parameters.acceptLanguage
266
- ],
267
- responses: {
268
- 200: {
269
- headersMapper: Mappers.CertificateDeleteHeaders
270
- },
271
- 202: {
272
- headersMapper: Mappers.CertificateDeleteHeaders
273
- },
274
- 204: {
275
- headersMapper: Mappers.CertificateDeleteHeaders
276
- },
277
- default: {
278
- bodyMapper: Mappers.CloudError,
279
- headersMapper: Mappers.CertificateDeleteHeaders
280
- }
281
- },
282
- serializer: serializer
283
- };
284
- var listByBatchAccountNextOperationSpec = {
285
- httpMethod: "GET",
286
- baseUrl: "https://management.azure.com",
287
- path: "{nextLink}",
288
- urlParameters: [
289
- Parameters.nextPageLink
290
- ],
291
- queryParameters: [
292
- Parameters.maxresults,
293
- Parameters.select,
294
- Parameters.filter,
295
- Parameters.apiVersion
296
- ],
297
- headerParameters: [
298
- Parameters.acceptLanguage
299
- ],
300
- responses: {
301
- 200: {
302
- bodyMapper: Mappers.ListCertificatesResult
303
- },
304
- default: {
305
- bodyMapper: Mappers.CloudError
306
- }
307
- },
308
- serializer: serializer
309
- };
310
- //# sourceMappingURL=certificateOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"certificateOperations.js","sourceRoot":"","sources":["../../src/operations/certificateOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,wCAAwC,CAAC;AAClE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,kDAAkD;AAClD;IAGE;;;OAGG;IACH,+BAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,kDAAkB,GAAlB,UAAmB,iBAAyB,EAAE,WAAmB,EAAE,OAAoH,EAAE,QAAgE;QACvP,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,+BAA+B,EAC/B,QAAQ,CAA0D,CAAC;IACvE,CAAC;IAmCD,sCAAM,GAAN,UAAO,iBAAyB,EAAE,WAAmB,EAAE,eAAuB,EAAE,UAAsD,EAAE,OAA6F,EAAE,QAAqD;QAC1R,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,eAAe,iBAAA;YACf,UAAU,YAAA;YACV,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA8C,CAAC;IAC3D,CAAC;IAmCD,sCAAM,GAAN,UAAO,iBAAyB,EAAE,WAAmB,EAAE,eAAuB,EAAE,UAAsD,EAAE,OAA6F,EAAE,QAAqD;QAC1R,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,eAAe,iBAAA;YACf,UAAU,YAAA;YACV,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAA8C,CAAC;IAC3D,CAAC;IAED;;;;;;;;;OASG;IACH,4CAA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EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;YAC9B,aAAa,EAAE,OAAO,CAAC,wBAAwB;SAChD;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,mCAAmC,GAAyB;IAChE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,iCAAiC,CAAC;AAChD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kBAAkB,CAAC"}