@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
@@ -0,0 +1,84 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UntagResourcesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to remove all tags. This parameter is valid only when TagKey.N is empty. Valid values:
9
+ * - true
10
+ * - false
11
+ *
12
+ * Default value: false.
13
+ *
14
+ * @example
15
+ * false
16
+ */
17
+ all?: boolean;
18
+ /**
19
+ * @remarks
20
+ * The region ID.
21
+ *
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * cn-hangzhou
26
+ */
27
+ regionId?: string;
28
+ /**
29
+ * @remarks
30
+ * The resource ID.
31
+ *
32
+ * This parameter is required.
33
+ */
34
+ resourceId?: string[];
35
+ /**
36
+ * @remarks
37
+ * The resource type. The value is fixed as **instance**.
38
+ *
39
+ * This parameter is required.
40
+ *
41
+ * @example
42
+ * instance
43
+ */
44
+ resourceType?: string;
45
+ /**
46
+ * @remarks
47
+ * The tag key.
48
+ */
49
+ tagKey?: string[];
50
+ static names(): { [key: string]: string } {
51
+ return {
52
+ all: 'All',
53
+ regionId: 'RegionId',
54
+ resourceId: 'ResourceId',
55
+ resourceType: 'ResourceType',
56
+ tagKey: 'TagKey',
57
+ };
58
+ }
59
+
60
+ static types(): { [key: string]: any } {
61
+ return {
62
+ all: 'boolean',
63
+ regionId: 'string',
64
+ resourceId: { 'type': 'array', 'itemType': 'string' },
65
+ resourceType: 'string',
66
+ tagKey: { 'type': 'array', 'itemType': 'string' },
67
+ };
68
+ }
69
+
70
+ validate() {
71
+ if(Array.isArray(this.resourceId)) {
72
+ $dara.Model.validateArray(this.resourceId);
73
+ }
74
+ if(Array.isArray(this.tagKey)) {
75
+ $dara.Model.validateArray(this.tagKey);
76
+ }
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UntagResourcesResponseBody } from "./UntagResourcesResponseBody";
4
+
5
+
6
+ export class UntagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UntagResourcesResponseBody;
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: UntagResourcesResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UntagResourcesResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * 2D69A58F-345C-4FDE-88E4-BF5189484043
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -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 unique ID of the CSR. The CsrId is generated when the CSR is uploaded. You can obtain this value by querying the CSR list. For more information, see [ListCsr](https://help.aliyun.com/document_detail/2709717.html).
8
+ * The unique identifier of the CSR. The CsrId is generated when you upload the CSR. You can obtain this value by querying the CSR list. For more information, see [ListCsr](https://help.aliyun.com/document_detail/2709717.html).
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 in PEM format.
18
+ * The certificate private key content in PEM format. This private key must match the public key cryptography contained in the CSR referenced by CsrId. Otherwise, the API returns the NotMatch.CsrAndPrivateKey error.
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. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.
8
+ * The request ID generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.
9
9
  *
10
10
  * @example
11
11
  * 082FAB35-6AB9-4FD5-8750-D36673548E76
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateInstanceRequestTags extends $dara.Model {
6
6
  /**
7
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.
8
+ * The tag key of the instance. Valid values of N: **1** to **20**. If you specify this parameter, the value cannot be an empty string.
9
9
  *
10
- * It can contain up to 64 characters. It cannot start with `aliyun` or `acs:`, and it cannot contain `http://` or `https://`.
10
+ * The tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
11
11
  *
12
12
  * @example
13
13
  * test
@@ -15,9 +15,9 @@ export class UpdateInstanceRequestTags extends $dara.Model {
15
15
  tagKey?: string;
16
16
  /**
17
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.
18
+ * The tag value of the instance. Valid values of N: **1** to **20**. If you specify this parameter, the value can be an empty string.
19
19
  *
20
- * It can contain up to 128 characters. It cannot start with `aliyun` or `acs:`, and it cannot contain `http://` or `https://`.
20
+ * The tag value can be up to 128 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
21
21
  *
22
22
  * @example
23
23
  * test
@@ -49,11 +49,9 @@ export class UpdateInstanceRequestTags extends $dara.Model {
49
49
  export class UpdateInstanceRequest extends $dara.Model {
50
50
  /**
51
51
  * @remarks
52
- * Whether to enable automatic management.
53
- *
54
- * - enable: enabled
55
- *
56
- * - disable: disabled
52
+ * Specifies whether to enable automatic hosting. Valid values:
53
+ * - enable: Enabled.
54
+ * - disable: Disabled.
57
55
  *
58
56
  * @example
59
57
  * enable
@@ -61,7 +59,7 @@ export class UpdateInstanceRequest extends $dara.Model {
61
59
  autoReissue?: string;
62
60
  /**
63
61
  * @remarks
64
- * The name of the instance. When issuing a certificate, this value serves as the default certificate name.
62
+ * The name of the instance. When a certificate is issued, this name is used as the default name of the certificate.
65
63
  *
66
64
  * @example
67
65
  * 123
@@ -69,7 +67,7 @@ export class UpdateInstanceRequest extends $dara.Model {
69
67
  certificateName?: string;
70
68
  /**
71
69
  * @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.
70
+ * The city where the company or organization of the certificate purchaser is located. This field is required when generating a CSR for a DV certificate. Default value: Beijing.
73
71
  *
74
72
  * @example
75
73
  * Beijing
@@ -77,7 +75,7 @@ export class UpdateInstanceRequest extends $dara.Model {
77
75
  city?: string;
78
76
  /**
79
77
  * @remarks
80
- * The company information ID. Required for OV and EV certificates. Otherwise, you cannot call ApplyCertificate to request a certificate.
78
+ * The company information ID. This parameter is required for OV and EV certificates. Otherwise, you cannot call the ApplyCertificate operation to apply for a certificate.
81
79
  *
82
80
  * @example
83
81
  * 44211
@@ -85,12 +83,12 @@ export class UpdateInstanceRequest extends $dara.Model {
85
83
  companyId?: number;
86
84
  /**
87
85
  * @remarks
88
- * The list of contact IDs. You must specify at least one contact. Otherwise, you cannot call ApplyCertificate to request a certificate.
86
+ * The list of contact IDs. If a contact already exists, you do not need to specify this parameter. If no contact has been configured, specify at least one contact ID. Otherwise, you cannot call the ApplyCertificate operation to apply for a certificate.
89
87
  */
90
88
  contactIdList?: number[];
91
89
  /**
92
90
  * @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.
91
+ * The country or region code of the certificate organization. For example, CN indicates China and US indicates the United States. This field is required when generating a CSR for a DV certificate. Default value: CN.
94
92
  *
95
93
  * @example
96
94
  * CN
@@ -98,7 +96,7 @@ export class UpdateInstanceRequest extends $dara.Model {
98
96
  countryCode?: string;
99
97
  /**
100
98
  * @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).
99
+ * The CSR content. You can use OpenSSL or Keytool to generate a CSR. For more information, see [How do I create a CSR file?](https://help.aliyun.com/document_detail/42218.html).
102
100
  *
103
101
  * @example
104
102
  * -----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----
@@ -106,15 +104,14 @@ export class UpdateInstanceRequest extends $dara.Model {
106
104
  csr?: string;
107
105
  /**
108
106
  * @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`).
107
+ * The domain name to which the certificate is bound. Requirements:
112
108
  *
113
- * - Supports multiple domain names. Separate multiple domain names with commas (,). The first domain determines whether a free domain is included.
109
+ * - You can specify a single domain name or a wildcard domain name (for example, `*.aliyundoc.com`).
110
+ * - You can specify multiple domain names. Separate multiple domain names with commas (,). Whether a free domain name is included is determined based on the first domain name.
114
111
  *
115
- * >Notice:
112
+ * >Notice:
116
113
  *
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.
114
+ * When the certificate is bound to multiple domain names, this parameter is required. This parameter and the **Csr** parameter cannot both be empty. If you specify both this parameter and the **Csr** parameter, the **CN** field value in the **Csr** parameter is used as the domain name to which the certificate is bound.
118
115
  *
119
116
  * @example
120
117
  * test.com
@@ -122,11 +119,9 @@ export class UpdateInstanceRequest extends $dara.Model {
122
119
  domain?: string;
123
120
  /**
124
121
  * @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.
122
+ * The method used to generate the certificate signing request (CSR). Default value: online. Valid values:
123
+ * - online: The system generates the CSR. The Csr parameter is ignored.
124
+ * - upload: You upload the CSR. The Csr parameter is required.
130
125
  *
131
126
  * @example
132
127
  * online
@@ -144,16 +139,11 @@ export class UpdateInstanceRequest extends $dara.Model {
144
139
  instanceId?: string;
145
140
  /**
146
141
  * @remarks
147
- * The certificate algorithm. Default value: RSA_2048.
148
- *
142
+ * The certificate algorithm. Default value: RSA_2048. Valid values:
149
143
  * - **RSA_2048**
150
- *
151
144
  * - **RSA_3072**
152
- *
153
145
  * - **RSA_4096**
154
- *
155
146
  * - **ECC_256**
156
- *
157
147
  * - **SM2**
158
148
  *
159
149
  * @example
@@ -162,7 +152,7 @@ export class UpdateInstanceRequest extends $dara.Model {
162
152
  keyAlgorithm?: string;
163
153
  /**
164
154
  * @remarks
165
- * The province or region where the company is located. Required when generating a CSR for a DV certificate. Default value: Beijing.
155
+ * The province or region where the company is located. This field is required when generating a CSR for a DV certificate. Default value: Beijing.
166
156
  *
167
157
  * @example
168
158
  * Beijing
@@ -170,7 +160,7 @@ export class UpdateInstanceRequest extends $dara.Model {
170
160
  province?: string;
171
161
  /**
172
162
  * @remarks
173
- * The ID of the resource group to which the instance belongs.
163
+ * The ID of the resource group.
174
164
  *
175
165
  * @example
176
166
  * rg-ae******4wia
@@ -178,16 +168,14 @@ export class UpdateInstanceRequest extends $dara.Model {
178
168
  resourceGroupId?: string;
179
169
  /**
180
170
  * @remarks
181
- * A list of tags.
171
+ * The list of tags.
182
172
  */
183
173
  tags?: UpdateInstanceRequestTags[];
184
174
  /**
185
175
  * @remarks
186
- * The certificate validation method.
187
- *
188
- * - DNS: DNS validation using TXT or CNAME records.
189
- *
190
- * - HTTP: File-based validation.
176
+ * The validation method for the certificate application. Valid values:
177
+ * - DNS: DNS validation, which uses TXT or CNAME records.
178
+ * - HTTP: File validation.
191
179
  *
192
180
  * @example
193
181
  * DNS
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateInstanceResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the request. Alibaba Cloud generates a unique identifier for each request to help troubleshoot and locate issues.
8
+ * The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.
9
9
  *
10
10
  * @example
11
11
  * 0068247C-A454-5FC9-93BF-C41CBB5CD19E
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateWorkerResourceStatusRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the deployment task. You can call the [CreateDeploymentJob](https://help.aliyun.com/document_detail/2712234.html) operation to obtain the ID of a deployment task from the **JobId** parameter. You can also call the [ListDeploymentJob](https://help.aliyun.com/document_detail/2712223.html) operation to obtain the ID of a deployment task.
8
+ * The deployment task ID. This ID is returned by [CreateDeploymentJob](https://help.aliyun.com/document_detail/2712234.html). You can also obtain it by calling [ListDeploymentJob](https://help.aliyun.com/document_detail/2712223.html).
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,11 +15,7 @@ export class UpdateWorkerResourceStatusRequest extends $dara.Model {
15
15
  jobId?: number;
16
16
  /**
17
17
  * @remarks
18
- * The desired status of the worker resource.
19
- *
20
- * Valid values:
21
- *
22
- * - rollback
18
+ * The target status. Valid values: "editing", "pending", "success", "rollback", "rollback_success", "rollback_error".
23
19
  *
24
20
  * This parameter is required.
25
21
  *
@@ -29,7 +25,7 @@ export class UpdateWorkerResourceStatusRequest extends $dara.Model {
29
25
  status?: string;
30
26
  /**
31
27
  * @remarks
32
- * The ID of the worker task. You can call the [ListWorkerResource](https://help.aliyun.com/document_detail/2712224.html) operation to obtain the ID of a worker task.
28
+ * The deployment task worker ID. You can obtain this ID by calling [ListWorkerResource](https://help.aliyun.com/document_detail/2712224.html).
33
29
  *
34
30
  * This parameter is required.
35
31
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateWorkerResourceStatusResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The response parameters.
8
+ * The data returned by the request.
9
9
  *
10
10
  * @example
11
11
  * []
@@ -13,7 +13,7 @@ export class UpdateWorkerResourceStatusResponseBody extends $dara.Model {
13
13
  data?: any;
14
14
  /**
15
15
  * @remarks
16
- * The request ID.
16
+ * The request ID. Alibaba Cloud generates a unique identifier for each request, which can be used for troubleshooting and diagnostics.
17
17
  *
18
18
  * @example
19
19
  * 12345678-1234-1234-1234-123456789ABC
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UploadPCACertRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The content of the certificate and its chain, in PEM format.
8
+ * The certificate.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class UploadPCACertRequest extends $dara.Model {
15
15
  cert?: string;
16
16
  /**
17
17
  * @remarks
18
- * A custom name for the certificate.
18
+ * The certificate name.
19
19
  *
20
20
  * @example
21
21
  * cert_name
@@ -23,7 +23,7 @@ export class UploadPCACertRequest extends $dara.Model {
23
23
  name?: string;
24
24
  /**
25
25
  * @remarks
26
- * The private key of the certificate, in PEM format.
26
+ * The private key of the certificate.
27
27
  *
28
28
  * @example
29
29
  * -----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEA5SIfpNCBoiDrZhX1H39CHwQMVD0kBNeBTWfP9xkeesvfzbOz ******* POVNFfDf9h7pJtQ5fRZNTYTDs/d+cH62Z3+nS74mNnEfff0nkvne -----END RSA PRIVATE KEY-----
@@ -31,9 +31,8 @@ export class UploadPCACertRequest extends $dara.Model {
31
31
  privateKey?: string;
32
32
  /**
33
33
  * @remarks
34
- * The ID of the certificate warehouse.
35
- *
36
- * > Call [ListCertWarehouse](https://help.aliyun.com/document_detail/455805.html) to obtain this ID.
34
+ * The repository ID.
35
+ * > You can call [ListCertWarehouse](https://help.aliyun.com/document_detail/455805.html) to obtain this ID.
37
36
  *
38
37
  * This parameter is required.
39
38
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UploadPCACertResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The unique identifier for the certificate.
8
+ * The certificate identifier.
9
9
  *
10
10
  * @example
11
11
  * 1ed65580-7e33-6a50-8630-dd13fdc009ee
@@ -13,7 +13,7 @@ export class UploadPCACertResponseBody extends $dara.Model {
13
13
  identifier?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the request.
16
+ * The request ID.
17
17
  *
18
18
  * @example
19
19
  * 15C66C7B-671A-4297-9187-2C4477247A74
@@ -45,7 +45,7 @@ export class UploadUserCertificateRequestTags extends $dara.Model {
45
45
  export class UploadUserCertificateRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The content of a non-SM certificate in PEM format.
48
+ * The content of the non-SM certificate in PEM format.
49
49
  *
50
50
  * @example
51
51
  * -----BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
@@ -53,7 +53,15 @@ export class UploadUserCertificateRequest extends $dara.Model {
53
53
  cert?: string;
54
54
  /**
55
55
  * @remarks
56
- * The content of the SM encryption certificate in PEM format. This parameter is invalid if Cert and Key are not empty.
56
+ * The client token used to ensure the idempotence of the request.
57
+ *
58
+ * @example
59
+ * XXX
60
+ */
61
+ clientToken?: string;
62
+ /**
63
+ * @remarks
64
+ * The content of the SM encryption certificate in PEM format. This field is ignored if Cert and Key are not empty.
57
65
  *
58
66
  * @example
59
67
  * -----BEGIN CERTIFICATE-----
@@ -63,7 +71,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
63
71
  encryptCert?: string;
64
72
  /**
65
73
  * @remarks
66
- * The content of the private key of the SM encryption certificate in PEM format. This parameter is invalid if Cert and Key are not empty.
74
+ * The private key of the SM encryption certificate in PEM format. This field is ignored if Cert and Key are not empty.
67
75
  *
68
76
  * @example
69
77
  * -----BEGIN EC PRIVATE KEY-----
@@ -73,19 +81,18 @@ export class UploadUserCertificateRequest extends $dara.Model {
73
81
  encryptPrivateKey?: string;
74
82
  /**
75
83
  * @remarks
76
- * The private key of a non-SM certificate in PEM format.
84
+ * The private key of the non-SM certificate in PEM format.
77
85
  *
78
86
  * @example
79
87
  * -----BEGIN CERTIFICATE-----
80
- * MIICDzCCAbagAw****
88
+ * MIICDzCCAbagAw
81
89
  * -----END CERTIFICATE-----
82
90
  */
83
91
  key?: string;
84
92
  /**
85
93
  * @remarks
86
- * The custom name of the certificate. The name can be up to 63 characters long and can contain letters, digits, and underscores (_).
87
- *
88
- * > Certificate names must be unique for each user.
94
+ * The custom name of the certificate. Maximum length: 63 characters. Supports all character types, including letters, digits, and underscores.
95
+ * > Certificate names must be unique within the same account.
89
96
  *
90
97
  * This parameter is required.
91
98
  *
@@ -95,7 +102,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
95
102
  name?: string;
96
103
  /**
97
104
  * @remarks
98
- * The ID of the resource group.
105
+ * The resource group ID.
99
106
  *
100
107
  * @example
101
108
  * rg-ae****vty
@@ -103,7 +110,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
103
110
  resourceGroupId?: string;
104
111
  /**
105
112
  * @remarks
106
- * The content of the SM signing certificate in PEM format. This parameter is invalid if Cert and Key are not empty.
113
+ * The content of the SM signing certificate in PEM format. This field is ignored if Cert and Key are not empty.
107
114
  *
108
115
  * @example
109
116
  * -----BEGIN CERTIFICATE-----
@@ -113,7 +120,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
113
120
  signCert?: string;
114
121
  /**
115
122
  * @remarks
116
- * The content of the private key of the SM signing certificate in PEM format. This parameter is invalid if Cert and Key are not empty.
123
+ * The private key of the SM signing certificate in PEM format. This field is ignored if Cert and Key are not empty.
117
124
  *
118
125
  * @example
119
126
  * -----BEGIN EC PRIVATE KEY-----
@@ -123,12 +130,13 @@ export class UploadUserCertificateRequest extends $dara.Model {
123
130
  signPrivateKey?: string;
124
131
  /**
125
132
  * @remarks
126
- * A list of tags.
133
+ * The list of tags.
127
134
  */
128
135
  tags?: UploadUserCertificateRequestTags[];
129
136
  static names(): { [key: string]: string } {
130
137
  return {
131
138
  cert: 'Cert',
139
+ clientToken: 'ClientToken',
132
140
  encryptCert: 'EncryptCert',
133
141
  encryptPrivateKey: 'EncryptPrivateKey',
134
142
  key: 'Key',
@@ -143,6 +151,7 @@ export class UploadUserCertificateRequest extends $dara.Model {
143
151
  static types(): { [key: string]: any } {
144
152
  return {
145
153
  cert: 'string',
154
+ clientToken: 'string',
146
155
  encryptCert: 'string',
147
156
  encryptPrivateKey: 'string',
148
157
  key: 'string',
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UploadUserCertificateResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the certificate.
8
+ * The certificate ID.
9
9
  *
10
10
  * @example
11
11
  * 12345
@@ -13,7 +13,7 @@ export class UploadUserCertificateResponseBody extends $dara.Model {
13
13
  certId?: number;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the request.
16
+ * The request ID.
17
17
  *
18
18
  * @example
19
19
  * BDB81BA2-E1F5-4D08-A2DD-4BE2BF44C90E
@@ -21,7 +21,7 @@ export class UploadUserCertificateResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the certificate instance.
24
+ * The instance ID of the certificate to operate on.
25
25
  *
26
26
  * @example
27
27
  * cas-upload-xki1d0