@alicloud/cas20200407 3.2.8 → 3.2.9

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 (322) hide show
  1. package/dist/client.d.ts +306 -210
  2. package/dist/client.js +315 -210
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddCloudAccessRequest.d.ts +31 -2
  5. package/dist/models/AddCloudAccessRequest.js.map +1 -1
  6. package/dist/models/AddCloudAccessResponseBody.d.ts +1 -1
  7. package/dist/models/ApplyCertificateRequest.d.ts +2 -0
  8. package/dist/models/ApplyCertificateRequest.js.map +1 -1
  9. package/dist/models/ApplyCertificateResponseBody.d.ts +3 -0
  10. package/dist/models/ApplyCertificateResponseBody.js.map +1 -1
  11. package/dist/models/BatchUpdateNoticeStatusRequest.d.ts +19 -0
  12. package/dist/models/BatchUpdateNoticeStatusRequest.js.map +1 -1
  13. package/dist/models/BatchUpdateNoticeStatusResponseBody.d.ts +3 -0
  14. package/dist/models/BatchUpdateNoticeStatusResponseBody.js.map +1 -1
  15. package/dist/models/CancelCertificateForPackageRequestRequest.d.ts +3 -3
  16. package/dist/models/CancelCertificateForPackageRequestResponseBody.d.ts +2 -2
  17. package/dist/models/CancelOrderRequestRequest.d.ts +2 -2
  18. package/dist/models/CancelOrderRequestResponseBody.d.ts +1 -1
  19. package/dist/models/CancelPendingCertificateRequest.d.ts +2 -0
  20. package/dist/models/CancelPendingCertificateRequest.js.map +1 -1
  21. package/dist/models/CancelPendingCertificateResponseBody.d.ts +3 -0
  22. package/dist/models/CancelPendingCertificateResponseBody.js.map +1 -1
  23. package/dist/models/CreateCertificateForPackageRequestRequest.d.ts +43 -26
  24. package/dist/models/CreateCertificateForPackageRequestRequest.js.map +1 -1
  25. package/dist/models/CreateCertificateForPackageRequestResponseBody.d.ts +1 -1
  26. package/dist/models/CreateCertificateRequestRequest.d.ts +20 -13
  27. package/dist/models/CreateCertificateRequestRequest.js.map +1 -1
  28. package/dist/models/CreateCertificateRequestResponseBody.d.ts +1 -1
  29. package/dist/models/CreateCertificateWithCsrRequestRequest.d.ts +20 -15
  30. package/dist/models/CreateCertificateWithCsrRequestRequest.js.map +1 -1
  31. package/dist/models/CreateCertificateWithCsrRequestResponseBody.d.ts +1 -1
  32. package/dist/models/CreateCsrRequest.d.ts +6 -5
  33. package/dist/models/CreateCsrRequest.js.map +1 -1
  34. package/dist/models/CreateDeploymentJobRequest.d.ts +3 -2
  35. package/dist/models/CreateDeploymentJobRequest.js.map +1 -1
  36. package/dist/models/CreateWarehouseRequest.d.ts +9 -0
  37. package/dist/models/CreateWarehouseRequest.js.map +1 -1
  38. package/dist/models/CreateWarehouseResponseBody.d.ts +6 -0
  39. package/dist/models/CreateWarehouseResponseBody.js.map +1 -1
  40. package/dist/models/CreateWhclientCertificateRequest.d.ts +96 -0
  41. package/dist/models/CreateWhclientCertificateRequest.js.map +1 -1
  42. package/dist/models/CreateWhclientCertificateResponseBody.d.ts +18 -0
  43. package/dist/models/CreateWhclientCertificateResponseBody.js.map +1 -1
  44. package/dist/models/DecryptRequest.d.ts +31 -11
  45. package/dist/models/DecryptRequest.js.map +1 -1
  46. package/dist/models/DecryptResponseBody.d.ts +3 -3
  47. package/dist/models/DeleteCertificateRequestRequest.d.ts +1 -1
  48. package/dist/models/DeleteCloudAccessRequest.d.ts +3 -0
  49. package/dist/models/DeleteCloudAccessRequest.js.map +1 -1
  50. package/dist/models/DeleteCloudAccessResponseBody.d.ts +1 -1
  51. package/dist/models/DeleteInstanceRequest.d.ts +2 -0
  52. package/dist/models/DeleteInstanceRequest.js.map +1 -1
  53. package/dist/models/DeleteInstanceResponseBody.d.ts +3 -0
  54. package/dist/models/DeleteInstanceResponseBody.js.map +1 -1
  55. package/dist/models/DeleteUserCertificateRequest.d.ts +2 -2
  56. package/dist/models/DeleteUserCertificateResponseBody.d.ts +1 -1
  57. package/dist/models/DeleteWarehouseRequest.d.ts +3 -0
  58. package/dist/models/DeleteWarehouseRequest.js.map +1 -1
  59. package/dist/models/DeleteWarehouseResponseBody.d.ts +3 -0
  60. package/dist/models/DeleteWarehouseResponseBody.js.map +1 -1
  61. package/dist/models/DescribeCertificateStateRequest.d.ts +2 -2
  62. package/dist/models/DescribeCertificateStateResponseBody.d.ts +46 -33
  63. package/dist/models/DescribeCertificateStateResponseBody.js.map +1 -1
  64. package/dist/models/DescribeCloudResourceStatusRequest.d.ts +2 -2
  65. package/dist/models/DescribeDeploymentJobRequest.d.ts +1 -1
  66. package/dist/models/DescribeDeploymentJobResponseBody.d.ts +30 -19
  67. package/dist/models/DescribeDeploymentJobResponseBody.js.map +1 -1
  68. package/dist/models/DescribeDeploymentJobStatusResponseBody.d.ts +35 -18
  69. package/dist/models/DescribeDeploymentJobStatusResponseBody.js.map +1 -1
  70. package/dist/models/DescribePackageStateRequest.d.ts +30 -16
  71. package/dist/models/DescribePackageStateRequest.js.map +1 -1
  72. package/dist/models/DescribePackageStateResponseBody.d.ts +30 -16
  73. package/dist/models/DescribePackageStateResponseBody.js.map +1 -1
  74. package/dist/models/DescribeWarehouseCertRequest.d.ts +3 -0
  75. package/dist/models/DescribeWarehouseCertRequest.js.map +1 -1
  76. package/dist/models/DescribeWarehouseCertResponseBody.d.ts +36 -0
  77. package/dist/models/DescribeWarehouseCertResponseBody.js.map +1 -1
  78. package/dist/models/EncryptRequest.d.ts +36 -14
  79. package/dist/models/EncryptRequest.js.map +1 -1
  80. package/dist/models/EncryptResponseBody.d.ts +3 -3
  81. package/dist/models/GetAssetCountResponseBody.d.ts +87 -0
  82. package/dist/models/GetAssetCountResponseBody.js.map +1 -1
  83. package/dist/models/GetCertWarehouseQuotaResponseBody.d.ts +17 -3
  84. package/dist/models/GetCertWarehouseQuotaResponseBody.js.map +1 -1
  85. package/dist/models/GetCertificateDetailRequest.d.ts +2 -0
  86. package/dist/models/GetCertificateDetailRequest.js.map +1 -1
  87. package/dist/models/GetCertificateDetailResponseBody.d.ts +136 -0
  88. package/dist/models/GetCertificateDetailResponseBody.js.map +1 -1
  89. package/dist/models/GetInstanceDetailRequest.d.ts +2 -0
  90. package/dist/models/GetInstanceDetailRequest.js.map +1 -1
  91. package/dist/models/GetInstanceDetailResponseBody.d.ts +198 -0
  92. package/dist/models/GetInstanceDetailResponseBody.js +2 -0
  93. package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
  94. package/dist/models/GetInstanceSummaryRequest.d.ts +3 -0
  95. package/dist/models/GetInstanceSummaryRequest.js.map +1 -1
  96. package/dist/models/GetInstanceSummaryResponseBody.d.ts +18 -0
  97. package/dist/models/GetInstanceSummaryResponseBody.js.map +1 -1
  98. package/dist/models/GetMatchedResourcesRequest.d.ts +15 -0
  99. package/dist/models/GetMatchedResourcesRequest.js.map +1 -1
  100. package/dist/models/GetMatchedResourcesResponseBody.d.ts +12 -0
  101. package/dist/models/GetMatchedResourcesResponseBody.js.map +1 -1
  102. package/dist/models/GetRiskCountResponseBody.d.ts +129 -0
  103. package/dist/models/GetRiskCountResponseBody.js.map +1 -1
  104. package/dist/models/GetTaskAttributeRequest.d.ts +5 -0
  105. package/dist/models/GetTaskAttributeRequest.js.map +1 -1
  106. package/dist/models/GetTaskAttributeResponseBody.d.ts +15 -0
  107. package/dist/models/GetTaskAttributeResponseBody.js.map +1 -1
  108. package/dist/models/GetUserCertificateDetailRequest.d.ts +2 -4
  109. package/dist/models/GetUserCertificateDetailRequest.js.map +1 -1
  110. package/dist/models/GetUserCertificateDetailResponseBody.d.ts +55 -35
  111. package/dist/models/GetUserCertificateDetailResponseBody.js.map +1 -1
  112. package/dist/models/ListAssetCountRequest.d.ts +12 -0
  113. package/dist/models/ListAssetCountRequest.js.map +1 -1
  114. package/dist/models/ListAssetCountResponseBody.d.ts +34 -0
  115. package/dist/models/ListAssetCountResponseBody.js.map +1 -1
  116. package/dist/models/ListCertRequest.d.ts +22 -12
  117. package/dist/models/ListCertRequest.js.map +1 -1
  118. package/dist/models/ListCertResponseBody.d.ts +51 -20
  119. package/dist/models/ListCertResponseBody.js.map +1 -1
  120. package/dist/models/ListCertWarehouseRequest.d.ts +10 -6
  121. package/dist/models/ListCertWarehouseRequest.js.map +1 -1
  122. package/dist/models/ListCertWarehouseResponseBody.d.ts +12 -7
  123. package/dist/models/ListCertWarehouseResponseBody.js.map +1 -1
  124. package/dist/models/ListCertificatesRequest.d.ts +35 -0
  125. package/dist/models/ListCertificatesRequest.js.map +1 -1
  126. package/dist/models/ListCertificatesResponseBody.d.ts +106 -0
  127. package/dist/models/ListCertificatesResponseBody.js.map +1 -1
  128. package/dist/models/ListCloudAccessResponseBody.d.ts +1 -1
  129. package/dist/models/ListCloudResourcesRequest.d.ts +57 -33
  130. package/dist/models/ListCloudResourcesRequest.js.map +1 -1
  131. package/dist/models/ListCloudResourcesResponseBody.d.ts +29 -23
  132. package/dist/models/ListCloudResourcesResponseBody.js.map +1 -1
  133. package/dist/models/ListCloudResourcesShrinkRequest.d.ts +57 -33
  134. package/dist/models/ListCloudResourcesShrinkRequest.js.map +1 -1
  135. package/dist/models/ListContactRequest.d.ts +1 -1
  136. package/dist/models/ListContactResponseBody.d.ts +1 -1
  137. package/dist/models/ListCsrRequest.d.ts +2 -2
  138. package/dist/models/ListCsrResponseBody.d.ts +3 -3
  139. package/dist/models/ListDeploymentJobCertResponseBody.d.ts +36 -21
  140. package/dist/models/ListDeploymentJobCertResponseBody.js.map +1 -1
  141. package/dist/models/ListDeploymentJobRequest.d.ts +16 -10
  142. package/dist/models/ListDeploymentJobRequest.js.map +1 -1
  143. package/dist/models/ListDeploymentJobResourceResponseBody.d.ts +82 -57
  144. package/dist/models/ListDeploymentJobResourceResponseBody.js.map +1 -1
  145. package/dist/models/ListDeploymentJobResponseBody.d.ts +28 -18
  146. package/dist/models/ListDeploymentJobResponseBody.js.map +1 -1
  147. package/dist/models/ListInstancesRequest.d.ts +38 -0
  148. package/dist/models/ListInstancesRequest.js.map +1 -1
  149. package/dist/models/ListInstancesResponseBody.d.ts +123 -0
  150. package/dist/models/ListInstancesResponseBody.js +2 -0
  151. package/dist/models/ListInstancesResponseBody.js.map +1 -1
  152. package/dist/models/ListUserCertificateOrderRequest.d.ts +30 -20
  153. package/dist/models/ListUserCertificateOrderRequest.js.map +1 -1
  154. package/dist/models/ListUserCertificateOrderResponseBody.d.ts +84 -64
  155. package/dist/models/ListUserCertificateOrderResponseBody.js.map +1 -1
  156. package/dist/models/ListWarehouseRequest.d.ts +12 -0
  157. package/dist/models/ListWarehouseRequest.js.map +1 -1
  158. package/dist/models/ListWarehouseResponseBody.d.ts +25 -0
  159. package/dist/models/ListWarehouseResponseBody.js.map +1 -1
  160. package/dist/models/ListWarehouseShrinkRequest.d.ts +12 -0
  161. package/dist/models/ListWarehouseShrinkRequest.js.map +1 -1
  162. package/dist/models/ListWorkerResourceRequest.d.ts +18 -10
  163. package/dist/models/ListWorkerResourceRequest.js.map +1 -1
  164. package/dist/models/ListWorkerResourceResponseBody.d.ts +64 -38
  165. package/dist/models/ListWorkerResourceResponseBody.js.map +1 -1
  166. package/dist/models/MoveResourceGroupRequest.d.ts +4 -3
  167. package/dist/models/MoveResourceGroupRequest.js.map +1 -1
  168. package/dist/models/RefundInstanceRequest.d.ts +2 -0
  169. package/dist/models/RefundInstanceRequest.js.map +1 -1
  170. package/dist/models/RefundInstanceResponseBody.d.ts +3 -0
  171. package/dist/models/RefundInstanceResponseBody.js.map +1 -1
  172. package/dist/models/RenewCertificateOrderForPackageRequestRequest.d.ts +5 -5
  173. package/dist/models/RenewCertificateOrderForPackageRequestResponseBody.d.ts +1 -1
  174. package/dist/models/RevokeCertificateRequest.d.ts +3 -0
  175. package/dist/models/RevokeCertificateRequest.js +2 -0
  176. package/dist/models/RevokeCertificateRequest.js.map +1 -1
  177. package/dist/models/RevokeCertificateResponseBody.d.ts +3 -0
  178. package/dist/models/RevokeCertificateResponseBody.js.map +1 -1
  179. package/dist/models/RevokeWhclientCertificateRequest.d.ts +1 -1
  180. package/dist/models/RevokeWhclientCertificateResponseBody.d.ts +1 -1
  181. package/dist/models/SignRequest.d.ts +40 -17
  182. package/dist/models/SignRequest.js.map +1 -1
  183. package/dist/models/SignResponseBody.d.ts +2 -2
  184. package/dist/models/UpdateCsrRequest.d.ts +2 -2
  185. package/dist/models/UpdateCsrResponseBody.d.ts +1 -1
  186. package/dist/models/UpdateDeploymentJobStatusRequest.d.ts +6 -4
  187. package/dist/models/UpdateDeploymentJobStatusRequest.js.map +1 -1
  188. package/dist/models/UpdateInstanceRequest.d.ts +86 -0
  189. package/dist/models/UpdateInstanceRequest.js.map +1 -1
  190. package/dist/models/UpdateInstanceResponseBody.d.ts +3 -0
  191. package/dist/models/UpdateInstanceResponseBody.js.map +1 -1
  192. package/dist/models/UpdateWorkerResourceStatusRequest.d.ts +2 -2
  193. package/dist/models/UploadCsrRequest.d.ts +2 -2
  194. package/dist/models/UploadCsrResponseBody.d.ts +1 -1
  195. package/dist/models/UploadPcacertRequest.d.ts +5 -7
  196. package/dist/models/UploadPcacertRequest.js.map +1 -1
  197. package/dist/models/UploadPcacertResponseBody.d.ts +4 -1
  198. package/dist/models/UploadPcacertResponseBody.js.map +1 -1
  199. package/dist/models/UploadUserCertificateRequest.d.ts +10 -10
  200. package/dist/models/UploadUserCertificateResponseBody.d.ts +2 -2
  201. package/dist/models/VerifyRequest.d.ts +35 -16
  202. package/dist/models/VerifyRequest.js.map +1 -1
  203. package/dist/models/VerifyResponseBody.d.ts +5 -4
  204. package/dist/models/VerifyResponseBody.js.map +1 -1
  205. package/package.json +1 -1
  206. package/src/client.ts +316 -210
  207. package/src/models/AddCloudAccessRequest.ts +31 -2
  208. package/src/models/AddCloudAccessResponseBody.ts +1 -1
  209. package/src/models/ApplyCertificateRequest.ts +2 -0
  210. package/src/models/ApplyCertificateResponseBody.ts +3 -0
  211. package/src/models/BatchUpdateNoticeStatusRequest.ts +19 -0
  212. package/src/models/BatchUpdateNoticeStatusResponseBody.ts +3 -0
  213. package/src/models/CancelCertificateForPackageRequestRequest.ts +3 -3
  214. package/src/models/CancelCertificateForPackageRequestResponseBody.ts +2 -2
  215. package/src/models/CancelOrderRequestRequest.ts +2 -2
  216. package/src/models/CancelOrderRequestResponseBody.ts +1 -1
  217. package/src/models/CancelPendingCertificateRequest.ts +2 -0
  218. package/src/models/CancelPendingCertificateResponseBody.ts +3 -0
  219. package/src/models/CreateCertificateForPackageRequestRequest.ts +43 -26
  220. package/src/models/CreateCertificateForPackageRequestResponseBody.ts +1 -1
  221. package/src/models/CreateCertificateRequestRequest.ts +20 -13
  222. package/src/models/CreateCertificateRequestResponseBody.ts +1 -1
  223. package/src/models/CreateCertificateWithCsrRequestRequest.ts +20 -15
  224. package/src/models/CreateCertificateWithCsrRequestResponseBody.ts +1 -1
  225. package/src/models/CreateCsrRequest.ts +6 -5
  226. package/src/models/CreateDeploymentJobRequest.ts +3 -2
  227. package/src/models/CreateWarehouseRequest.ts +9 -0
  228. package/src/models/CreateWarehouseResponseBody.ts +6 -0
  229. package/src/models/CreateWhclientCertificateRequest.ts +96 -0
  230. package/src/models/CreateWhclientCertificateResponseBody.ts +18 -0
  231. package/src/models/DecryptRequest.ts +31 -11
  232. package/src/models/DecryptResponseBody.ts +3 -3
  233. package/src/models/DeleteCertificateRequestRequest.ts +1 -1
  234. package/src/models/DeleteCloudAccessRequest.ts +3 -0
  235. package/src/models/DeleteCloudAccessResponseBody.ts +1 -1
  236. package/src/models/DeleteInstanceRequest.ts +2 -0
  237. package/src/models/DeleteInstanceResponseBody.ts +3 -0
  238. package/src/models/DeleteUserCertificateRequest.ts +2 -2
  239. package/src/models/DeleteUserCertificateResponseBody.ts +1 -1
  240. package/src/models/DeleteWarehouseRequest.ts +3 -0
  241. package/src/models/DeleteWarehouseResponseBody.ts +3 -0
  242. package/src/models/DescribeCertificateStateRequest.ts +2 -2
  243. package/src/models/DescribeCertificateStateResponseBody.ts +46 -33
  244. package/src/models/DescribeCloudResourceStatusRequest.ts +2 -2
  245. package/src/models/DescribeDeploymentJobRequest.ts +1 -1
  246. package/src/models/DescribeDeploymentJobResponseBody.ts +30 -19
  247. package/src/models/DescribeDeploymentJobStatusResponseBody.ts +35 -18
  248. package/src/models/DescribePackageStateRequest.ts +30 -16
  249. package/src/models/DescribePackageStateResponseBody.ts +30 -16
  250. package/src/models/DescribeWarehouseCertRequest.ts +3 -0
  251. package/src/models/DescribeWarehouseCertResponseBody.ts +36 -0
  252. package/src/models/EncryptRequest.ts +36 -14
  253. package/src/models/EncryptResponseBody.ts +3 -3
  254. package/src/models/GetAssetCountResponseBody.ts +87 -0
  255. package/src/models/GetCertWarehouseQuotaResponseBody.ts +17 -3
  256. package/src/models/GetCertificateDetailRequest.ts +2 -0
  257. package/src/models/GetCertificateDetailResponseBody.ts +136 -0
  258. package/src/models/GetInstanceDetailRequest.ts +2 -0
  259. package/src/models/GetInstanceDetailResponseBody.ts +200 -0
  260. package/src/models/GetInstanceSummaryRequest.ts +3 -0
  261. package/src/models/GetInstanceSummaryResponseBody.ts +18 -0
  262. package/src/models/GetMatchedResourcesRequest.ts +15 -0
  263. package/src/models/GetMatchedResourcesResponseBody.ts +12 -0
  264. package/src/models/GetRiskCountResponseBody.ts +129 -0
  265. package/src/models/GetTaskAttributeRequest.ts +5 -0
  266. package/src/models/GetTaskAttributeResponseBody.ts +15 -0
  267. package/src/models/GetUserCertificateDetailRequest.ts +2 -4
  268. package/src/models/GetUserCertificateDetailResponseBody.ts +55 -35
  269. package/src/models/ListAssetCountRequest.ts +12 -0
  270. package/src/models/ListAssetCountResponseBody.ts +34 -0
  271. package/src/models/ListCertRequest.ts +22 -12
  272. package/src/models/ListCertResponseBody.ts +51 -20
  273. package/src/models/ListCertWarehouseRequest.ts +10 -6
  274. package/src/models/ListCertWarehouseResponseBody.ts +12 -7
  275. package/src/models/ListCertificatesRequest.ts +35 -0
  276. package/src/models/ListCertificatesResponseBody.ts +106 -0
  277. package/src/models/ListCloudAccessResponseBody.ts +1 -1
  278. package/src/models/ListCloudResourcesRequest.ts +57 -33
  279. package/src/models/ListCloudResourcesResponseBody.ts +29 -23
  280. package/src/models/ListCloudResourcesShrinkRequest.ts +57 -33
  281. package/src/models/ListContactRequest.ts +1 -1
  282. package/src/models/ListContactResponseBody.ts +1 -1
  283. package/src/models/ListCsrRequest.ts +2 -2
  284. package/src/models/ListCsrResponseBody.ts +3 -3
  285. package/src/models/ListDeploymentJobCertResponseBody.ts +36 -21
  286. package/src/models/ListDeploymentJobRequest.ts +16 -10
  287. package/src/models/ListDeploymentJobResourceResponseBody.ts +82 -57
  288. package/src/models/ListDeploymentJobResponseBody.ts +28 -18
  289. package/src/models/ListInstancesRequest.ts +38 -0
  290. package/src/models/ListInstancesResponseBody.ts +125 -0
  291. package/src/models/ListUserCertificateOrderRequest.ts +30 -20
  292. package/src/models/ListUserCertificateOrderResponseBody.ts +84 -64
  293. package/src/models/ListWarehouseRequest.ts +12 -0
  294. package/src/models/ListWarehouseResponseBody.ts +25 -0
  295. package/src/models/ListWarehouseShrinkRequest.ts +12 -0
  296. package/src/models/ListWorkerResourceRequest.ts +18 -10
  297. package/src/models/ListWorkerResourceResponseBody.ts +64 -38
  298. package/src/models/MoveResourceGroupRequest.ts +4 -3
  299. package/src/models/RefundInstanceRequest.ts +2 -0
  300. package/src/models/RefundInstanceResponseBody.ts +3 -0
  301. package/src/models/RenewCertificateOrderForPackageRequestRequest.ts +5 -5
  302. package/src/models/RenewCertificateOrderForPackageRequestResponseBody.ts +1 -1
  303. package/src/models/RevokeCertificateRequest.ts +5 -0
  304. package/src/models/RevokeCertificateResponseBody.ts +3 -0
  305. package/src/models/RevokeWhclientCertificateRequest.ts +1 -1
  306. package/src/models/RevokeWhclientCertificateResponseBody.ts +1 -1
  307. package/src/models/SignRequest.ts +40 -17
  308. package/src/models/SignResponseBody.ts +2 -2
  309. package/src/models/UpdateCsrRequest.ts +2 -2
  310. package/src/models/UpdateCsrResponseBody.ts +1 -1
  311. package/src/models/UpdateDeploymentJobStatusRequest.ts +6 -4
  312. package/src/models/UpdateInstanceRequest.ts +86 -0
  313. package/src/models/UpdateInstanceResponseBody.ts +3 -0
  314. package/src/models/UpdateWorkerResourceStatusRequest.ts +2 -2
  315. package/src/models/UploadCsrRequest.ts +2 -2
  316. package/src/models/UploadCsrResponseBody.ts +1 -1
  317. package/src/models/UploadPcacertRequest.ts +5 -7
  318. package/src/models/UploadPcacertResponseBody.ts +4 -1
  319. package/src/models/UploadUserCertificateRequest.ts +10 -10
  320. package/src/models/UploadUserCertificateResponseBody.ts +2 -2
  321. package/src/models/VerifyRequest.ts +35 -16
  322. package/src/models/VerifyResponseBody.ts +5 -4
@@ -39,7 +39,7 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
39
39
  * @remarks
40
40
  * The cloud service provider to which the cloud resource in the worker task belongs.
41
41
  *
42
- * > This parameter is not returned if you deploy certificates to Alibaba Cloud services.
42
+ * > This parameter is not returned if you deploy certificates to Alibaba Cloud services.
43
43
  *
44
44
  * @example
45
45
  * aliyun
@@ -49,24 +49,41 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
49
49
  * @remarks
50
50
  * The cloud service to which the cloud resource in the worker task belongs. Valid values:
51
51
  *
52
- * * **CDN**: Alibaba Cloud CDN (CDN). This value is supported only at the China site (aliyun.com).
53
- * * **SLB**: Classic Load Balancer (CLB). This value is supported only at the China site (aliyun.com).
54
- * * **DCDN**: Dynamic Content Delivery Network (DCDN). This value is supported only at the China site (aliyun.com).
55
- * * **DDOS**: Anti-DDoS. This value is supported only at the China site (aliyun.com).
56
- * * **LIVE**: ApsaraVideo Live. This value is supported only at the China site (aliyun.com).
57
- * * **webHosting**: Cloud Web Hosting. This value is supported only at the China site (aliyun.com).
58
- * * **VOD**: ApsaraVideo VOD. This value is supported only at the China site (aliyun.com).
59
- * * **CR**: Container Registry. This value is supported only at the China site (aliyun.com).
60
- * * **ALB**: Application Load Balancer (ALB).
61
- * * **APIGateway**: API Gateway.
62
- * * **FC**: Function Compute.
63
- * * **GA**: Global Accelerator (GA).
64
- * * **MSE**: Microservices Engine (MSE).
65
- * * **NLB**: Network Load Balancer (NLB).
66
- * * **OSS**: Object Storage Service (OSS).
67
- * * **SAE**: Serverless App Engine (SAE).
68
- * * **TencentCDN**: Tencent Cloud Content Delivery Network (CDN).
69
- * * **WAF**: Web Application Firewall (WAF).
52
+ * - **CDN**: Alibaba Cloud CDN (CDN). This value is supported only at the China site (aliyun.com).
53
+ *
54
+ * - **SLB**: Classic Load Balancer (CLB). This value is supported only at the China site (aliyun.com).
55
+ *
56
+ * - **DCDN**: Dynamic Content Delivery Network (DCDN). This value is supported only at the China site (aliyun.com).
57
+ *
58
+ * - **DDOS**: Anti-DDoS. This value is supported only at the China site (aliyun.com).
59
+ *
60
+ * - **LIVE**: ApsaraVideo Live. This value is supported only at the China site (aliyun.com).
61
+ *
62
+ * - **webHosting**: Cloud Web Hosting. This value is supported only at the China site (aliyun.com).
63
+ *
64
+ * - **VOD**: ApsaraVideo VOD. This value is supported only at the China site (aliyun.com).
65
+ *
66
+ * - **CR**: Container Registry. This value is supported only at the China site (aliyun.com).
67
+ *
68
+ * - **ALB**: Application Load Balancer (ALB).
69
+ *
70
+ * - **APIGateway**: API Gateway.
71
+ *
72
+ * - **FC**: Function Compute.
73
+ *
74
+ * - **GA**: Global Accelerator (GA).
75
+ *
76
+ * - **MSE**: Microservices Engine (MSE).
77
+ *
78
+ * - **NLB**: Network Load Balancer (NLB).
79
+ *
80
+ * - **OSS**: Object Storage Service (OSS).
81
+ *
82
+ * - **SAE**: Serverless App Engine (SAE).
83
+ *
84
+ * - **TencentCDN**: Tencent Cloud Content Delivery Network (CDN).
85
+ *
86
+ * - **WAF**: Web Application Firewall (WAF).
70
87
  *
71
88
  * @example
72
89
  * SLB
@@ -84,13 +101,14 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
84
101
  * @remarks
85
102
  * Indicates whether the cloud resource in the worker task is the default resource. Valid values:
86
103
  *
87
- * * **true**
88
- * * **false**
104
+ * - **true**
89
105
  *
90
- * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
106
+ * - **false**
107
+ *
108
+ * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
91
109
  *
92
110
  * @example
93
- * 0
111
+ * true
94
112
  */
95
113
  defaultResource?: boolean;
96
114
  /**
@@ -121,7 +139,7 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
121
139
  * @remarks
122
140
  * The ID of the cloud resource in the worker task.
123
141
  *
124
- * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
142
+ * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
125
143
  *
126
144
  * @example
127
145
  * cas-cn-0pp118nuu40b
@@ -139,7 +157,7 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
139
157
  * @remarks
140
158
  * The listener ID of the cloud resource in the worker task.
141
159
  *
142
- * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
160
+ * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
143
161
  *
144
162
  * @example
145
163
  * lsn-lhl8y7s1e1ngc3m3zz@81
@@ -157,7 +175,7 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
157
175
  * @remarks
158
176
  * The order ID of the worker task, which is the same as the order ID of the certificate.
159
177
  *
160
- * > If the CertId parameter is returned, this parameter is not returned.
178
+ * > If the CertId parameter is returned, this parameter is not returned.
161
179
  *
162
180
  * @example
163
181
  * 9349278
@@ -167,7 +185,7 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
167
185
  * @remarks
168
186
  * The listening port of the cloud resource in the worker task.
169
187
  *
170
- * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
188
+ * > This parameter is returned only when the value of CloudProduct is SLB, NLB, ALB, or GA.
171
189
  *
172
190
  * @example
173
191
  * 4431
@@ -209,15 +227,23 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
209
227
  * @remarks
210
228
  * The status of the worker task. Valid values:
211
229
  *
212
- * * **editing**
213
- * * **pending**
214
- * * **scheduling**
215
- * * **processing**
216
- * * **error**
217
- * * **success**
218
- * * **rollback**
219
- * * **rollback_success**
220
- * * **rollback_error**
230
+ * - **editing**
231
+ *
232
+ * - **pending**
233
+ *
234
+ * - **scheduling**
235
+ *
236
+ * - **processing**
237
+ *
238
+ * - **error**
239
+ *
240
+ * - **success**
241
+ *
242
+ * - **rollback**
243
+ *
244
+ * - **rollback_success**
245
+ *
246
+ * - **rollback_error**
221
247
  *
222
248
  * @example
223
249
  * editing
@@ -228,7 +254,7 @@ export class ListWorkerResourceResponseBodyData extends $dara.Model {
228
254
  * The ID of the Alibaba Cloud account to which the worker task belongs.
229
255
  *
230
256
  * @example
231
- * 1666884372152785
257
+ * 166688437******
232
258
  */
233
259
  userId?: number;
234
260
  static names(): { [key: string]: string } {
@@ -323,7 +349,7 @@ export class ListWorkerResourceResponseBody extends $dara.Model {
323
349
  * The number of entries per page. Default value: **50**.
324
350
  *
325
351
  * @example
326
- * 20
352
+ * 50
327
353
  */
328
354
  showSize?: number;
329
355
  /**
@@ -33,13 +33,14 @@ export class MoveResourceGroupRequest extends $dara.Model {
33
33
  resourceId?: string;
34
34
  /**
35
35
  * @remarks
36
- * The type of the resource.\\
36
+ * The type of the resource.<br>
37
37
  * Default value: **instance**
38
38
  *
39
39
  * Valid values:
40
40
  *
41
- * * instance: certificate order
42
- * * Certificate: certificate
41
+ * - instance: certificate order
42
+ *
43
+ * - Certificate: certificate
43
44
  *
44
45
  * This parameter is required.
45
46
  *
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RefundInstanceRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The ID of the instance.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class RefundInstanceResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The unique ID generated for the request. Use this ID to troubleshoot issues.
9
+ *
7
10
  * @example
8
11
  * D3F1FA43-1C26-50A2-8F0F-7A03851DBB46
9
12
  */
@@ -7,7 +7,7 @@ export class RenewCertificateOrderForPackageRequestRequestTags extends $dara.Mod
7
7
  * @remarks
8
8
  * The tag key. You can specify at most 20 tag keys. The tag key cannot be an empty string.
9
9
  *
10
- * A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain http:// or https://.
10
+ * A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain http\\:// or https\\://.
11
11
  *
12
12
  * @example
13
13
  * account
@@ -17,7 +17,7 @@ export class RenewCertificateOrderForPackageRequestRequestTags extends $dara.Mod
17
17
  * @remarks
18
18
  * The value of the resource tag. A maximum of 20 tag values can be entered. If this value needs to be passed in, an empty string can be entered.
19
19
  *
20
- * A maximum of 128 characters are supported, it cannot start with \\"aliyun\\" or \\"acs:\\", and it cannot contain \\"http://\\" or \\"https://\\".
20
+ * A maximum of 128 characters are supported, it cannot start with \\"aliyun\\" or \\"acs:\\", and it cannot contain \\"http\\://\\" or \\"https\\://\\".
21
21
  *
22
22
  * @example
23
23
  * test
@@ -55,7 +55,7 @@ export class RenewCertificateOrderForPackageRequestRequest extends $dara.Model {
55
55
  *
56
56
  * A CSR file contains the information about your server and company. When you apply for a certificate, you must submit the CSR file to the CA. The CA signs the CSR file by using the private key of the root certificate and generates a public key file to issue your certificate.
57
57
  *
58
- * > The **CN** field in the CSR file specifies the domain name that is bound to the certificate.
58
+ * > The **CN** field in the CSR file specifies the domain name that is bound to the certificate.
59
59
  *
60
60
  * @example
61
61
  * -----BEGIN CERTIFICATE REQUEST----- MIIC1TCCAb0CAQAwgY8xCzAJBgNVBAYTAkNOMRIwEAYDVQQIDAlHdWFuZ3pob3Ux ETAPBgNVBAcMCFNoZW56aGVuMQ8wDQYDVQQKDAZDaGFjdW8xEDAOBgNVBAsMB0lU IERlcHQxFzAVBgNVBAMMDnd3dy5jaGFjdW8ubmV0MR0wGwYJKoZIhvcNAQkBFg44 MjkyNjY5QHFxLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALo7 atRvQf9tKo1NJ/MQqzHvIjHNhU+0MMerDq+tRlJ+a7Ro1r6IWNF5MB0Z****** -----END CERTIFICATE REQUEST-----
@@ -65,7 +65,7 @@ export class RenewCertificateOrderForPackageRequestRequest extends $dara.Model {
65
65
  * @remarks
66
66
  * The ID of the certificate application order that you want to renew.
67
67
  *
68
- * > After you call the [CreateCertificateForPackageRequest](https://help.aliyun.com/document_detail/455296.html), [CreateCertificateRequest](https://help.aliyun.com/document_detail/455292.html), or [CreateCertificateWithCsrRequest](https://help.aliyun.com/document_detail/455801.html) operation to submit a certificate application, you can obtain the ID of the certificate application order from the **OrderId** response parameter. You can also call the [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) operation to obtain the order ID.
68
+ * > After you call the [CreateCertificateForPackageRequest](https://help.aliyun.com/document_detail/455296.html), [CreateCertificateRequest](https://help.aliyun.com/document_detail/455292.html), or [CreateCertificateWithCsrRequest](https://help.aliyun.com/document_detail/455801.html) operation to submit a certificate application, you can obtain the ID of the certificate application order from the **OrderId** response parameter. You can also call the [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) operation to obtain the order ID.
69
69
  *
70
70
  * This parameter is required.
71
71
  *
@@ -75,7 +75,7 @@ export class RenewCertificateOrderForPackageRequestRequest extends $dara.Model {
75
75
  orderId?: number;
76
76
  /**
77
77
  * @remarks
78
- * The tags.
78
+ * A list of tags.
79
79
  */
80
80
  tags?: RenewCertificateOrderForPackageRequestRequestTags[];
81
81
  static names(): { [key: string]: string } {
@@ -7,7 +7,7 @@ export class RenewCertificateOrderForPackageRequestResponseBody extends $dara.Mo
7
7
  * @remarks
8
8
  * The ID of the certificate application order that is renewed.
9
9
  *
10
- * > You can use the ID to query the status of the certificate application order. For more information, see [DescribeCertificateState](https://help.aliyun.com/document_detail/164111.html).
10
+ * > You can use the ID to query the status of the certificate application order. For more information, see [DescribeCertificateState](https://help.aliyun.com/document_detail/164111.html).
11
11
  *
12
12
  * @example
13
13
  * 323451222
@@ -3,8 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class RevokeCertificateRequest extends $dara.Model {
6
+ certificateId?: number;
6
7
  /**
7
8
  * @remarks
9
+ * The ID of the instance.
10
+ *
8
11
  * This parameter is required.
9
12
  *
10
13
  * @example
@@ -13,12 +16,14 @@ export class RevokeCertificateRequest extends $dara.Model {
13
16
  instanceId?: string;
14
17
  static names(): { [key: string]: string } {
15
18
  return {
19
+ certificateId: 'CertificateId',
16
20
  instanceId: 'InstanceId',
17
21
  };
18
22
  }
19
23
 
20
24
  static types(): { [key: string]: any } {
21
25
  return {
26
+ certificateId: 'number',
22
27
  instanceId: 'string',
23
28
  };
24
29
  }
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class RevokeCertificateResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.
9
+ *
7
10
  * @example
8
11
  * 15C66C7B-671A-4297-9187-2C4477247A74
9
12
  */
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RevokeWHClientCertificateRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The unique identifier of the client certificate or server certificate that you want to revoke.
8
+ * The unique identifier of the client or server certificate to revoke.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RevokeWHClientCertificateResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the request.
8
+ * The unique identifier for the request.
9
9
  *
10
10
  * @example
11
11
  * 15C66C7B-671A-4297-9187-2C4477247A74
@@ -5,36 +5,45 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SignRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The unique identifier of the certificate. You can call the [ListCert](https://help.aliyun.com/document_detail/455806.html) operation to obtain the identifier.
8
+ * The unique identifier of the certificate. You can get this value by calling the [ListCert](https://help.aliyun.com/document_detail/455806.html) operation.
9
9
  *
10
- * * If the certificate is an SSL certificate, the value of this parameter must be in the {Certificate ID}-cn-hangzhou format.
11
- * * If the certificate is a private certificate, the value of this parameter must be the value of the Identifier field for the private certificate.
10
+ * - The identifier of an SSL certificate is typically in the format \\"{Certificate ID}-cn-hangzhou\\".
11
+ *
12
+ * - For a PCA certificate, this is the Identifier from the corresponding private certificate.
12
13
  *
13
14
  * @example
14
- * ccaf0c629c2be1e2abb63bb76b
15
+ * 1ef1da5f-38ed-69b3-****-037781890265
15
16
  */
16
17
  certIdentifier?: string;
17
- customIdentifier?: string;
18
18
  /**
19
19
  * @remarks
20
- * The data to sign. The value must be encoded in Base64.\\
21
- * For example, if the hexadecimal data that you want to sign is [0x31, 0x32, 0x33, 0x34], set the parameter to the Base64-encoded value MTIzNA==. If you set MessageType to RAW, the size of the data must be less than 4 KB. If the size of the data is greater than 4 KB, you can set MessageType to DIGEST and set Message to the digest of the data. The digest is a hash value. You can compute the digest of the data on an on-premises machine. The certificate application repository uses the digest that you compute in your own certificate application system. The message digest algorithm that you use must match the specified signature algorithm. The following items describe the details:
20
+ * A unique, user-defined identifier.
22
21
  *
23
- * * If the signature algorithm is SHA256withRSA, SHA256withRSA/PSS, or SHA256withECDSA, the message digest algorithm must be SHA-256.
24
- * * If the signature algorithm is SM3withSM2, the message digest algorithm must be SM3.
22
+ * @example
23
+ * ***e6bb538d538c70c01f81fg3****
24
+ */
25
+ customIdentifier?: string;
26
+ /**
27
+ * @remarks
28
+ * The data to sign. The MessageType parameter determines the format of this data. If MessageType is set to RAW, Message is the raw data. If MessageType is set to BASE64, Message is the Base64-encoded raw data. If MessageType is set to DIGEST, Message is the message digest (hash value). If MessageType is set to BLIND, Message is the Base64-encoded blinded message.
25
29
  *
26
30
  * This parameter is required.
27
31
  *
28
32
  * @example
29
- * message
33
+ * MTIzNA==
30
34
  */
31
35
  message?: string;
32
36
  /**
33
37
  * @remarks
34
- * The value type of the Message parameter. Valid values:
38
+ * The message type. Valid values:
39
+ *
40
+ * - `RAW` (default): The raw data.
41
+ *
42
+ * - `DIGEST`: The message digest (hash value) of the raw data.
43
+ *
44
+ * - `BASE64`: The Base64-encoded raw data.
35
45
  *
36
- * * RAW: the raw data. This is the default value.
37
- * * DIGEST: the message digest (hash value) of the raw data.
46
+ * - `BLIND`: Enables blind signing. This is supported only for certificates that use an RSA algorithm.
38
47
  *
39
48
  * This parameter is required.
40
49
  *
@@ -46,10 +55,15 @@ export class SignRequest extends $dara.Model {
46
55
  * @remarks
47
56
  * The signature algorithm. Valid values:
48
57
  *
49
- * * SHA256withRSA
50
- * * SHA256withRSA/PSS
51
- * * SHA256withECDSA
52
- * * SM3withSM2
58
+ * - `SHA256withRSA`
59
+ *
60
+ * - `SHA256withRSA/PSS`
61
+ *
62
+ * - `SHA256withECDSA`
63
+ *
64
+ * - `SM3withSM2`
65
+ *
66
+ * - `SHA256withRSA/P7`
53
67
  *
54
68
  * This parameter is required.
55
69
  *
@@ -57,6 +71,15 @@ export class SignRequest extends $dara.Model {
57
71
  * SHA256withRSA
58
72
  */
59
73
  signingAlgorithm?: string;
74
+ /**
75
+ * @remarks
76
+ * The repository ID.
77
+ *
78
+ * > You can get this ID by calling the [ListCertWarehouse](https://help.aliyun.com/document_detail/455805.html) operation.
79
+ *
80
+ * @example
81
+ * 1
82
+ */
60
83
  warehouseId?: number;
61
84
  static names(): { [key: string]: string } {
62
85
  return {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SignResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the request.
8
+ * The request ID.
9
9
  *
10
10
  * @example
11
11
  * 1ed33293-2e48-6b14-861e-538e28e408eb
@@ -13,7 +13,7 @@ export class SignResponseBody extends $dara.Model {
13
13
  requestId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The signature.
16
+ * The Base64-encoded signature.
17
17
  *
18
18
  * @example
19
19
  * eyaC0w3ROK5b3QcHmUtAhMY/sQjKu2t3uBfnf6J/gn7JfZtyxwcCUjzXbw5jmqJQRbj1te670Bshg9kUdanKhtHFhJjU5jX+ZMMBr6pH0gqQDJxR0K0yHXRc0Q5OQoUZ6BfpbI4Wt4jJvJSdCstz1vSg12CfEHS8Kd5qfhItK7Y=
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateCsrRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the CSR.
8
+ * The unique ID of the CSR. This ID is generated when you upload a CSR. To obtain the ID, call the [ListCsr](https://help.aliyun.com/document_detail/2709717.html) operation.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class UpdateCsrRequest extends $dara.Model {
15
15
  csrId?: number;
16
16
  /**
17
17
  * @remarks
18
- * The private key content of the certificate in the PEM format.
18
+ * The content of the certificate private key in PEM format.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateCsrResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID.
8
+ * The unique ID of the request. Alibaba Cloud generates this ID for each request. Use this ID to troubleshoot issues.
9
9
  *
10
10
  * @example
11
11
  * 082FAB35-6AB9-4FD5-8750-D36673548E76
@@ -15,13 +15,15 @@ export class UpdateDeploymentJobStatusRequest extends $dara.Model {
15
15
  jobId?: number;
16
16
  /**
17
17
  * @remarks
18
- * The desired status.
18
+ * The desired status of the deployment task.
19
19
  *
20
20
  * Valid values:
21
21
  *
22
- * * pending
23
- * * scheduling
24
- * * editing
22
+ * - pending
23
+ *
24
+ * - scheduling
25
+ *
26
+ * - editing
25
27
  *
26
28
  * This parameter is required.
27
29
  *
@@ -4,11 +4,21 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateInstanceRequestTags extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The tag key of the instance. Valid values for N: **1** to **20**. If you specify this value, it cannot be an empty string.
9
+ *
10
+ * It can contain up to 64 characters. It cannot start with `aliyun` or `acs:`, and it cannot contain `http://` or `https://`.
11
+ *
7
12
  * @example
8
13
  * test
9
14
  */
10
15
  tagKey?: string;
11
16
  /**
17
+ * @remarks
18
+ * The tag value of the instance. Valid values for N: **1** to **20**. If you specify this value, it can be an empty string.
19
+ *
20
+ * It can contain up to 128 characters. It cannot start with `aliyun` or `acs:`, and it cannot contain `http://` or `https://`.
21
+ *
12
22
  * @example
13
23
  * test
14
24
  */
@@ -38,48 +48,94 @@ export class UpdateInstanceRequestTags extends $dara.Model {
38
48
 
39
49
  export class UpdateInstanceRequest extends $dara.Model {
40
50
  /**
51
+ * @remarks
52
+ * Whether to enable automatic management.
53
+ *
54
+ * - enable: enabled
55
+ *
56
+ * - disable: disabled
57
+ *
41
58
  * @example
42
59
  * enable
43
60
  */
44
61
  autoReissue?: string;
45
62
  /**
63
+ * @remarks
64
+ * The name of the instance. When issuing a certificate, this value serves as the default certificate name.
65
+ *
46
66
  * @example
47
67
  * 123
48
68
  */
49
69
  certificateName?: string;
50
70
  /**
71
+ * @remarks
72
+ * The city where the company or organization of the certificate requester is located. Required when generating a CSR for a DV certificate. Default value: Beijing.
73
+ *
51
74
  * @example
52
75
  * Beijing
53
76
  */
54
77
  city?: string;
55
78
  /**
79
+ * @remarks
80
+ * The company information ID. Required for OV and EV certificates. Otherwise, you cannot call ApplyCertificate to request a certificate.
81
+ *
56
82
  * @example
57
83
  * 44211
58
84
  */
59
85
  companyId?: number;
86
+ /**
87
+ * @remarks
88
+ * The list of contact IDs. You must specify at least one contact. Otherwise, you cannot call ApplyCertificate to request a certificate.
89
+ */
60
90
  contactIdList?: number[];
61
91
  /**
92
+ * @remarks
93
+ * The country or region code of the certificate organization. For example, CN represents China, and US represents the United States. Required when generating a CSR for a DV certificate. Default value: CN.
94
+ *
62
95
  * @example
63
96
  * CN
64
97
  */
65
98
  countryCode?: string;
66
99
  /**
100
+ * @remarks
101
+ * The CSR content. You can generate a CSR using OpenSSL or Keytool. For more information, see [How to create a CSR file](https://help.aliyun.com/document_detail/42218.html).
102
+ *
67
103
  * @example
68
104
  * -----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----
69
105
  */
70
106
  csr?: string;
71
107
  /**
108
+ * @remarks
109
+ * The domain name to bind to the certificate. Requirements are as follows:
110
+ *
111
+ * - Supports single domain names or wildcard domain names (for example, `*.aliyundoc.com`).
112
+ *
113
+ * - Supports multiple domain names. Separate multiple domain names with commas (,). The first domain determines whether a free domain is included.
114
+ *
115
+ * >Notice:
116
+ *
117
+ * If you bind multiple domain names to the certificate, this parameter is required. This parameter and the **Csr** parameter cannot both be empty. If you set both parameters, the system uses the **CN** field value from the **Csr** as the domain name for the certificate.
118
+ *
72
119
  * @example
73
120
  * test.com
74
121
  */
75
122
  domain?: string;
76
123
  /**
124
+ * @remarks
125
+ * The CSR generation method. Default value: online.
126
+ *
127
+ * - online: The system generates the CSR. The Csr field is ignored.
128
+ *
129
+ * - upload: You upload the CSR. The Csr field is required.
130
+ *
77
131
  * @example
78
132
  * online
79
133
  */
80
134
  generateCsrMethod?: string;
81
135
  /**
82
136
  * @remarks
137
+ * The ID of the instance.
138
+ *
83
139
  * This parameter is required.
84
140
  *
85
141
  * @example
@@ -87,22 +143,52 @@ export class UpdateInstanceRequest extends $dara.Model {
87
143
  */
88
144
  instanceId?: string;
89
145
  /**
146
+ * @remarks
147
+ * The certificate algorithm. Default value: RSA_2048.
148
+ *
149
+ * - **RSA_2048**
150
+ *
151
+ * - **RSA_3072**
152
+ *
153
+ * - **RSA_4096**
154
+ *
155
+ * - **ECC_256**
156
+ *
157
+ * - **SM2**
158
+ *
90
159
  * @example
91
160
  * RSA_2048
92
161
  */
93
162
  keyAlgorithm?: string;
94
163
  /**
164
+ * @remarks
165
+ * The province or region where the company is located. Required when generating a CSR for a DV certificate. Default value: Beijing.
166
+ *
95
167
  * @example
96
168
  * Beijing
97
169
  */
98
170
  province?: string;
99
171
  /**
172
+ * @remarks
173
+ * The ID of the resource group to which the instance belongs.
174
+ *
100
175
  * @example
101
176
  * rg-ae******4wia
102
177
  */
103
178
  resourceGroupId?: string;
179
+ /**
180
+ * @remarks
181
+ * A list of tags.
182
+ */
104
183
  tags?: UpdateInstanceRequestTags[];
105
184
  /**
185
+ * @remarks
186
+ * The certificate validation method.
187
+ *
188
+ * - DNS: DNS validation using TXT or CNAME records.
189
+ *
190
+ * - HTTP: File-based validation.
191
+ *
106
192
  * @example
107
193
  * DNS
108
194
  */
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateInstanceResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The ID of the request. Alibaba Cloud generates a unique identifier for each request to help troubleshoot and locate issues.
9
+ *
7
10
  * @example
8
11
  * 0068247C-A454-5FC9-93BF-C41CBB5CD19E
9
12
  */