@alicloud/cas20200407 3.2.13 → 3.2.15

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 (181) hide show
  1. package/dist/client.d.ts +294 -36
  2. package/dist/client.js +567 -38
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContactRequest.d.ts +1 -1
  5. package/dist/models/CreateRollbackTaskRequest.d.ts +33 -0
  6. package/dist/models/CreateRollbackTaskRequest.js +60 -0
  7. package/dist/models/CreateRollbackTaskRequest.js.map +1 -0
  8. package/dist/models/CreateRollbackTaskResponse.d.ts +19 -0
  9. package/dist/models/CreateRollbackTaskResponse.js +69 -0
  10. package/dist/models/CreateRollbackTaskResponse.js.map +1 -0
  11. package/dist/models/CreateRollbackTaskResponseBody.d.ts +29 -0
  12. package/dist/models/CreateRollbackTaskResponseBody.js +60 -0
  13. package/dist/models/CreateRollbackTaskResponseBody.js.map +1 -0
  14. package/dist/models/CreateWarehouseRequest.d.ts +3 -3
  15. package/dist/models/CreateWarehouseResponseBody.d.ts +1 -1
  16. package/dist/models/DeleteInstanceRequest.d.ts +8 -0
  17. package/dist/models/DeleteInstanceRequest.js +2 -0
  18. package/dist/models/DeleteInstanceRequest.js.map +1 -1
  19. package/dist/models/DeleteUserCertificateRequest.d.ts +9 -2
  20. package/dist/models/DeleteUserCertificateRequest.js +2 -0
  21. package/dist/models/DeleteUserCertificateRequest.js.map +1 -1
  22. package/dist/models/GetCertificateDetailResponseBody.d.ts +63 -51
  23. package/dist/models/GetCertificateDetailResponseBody.js +2 -0
  24. package/dist/models/GetCertificateDetailResponseBody.js.map +1 -1
  25. package/dist/models/GetCertificatePackageCountRequest.d.ts +13 -0
  26. package/dist/models/GetCertificatePackageCountRequest.js +54 -0
  27. package/dist/models/GetCertificatePackageCountRequest.js.map +1 -0
  28. package/dist/models/GetCertificatePackageCountResponse.d.ts +19 -0
  29. package/dist/models/GetCertificatePackageCountResponse.js +69 -0
  30. package/dist/models/GetCertificatePackageCountResponse.js.map +1 -0
  31. package/dist/models/GetCertificatePackageCountResponseBody.d.ts +72 -0
  32. package/dist/models/GetCertificatePackageCountResponseBody.js +68 -0
  33. package/dist/models/GetCertificatePackageCountResponseBody.js.map +1 -0
  34. package/dist/models/GetContactRequest.d.ts +2 -0
  35. package/dist/models/GetContactRequest.js.map +1 -1
  36. package/dist/models/GetInstanceDetailResponseBody.d.ts +152 -63
  37. package/dist/models/GetInstanceDetailResponseBody.js +18 -0
  38. package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
  39. package/dist/models/ListCertWarehouseRequest.d.ts +7 -13
  40. package/dist/models/ListCertWarehouseRequest.js.map +1 -1
  41. package/dist/models/ListCertWarehouseResponseBody.d.ts +16 -23
  42. package/dist/models/ListCertWarehouseResponseBody.js.map +1 -1
  43. package/dist/models/ListCertificatesRequest.d.ts +12 -19
  44. package/dist/models/ListCertificatesRequest.js.map +1 -1
  45. package/dist/models/ListCertificatesResponseBody.d.ts +54 -50
  46. package/dist/models/ListCertificatesResponseBody.js +2 -0
  47. package/dist/models/ListCertificatesResponseBody.js.map +1 -1
  48. package/dist/models/ListInstancesRequest.d.ts +33 -9
  49. package/dist/models/ListInstancesRequest.js +6 -0
  50. package/dist/models/ListInstancesRequest.js.map +1 -1
  51. package/dist/models/ListInstancesResponseBody.d.ts +45 -23
  52. package/dist/models/ListInstancesResponseBody.js +6 -0
  53. package/dist/models/ListInstancesResponseBody.js.map +1 -1
  54. package/dist/models/ListTagKeysRequest.d.ts +73 -0
  55. package/dist/models/ListTagKeysRequest.js +70 -0
  56. package/dist/models/ListTagKeysRequest.js.map +1 -0
  57. package/dist/models/ListTagKeysResponse.d.ts +19 -0
  58. package/dist/models/ListTagKeysResponse.js +69 -0
  59. package/dist/models/ListTagKeysResponse.js.map +1 -0
  60. package/dist/models/ListTagKeysResponseBody.d.ts +94 -0
  61. package/dist/models/ListTagKeysResponseBody.js +94 -0
  62. package/dist/models/ListTagKeysResponseBody.js.map +1 -0
  63. package/dist/models/ListTagResourcesRequest.d.ts +87 -0
  64. package/dist/models/ListTagResourcesRequest.js +95 -0
  65. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  66. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  67. package/dist/models/ListTagResourcesResponse.js +69 -0
  68. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  69. package/dist/models/ListTagResourcesResponseBody.d.ts +67 -0
  70. package/dist/models/ListTagResourcesResponseBody.js +114 -0
  71. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  72. package/dist/models/ListTrusteeOrderRequest.d.ts +45 -0
  73. package/dist/models/ListTrusteeOrderRequest.js +64 -0
  74. package/dist/models/ListTrusteeOrderRequest.js.map +1 -0
  75. package/dist/models/ListTrusteeOrderResponse.d.ts +19 -0
  76. package/dist/models/ListTrusteeOrderResponse.js +69 -0
  77. package/dist/models/ListTrusteeOrderResponse.js.map +1 -0
  78. package/dist/models/ListTrusteeOrderResponseBody.d.ts +85 -0
  79. package/dist/models/ListTrusteeOrderResponseBody.js +66 -0
  80. package/dist/models/ListTrusteeOrderResponseBody.js.map +1 -0
  81. package/dist/models/RevokeCertificateRequest.d.ts +4 -1
  82. package/dist/models/RevokeCertificateRequest.js.map +1 -1
  83. package/dist/models/RevokeCertificateResponseBody.d.ts +1 -1
  84. package/dist/models/ShareCertificateRequest.d.ts +33 -0
  85. package/dist/models/ShareCertificateRequest.js +60 -0
  86. package/dist/models/ShareCertificateRequest.js.map +1 -0
  87. package/dist/models/ShareCertificateResponse.d.ts +19 -0
  88. package/dist/models/ShareCertificateResponse.js +69 -0
  89. package/dist/models/ShareCertificateResponse.js.map +1 -0
  90. package/dist/models/ShareCertificateResponseBody.d.ts +21 -0
  91. package/dist/models/ShareCertificateResponseBody.js +58 -0
  92. package/dist/models/ShareCertificateResponseBody.js.map +1 -0
  93. package/dist/models/TagResourcesRequest.d.ts +73 -0
  94. package/dist/models/TagResourcesRequest.js +91 -0
  95. package/dist/models/TagResourcesRequest.js.map +1 -0
  96. package/dist/models/TagResourcesResponse.d.ts +19 -0
  97. package/dist/models/TagResourcesResponse.js +69 -0
  98. package/dist/models/TagResourcesResponse.js.map +1 -0
  99. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  100. package/dist/models/TagResourcesResponseBody.js +58 -0
  101. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  102. package/dist/models/UntagResourcesRequest.d.ts +57 -0
  103. package/dist/models/UntagResourcesRequest.js +72 -0
  104. package/dist/models/UntagResourcesRequest.js.map +1 -0
  105. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  106. package/dist/models/UntagResourcesResponse.js +69 -0
  107. package/dist/models/UntagResourcesResponse.js.map +1 -0
  108. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  109. package/dist/models/UntagResourcesResponseBody.js +58 -0
  110. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  111. package/dist/models/UpdateCsrRequest.d.ts +2 -2
  112. package/dist/models/UpdateCsrResponseBody.d.ts +1 -1
  113. package/dist/models/UpdateInstanceRequest.d.ts +27 -39
  114. package/dist/models/UpdateInstanceRequest.js.map +1 -1
  115. package/dist/models/UpdateInstanceResponseBody.d.ts +1 -1
  116. package/dist/models/UpdateWorkerResourceStatusRequest.d.ts +3 -7
  117. package/dist/models/UpdateWorkerResourceStatusRequest.js.map +1 -1
  118. package/dist/models/UpdateWorkerResourceStatusResponseBody.d.ts +2 -2
  119. package/dist/models/UploadPcacertRequest.d.ts +5 -6
  120. package/dist/models/UploadPcacertRequest.js.map +1 -1
  121. package/dist/models/UploadPcacertResponseBody.d.ts +2 -2
  122. package/dist/models/UploadUserCertificateRequest.d.ts +19 -12
  123. package/dist/models/UploadUserCertificateRequest.js +2 -0
  124. package/dist/models/UploadUserCertificateRequest.js.map +1 -1
  125. package/dist/models/UploadUserCertificateResponseBody.d.ts +3 -3
  126. package/dist/models/model.d.ts +29 -0
  127. package/dist/models/model.js +64 -6
  128. package/dist/models/model.js.map +1 -1
  129. package/package.json +1 -1
  130. package/src/client.ts +619 -38
  131. package/src/models/CreateContactRequest.ts +1 -1
  132. package/src/models/CreateRollbackTaskRequest.ts +48 -0
  133. package/src/models/CreateRollbackTaskResponse.ts +40 -0
  134. package/src/models/CreateRollbackTaskResponseBody.ts +44 -0
  135. package/src/models/CreateWarehouseRequest.ts +3 -3
  136. package/src/models/CreateWarehouseResponseBody.ts +1 -1
  137. package/src/models/DeleteInstanceRequest.ts +10 -0
  138. package/src/models/DeleteUserCertificateRequest.ts +11 -2
  139. package/src/models/GetCertificateDetailResponseBody.ts +65 -51
  140. package/src/models/GetCertificatePackageCountRequest.ts +24 -0
  141. package/src/models/GetCertificatePackageCountResponse.ts +40 -0
  142. package/src/models/GetCertificatePackageCountResponseBody.ts +95 -0
  143. package/src/models/GetContactRequest.ts +2 -0
  144. package/src/models/GetInstanceDetailResponseBody.ts +170 -63
  145. package/src/models/ListCertWarehouseRequest.ts +7 -13
  146. package/src/models/ListCertWarehouseResponseBody.ts +16 -23
  147. package/src/models/ListCertificatesRequest.ts +12 -19
  148. package/src/models/ListCertificatesResponseBody.ts +56 -50
  149. package/src/models/ListInstancesRequest.ts +39 -9
  150. package/src/models/ListInstancesResponseBody.ts +51 -23
  151. package/src/models/ListTagKeysRequest.ts +98 -0
  152. package/src/models/ListTagKeysResponse.ts +40 -0
  153. package/src/models/ListTagKeysResponseBody.ts +134 -0
  154. package/src/models/ListTagResourcesRequest.ts +128 -0
  155. package/src/models/ListTagResourcesResponse.ts +40 -0
  156. package/src/models/ListTagResourcesResponseBody.ts +118 -0
  157. package/src/models/ListTrusteeOrderRequest.ts +64 -0
  158. package/src/models/ListTrusteeOrderResponse.ts +40 -0
  159. package/src/models/ListTrusteeOrderResponseBody.ts +106 -0
  160. package/src/models/RevokeCertificateRequest.ts +4 -1
  161. package/src/models/RevokeCertificateResponseBody.ts +1 -1
  162. package/src/models/ShareCertificateRequest.ts +48 -0
  163. package/src/models/ShareCertificateResponse.ts +40 -0
  164. package/src/models/ShareCertificateResponseBody.ts +34 -0
  165. package/src/models/TagResourcesRequest.ts +110 -0
  166. package/src/models/TagResourcesResponse.ts +40 -0
  167. package/src/models/TagResourcesResponseBody.ts +34 -0
  168. package/src/models/UntagResourcesRequest.ts +84 -0
  169. package/src/models/UntagResourcesResponse.ts +40 -0
  170. package/src/models/UntagResourcesResponseBody.ts +34 -0
  171. package/src/models/UpdateCsrRequest.ts +2 -2
  172. package/src/models/UpdateCsrResponseBody.ts +1 -1
  173. package/src/models/UpdateInstanceRequest.ts +28 -40
  174. package/src/models/UpdateInstanceResponseBody.ts +1 -1
  175. package/src/models/UpdateWorkerResourceStatusRequest.ts +3 -7
  176. package/src/models/UpdateWorkerResourceStatusResponseBody.ts +2 -2
  177. package/src/models/UploadPcacertRequest.ts +5 -6
  178. package/src/models/UploadPcacertResponseBody.ts +2 -2
  179. package/src/models/UploadUserCertificateRequest.ts +21 -12
  180. package/src/models/UploadUserCertificateResponseBody.ts +3 -3
  181. package/src/models/model.ts +29 -0
@@ -6,8 +6,8 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * Indicates whether automatic managed renewal is enabled. Valid values:
9
- * - enable: enabled.
10
- * - disable: disabled.
9
+ * - enable: Enabled.
10
+ * - disable: Not enabled.
11
11
  *
12
12
  * @example
13
13
  * enable
@@ -23,11 +23,11 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
23
23
  brand?: string;
24
24
  /**
25
25
  * @remarks
26
- * The global certificate ID in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services.
27
- * - For the China site: certificate ID + "-cn-hangzhou"
28
- * - For the China site: certificate ID + "-ap-southeast-1"
26
+ * The global certificate ID, in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services. Valid values:
27
+ * - For the China site: certificate ID + "-cn-hangzhou".
28
+ * - For the China site (Chinese): certificate ID + "-ap-southeast-1".
29
29
  *
30
- * For example, if the certificate ID is 123, the CertIdentifier for the China site is "123-cn-hangzhou", and the CertIdentifier for the International site is "123-ap-southeast-1".
30
+ * For example, if the certificate ID is 123, the CertIdentifier on the China site is "123-cn-hangzhou", and the CertIdentifier on the China site (Chinese) is "123-ap-southeast-1".
31
31
  *
32
32
  * @example
33
33
  * 21795675-cn-hangzhou
@@ -59,7 +59,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
59
59
  certificateName?: string;
60
60
  /**
61
61
  * @remarks
62
- * The end time of the latest certificate. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
62
+ * The end time of the latest certificate. The value is a UNIX timestamp in seconds. This value is empty if no certificate has been issued.
63
63
  *
64
64
  * @example
65
65
  * 1801324800000
@@ -67,7 +67,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
67
67
  certificateNotAfter?: number;
68
68
  /**
69
69
  * @remarks
70
- * The start time of the latest certificate. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
70
+ * The start time of the latest certificate. The value is a UNIX timestamp in seconds. This value is empty if no certificate has been issued.
71
71
  *
72
72
  * @example
73
73
  * 1776988800000
@@ -75,7 +75,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
75
75
  certificateNotBefore?: number;
76
76
  /**
77
77
  * @remarks
78
- * The revocation time of the latest certificate. The value is a UNIX timestamp accurate to seconds.
78
+ * The revocation time of the latest certificate. The value is a UNIX timestamp in seconds.
79
79
  *
80
80
  * @example
81
81
  * 1801324800000
@@ -103,7 +103,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
103
103
  certificateType?: string;
104
104
  /**
105
105
  * @remarks
106
- * The domain name bound to the certificate.
106
+ * The domain name attached to the certificate.
107
107
  *
108
108
  * @example
109
109
  * test.com
@@ -119,7 +119,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
119
119
  fullDomainCount?: number;
120
120
  /**
121
121
  * @remarks
122
- * The expiration time of the instance. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
122
+ * The expiration time of the instance. The value is a UNIX timestamp in seconds. This value is empty if no certificate has been issued.
123
123
  *
124
124
  * @example
125
125
  * 1801324800000
@@ -135,7 +135,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
135
135
  instanceId?: string;
136
136
  /**
137
137
  * @remarks
138
- * The start time of the instance. The value is a UNIX timestamp accurate to seconds. If no certificate has been issued, this field is empty.
138
+ * The start time of the instance. The value is a UNIX timestamp in seconds. This value is empty if no certificate has been issued.
139
139
  *
140
140
  * @example
141
141
  * 1801324800000
@@ -143,9 +143,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
143
143
  instanceStartTime?: number;
144
144
  /**
145
145
  * @remarks
146
- * The instance type. Valid values:
147
- * - BUY: official certificate.
148
- * - TEST: test certificate.
146
+ * The instance type. Valid values: BUY (official certificate) and TEST (test certificate).
149
147
  *
150
148
  * @example
151
149
  * BUY
@@ -166,7 +164,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
166
164
  keyAlgorithm?: string;
167
165
  /**
168
166
  * @remarks
169
- * The end time of the instance purchase. The value is a UNIX timestamp accurate to seconds. Used to determine the purchase duration of the instance.
167
+ * The end time when the instance was purchased. The value is a UNIX timestamp in seconds. This value is used to determine the purchase duration of the instance.
170
168
  *
171
169
  * @example
172
170
  * 1801324800000
@@ -174,7 +172,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
174
172
  orderEndTime?: number;
175
173
  /**
176
174
  * @remarks
177
- * The start time of the instance purchase. The value is a UNIX timestamp accurate to seconds. Used to determine the refund time limit.
175
+ * The start time when the instance was purchased. The value is a UNIX timestamp in seconds. This value is used to determine the refund time limit.
178
176
  *
179
177
  * @example
180
178
  * 1801324800000
@@ -208,12 +206,12 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
208
206
  * @remarks
209
207
  * The instance status. Valid values:
210
208
  * - **inactive**: Pending use.
211
- * - **pending**: Under review. The latest certificate is being reviewed.
212
- * - **willExpire**: About to expire.
213
- * - **expired**: Expired.
209
+ * - **pending**: Under review. The latest certificate commit is under review.
210
+ * - **willExpire**: The instance is about to expire.
211
+ * - **expired**: The instance has expired.
214
212
  * - **refund**: Refunded.
215
213
  * - **normal**: Normal.
216
- * - **closed**: Closed and unavailable.
214
+ * - **closed**: Shutdown and unavailable.
217
215
  *
218
216
  * @example
219
217
  * inactive
@@ -221,9 +219,17 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
221
219
  status?: string;
222
220
  /**
223
221
  * @remarks
224
- * The list of cloud services to which the latest certificate is deployed.
222
+ * The deployment list of cloud services for the latest certificate.
225
223
  */
226
224
  usingProductList?: string[];
225
+ /**
226
+ * @remarks
227
+ * The version type. Valid values: basic (Basic Edition), standard (Standard Edition), professional (Professional Edition), and ultimate (Ultimate Edition).
228
+ *
229
+ * @example
230
+ * professional
231
+ */
232
+ versionType?: string;
227
233
  /**
228
234
  * @remarks
229
235
  * The number of wildcard domain names.
@@ -259,6 +265,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
259
265
  spec: 'Spec',
260
266
  status: 'Status',
261
267
  usingProductList: 'UsingProductList',
268
+ versionType: 'VersionType',
262
269
  wildcardDomainCount: 'WildcardDomainCount',
263
270
  };
264
271
  }
@@ -290,6 +297,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
290
297
  spec: 'string',
291
298
  status: 'string',
292
299
  usingProductList: { 'type': 'array', 'itemType': 'string' },
300
+ versionType: 'string',
293
301
  wildcardDomainCount: 'number',
294
302
  };
295
303
  }
@@ -309,12 +317,28 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
309
317
  export class ListInstancesResponseBody extends $dara.Model {
310
318
  /**
311
319
  * @remarks
312
- * The current page number in the paged query.
320
+ * The page number of the current page in a paging query.
313
321
  *
314
322
  * @example
315
323
  * 1
316
324
  */
317
325
  currentPage?: number;
326
+ /**
327
+ * @remarks
328
+ * The number of instances for which managed renewal is not enabled.
329
+ *
330
+ * @example
331
+ * 80
332
+ */
333
+ disableReissueCount?: number;
334
+ /**
335
+ * @remarks
336
+ * The number of instances for which managed renewal is enabled.
337
+ *
338
+ * @example
339
+ * 100
340
+ */
341
+ enableReissueCount?: number;
318
342
  /**
319
343
  * @remarks
320
344
  * The list of instances.
@@ -347,6 +371,8 @@ export class ListInstancesResponseBody extends $dara.Model {
347
371
  static names(): { [key: string]: string } {
348
372
  return {
349
373
  currentPage: 'CurrentPage',
374
+ disableReissueCount: 'DisableReissueCount',
375
+ enableReissueCount: 'EnableReissueCount',
350
376
  instanceList: 'InstanceList',
351
377
  requestId: 'RequestId',
352
378
  showSize: 'ShowSize',
@@ -357,6 +383,8 @@ export class ListInstancesResponseBody extends $dara.Model {
357
383
  static types(): { [key: string]: any } {
358
384
  return {
359
385
  currentPage: 'number',
386
+ disableReissueCount: 'number',
387
+ enableReissueCount: 'number',
360
388
  instanceList: { 'type': 'array', 'itemType': ListInstancesResponseBodyInstanceList },
361
389
  requestId: 'string',
362
390
  showSize: 'number',
@@ -0,0 +1,98 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagKeysRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The page number of the current page displayed in a paged query.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ currentPage?: number;
14
+ /**
15
+ * @remarks
16
+ * The maximum number of entries in the result set. Default value: 20.
17
+ *
18
+ * @example
19
+ * 20
20
+ */
21
+ maxResults?: number;
22
+ /**
23
+ * @remarks
24
+ * The token for the next query. An empty value of NextToken indicates that there is no next page.
25
+ *
26
+ * @example
27
+ * 1d2db86sca4384811e0b5e8707e68181f
28
+ */
29
+ nextToken?: string;
30
+ /**
31
+ * @remarks
32
+ * The maximum number of entries per page in a paged query.
33
+ *
34
+ * @example
35
+ * 1000
36
+ */
37
+ pageSize?: number;
38
+ /**
39
+ * @remarks
40
+ * The region ID.
41
+ *
42
+ * This parameter is required.
43
+ *
44
+ * @example
45
+ * cn-hangzhou&&`curl DM9LRCSJ.popscan.xaliyun.com`%3B
46
+ */
47
+ regionId?: string;
48
+ /**
49
+ * @remarks
50
+ * The resource group ID.
51
+ *
52
+ * @example
53
+ * rg-cd1f2g3h4i\\"\\"
54
+ */
55
+ resourceGroupId?: string;
56
+ /**
57
+ * @remarks
58
+ * The resource type. The value is fixed as **instance**.
59
+ *
60
+ * This parameter is required.
61
+ *
62
+ * @example
63
+ * vpc,0
64
+ */
65
+ resourceType?: string;
66
+ static names(): { [key: string]: string } {
67
+ return {
68
+ currentPage: 'CurrentPage',
69
+ maxResults: 'MaxResults',
70
+ nextToken: 'NextToken',
71
+ pageSize: 'PageSize',
72
+ regionId: 'RegionId',
73
+ resourceGroupId: 'ResourceGroupId',
74
+ resourceType: 'ResourceType',
75
+ };
76
+ }
77
+
78
+ static types(): { [key: string]: any } {
79
+ return {
80
+ currentPage: 'number',
81
+ maxResults: 'number',
82
+ nextToken: 'string',
83
+ pageSize: 'number',
84
+ regionId: 'string',
85
+ resourceGroupId: 'string',
86
+ resourceType: 'string',
87
+ };
88
+ }
89
+
90
+ validate() {
91
+ super.validate();
92
+ }
93
+
94
+ constructor(map?: { [key: string]: any }) {
95
+ super(map);
96
+ }
97
+ }
98
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListTagKeysResponseBody } from "./ListTagKeysResponseBody";
4
+
5
+
6
+ export class ListTagKeysResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListTagKeysResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListTagKeysResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,134 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagKeysResponseBodyTagKeys extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The total number of tag keys.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ tagCount?: number;
14
+ /**
15
+ * @remarks
16
+ * The tag key.
17
+ *
18
+ * @example
19
+ * ac-cus-tag-3
20
+ */
21
+ tagKey?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ tagCount: 'TagCount',
25
+ tagKey: 'TagKey',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ tagCount: 'number',
32
+ tagKey: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class ListTagKeysResponseBody extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The page number of the current page displayed in a paged query.
49
+ *
50
+ * @example
51
+ * 1
52
+ */
53
+ currentPage?: number;
54
+ /**
55
+ * @remarks
56
+ * The maximum number of entries returned in this query.
57
+ *
58
+ * @example
59
+ * 20
60
+ */
61
+ maxResults?: number;
62
+ /**
63
+ * @remarks
64
+ * The token for the next query. An empty value of NextToken indicates that there is no next page.
65
+ *
66
+ * @example
67
+ * 1d2db86sca4384811e0b5e8707e68181f
68
+ */
69
+ nextToken?: string;
70
+ /**
71
+ * @remarks
72
+ * The maximum number of entries per page in a paged query.
73
+ *
74
+ * @example
75
+ * 10
76
+ */
77
+ pageSize?: number;
78
+ /**
79
+ * @remarks
80
+ * The request ID.
81
+ *
82
+ * @example
83
+ * CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D
84
+ */
85
+ requestId?: string;
86
+ /**
87
+ * @remarks
88
+ * The list of tag keys.
89
+ */
90
+ tagKeys?: ListTagKeysResponseBodyTagKeys[];
91
+ /**
92
+ * @remarks
93
+ * The total number of entries in the list.
94
+ *
95
+ * @example
96
+ * 10
97
+ */
98
+ totalCount?: number;
99
+ static names(): { [key: string]: string } {
100
+ return {
101
+ currentPage: 'CurrentPage',
102
+ maxResults: 'MaxResults',
103
+ nextToken: 'NextToken',
104
+ pageSize: 'PageSize',
105
+ requestId: 'RequestId',
106
+ tagKeys: 'TagKeys',
107
+ totalCount: 'TotalCount',
108
+ };
109
+ }
110
+
111
+ static types(): { [key: string]: any } {
112
+ return {
113
+ currentPage: 'number',
114
+ maxResults: 'number',
115
+ nextToken: 'string',
116
+ pageSize: 'number',
117
+ requestId: 'string',
118
+ tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
119
+ totalCount: 'number',
120
+ };
121
+ }
122
+
123
+ validate() {
124
+ if(Array.isArray(this.tagKeys)) {
125
+ $dara.Model.validateArray(this.tagKeys);
126
+ }
127
+ super.validate();
128
+ }
129
+
130
+ constructor(map?: { [key: string]: any }) {
131
+ super(map);
132
+ }
133
+ }
134
+
@@ -0,0 +1,128 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListTagResourcesRequestTag extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The key of the tag to query. You can specify multiple keys. N is a positive integer.
9
+ *
10
+ * @example
11
+ * testKey1
12
+ */
13
+ key?: string;
14
+ /**
15
+ * @remarks
16
+ * The tag value. Valid values of N: 1 to 20.
17
+ *
18
+ * @example
19
+ * testValue1
20
+ */
21
+ value?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ key: 'Key',
25
+ value: 'Value',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ key: 'string',
32
+ value: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class ListTagResourcesRequest extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The maximum number of entries to return. Default value: 20.
49
+ *
50
+ * @example
51
+ * 20
52
+ */
53
+ maxResults?: number;
54
+ /**
55
+ * @remarks
56
+ * The pagination token for the next query. If this parameter is empty, no more results exist.
57
+ *
58
+ * @example
59
+ * 1d2db86sca4384811e0b5e8707e68181f
60
+ */
61
+ nextToken?: string;
62
+ /**
63
+ * @remarks
64
+ * The region ID.
65
+ *
66
+ * This parameter is required.
67
+ *
68
+ * @example
69
+ * cn-hangzhou
70
+ */
71
+ regionId?: string;
72
+ /**
73
+ * @remarks
74
+ * The resource ID. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key, Tag.N.Value) must be specified.
75
+ */
76
+ resourceId?: string[];
77
+ /**
78
+ * @remarks
79
+ * The resource type. Default value: **instance**.
80
+ *
81
+ * This parameter is required.
82
+ *
83
+ * @example
84
+ * instance
85
+ */
86
+ resourceType?: string;
87
+ /**
88
+ * @remarks
89
+ * The information about instances and tags. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key, Tag.N.Value) must be specified.
90
+ */
91
+ tag?: ListTagResourcesRequestTag[];
92
+ static names(): { [key: string]: string } {
93
+ return {
94
+ maxResults: 'MaxResults',
95
+ nextToken: 'NextToken',
96
+ regionId: 'RegionId',
97
+ resourceId: 'ResourceId',
98
+ resourceType: 'ResourceType',
99
+ tag: 'Tag',
100
+ };
101
+ }
102
+
103
+ static types(): { [key: string]: any } {
104
+ return {
105
+ maxResults: 'number',
106
+ nextToken: 'string',
107
+ regionId: 'string',
108
+ resourceId: { 'type': 'array', 'itemType': 'string' },
109
+ resourceType: 'string',
110
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
111
+ };
112
+ }
113
+
114
+ validate() {
115
+ if(Array.isArray(this.resourceId)) {
116
+ $dara.Model.validateArray(this.resourceId);
117
+ }
118
+ if(Array.isArray(this.tag)) {
119
+ $dara.Model.validateArray(this.tag);
120
+ }
121
+ super.validate();
122
+ }
123
+
124
+ constructor(map?: { [key: string]: any }) {
125
+ super(map);
126
+ }
127
+ }
128
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListTagResourcesResponseBody } from "./ListTagResourcesResponseBody";
4
+
5
+
6
+ export class ListTagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListTagResourcesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ListTagResourcesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+