@alicloud/cas20200407 3.2.13 → 3.2.14

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 +564 -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 +105 -36
  37. package/dist/models/GetInstanceDetailResponseBody.js +16 -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 +24 -4
  49. package/dist/models/ListInstancesRequest.js +4 -0
  50. package/dist/models/ListInstancesRequest.js.map +1 -1
  51. package/dist/models/ListInstancesResponseBody.d.ts +46 -18
  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 +615 -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 +121 -36
  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 +28 -4
  150. package/src/models/ListInstancesResponseBody.ts +52 -18
  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
@@ -44,7 +44,7 @@ export class CreateContactRequest extends $dara.Model {
44
44
  * The webhook URLs of DingTalk, WeCom, or Lark chatbots. The value is a string in list format.
45
45
  *
46
46
  * @example
47
- * [\\"https://open.feishu.cn/open-apis/bot/v2/hook/dc1aa9b9-47cd-4b34-91ef-73c1034208e5\\"]
47
+ * [\\"https://open.feishu.cn/open-apis/bot/v2/hook/XXX\\"]
48
48
  */
49
49
  webhooks?: string;
50
50
  static names(): { [key: string]: string } {
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateRollbackTaskRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the deployment task.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * 436493
14
+ */
15
+ jobId?: number;
16
+ /**
17
+ * @remarks
18
+ * The ID of the deployment worker.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * 4197913
24
+ */
25
+ workerId?: number;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ jobId: 'JobId',
29
+ workerId: 'WorkerId',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ jobId: 'number',
36
+ workerId: 'number',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateRollbackTaskResponseBody } from "./CreateRollbackTaskResponseBody";
4
+
5
+
6
+ export class CreateRollbackTaskResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateRollbackTaskResponseBody;
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: CreateRollbackTaskResponseBody,
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,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateRollbackTaskResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The data returned by the request.
9
+ *
10
+ * @example
11
+ * []
12
+ */
13
+ data?: any;
14
+ /**
15
+ * @remarks
16
+ * The request ID generated by Alibaba Cloud for this request. You can use this ID to troubleshoot issues.
17
+ *
18
+ * @example
19
+ * 019FABA8-CB69-53CD-974E-BCE11882C367
20
+ */
21
+ requestId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ data: 'Data',
25
+ requestId: 'RequestId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ data: 'any',
32
+ requestId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateWarehouseRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The use case of the certificate warehouse.
8
+ * The scenarios of the repository.
9
9
  *
10
10
  * @example
11
11
  * contract
@@ -13,7 +13,7 @@ export class CreateWarehouseRequest extends $dara.Model {
13
13
  biz?: string;
14
14
  /**
15
15
  * @remarks
16
- * The name of the certificate warehouse.
16
+ * The name of the certificate repository.
17
17
  *
18
18
  * @example
19
19
  * MyCertificateWarehouse
@@ -21,7 +21,7 @@ export class CreateWarehouseRequest extends $dara.Model {
21
21
  name?: string;
22
22
  /**
23
23
  * @remarks
24
- * The type of the certificate warehouse. Valid values:
24
+ * The type of the certificate repository.
25
25
  *
26
26
  * @example
27
27
  * pcaCertificate
@@ -13,7 +13,7 @@ export class CreateWarehouseResponseBody extends $dara.Model {
13
13
  requestId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The instance ID of the certificate warehouse.
16
+ * The instance ID of the certificate application repository.
17
17
  *
18
18
  * @example
19
19
  * cas-wh-typ-serial
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DeleteInstanceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request and prevent repeated submissions. The value is generated by the client, must be unique among different requests, can contain a maximum of 64 ASCII characters, and cannot contain non-ASCII characters.
9
+ *
10
+ * @example
11
+ * XXX
12
+ */
13
+ clientToken?: string;
6
14
  /**
7
15
  * @remarks
8
16
  * The ID of the instance.
@@ -15,12 +23,14 @@ export class DeleteInstanceRequest extends $dara.Model {
15
23
  instanceId?: string;
16
24
  static names(): { [key: string]: string } {
17
25
  return {
26
+ clientToken: 'ClientToken',
18
27
  instanceId: 'InstanceId',
19
28
  };
20
29
  }
21
30
 
22
31
  static types(): { [key: string]: any } {
23
32
  return {
33
+ clientToken: 'string',
24
34
  instanceId: 'string',
25
35
  };
26
36
  }
@@ -6,8 +6,7 @@ export class DeleteUserCertificateRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The certificate ID.
9
- *
10
- * > To obtain the certificate ID, call the [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) operation.
9
+ * > You can call [ListUserCertificateOrder](https://help.aliyun.com/document_detail/455804.html) to obtain the ID.
11
10
  *
12
11
  * This parameter is required.
13
12
  *
@@ -15,15 +14,25 @@ export class DeleteUserCertificateRequest extends $dara.Model {
15
14
  * 7562353
16
15
  */
17
16
  certId?: number;
17
+ /**
18
+ * @remarks
19
+ * The client token that is used to ensure the idempotence of the request. The value of this parameter is generated by the client and must be unique among different requests. The value can be up to 64 characters in length and cannot contain non-ASCII characters.
20
+ *
21
+ * @example
22
+ * XXX
23
+ */
24
+ clientToken?: string;
18
25
  static names(): { [key: string]: string } {
19
26
  return {
20
27
  certId: 'CertId',
28
+ clientToken: 'ClientToken',
21
29
  };
22
30
  }
23
31
 
24
32
  static types(): { [key: string]: any } {
25
33
  return {
26
34
  certId: 'number',
35
+ clientToken: 'string',
27
36
  };
28
37
  }
29
38
 
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetCertificateDetailResponseBodyCertificateChainList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The issuer of the certificate chain.
8
+ * The issuer name of the certificate chain.
9
9
  *
10
10
  * @example
11
11
  * Digicert
@@ -13,7 +13,7 @@ export class GetCertificateDetailResponseBodyCertificateChainList extends $dara.
13
13
  issuer?: string;
14
14
  /**
15
15
  * @remarks
16
- * The end of the validity period.
16
+ * The end time of the certificate validity period.
17
17
  *
18
18
  * @example
19
19
  * 17326613180000
@@ -21,7 +21,7 @@ export class GetCertificateDetailResponseBodyCertificateChainList extends $dara.
21
21
  notAfter?: number;
22
22
  /**
23
23
  * @remarks
24
- * The beginning of the validity period.
24
+ * The start time of the certificate validity period.
25
25
  *
26
26
  * @example
27
27
  * 17321613180000
@@ -29,7 +29,7 @@ export class GetCertificateDetailResponseBodyCertificateChainList extends $dara.
29
29
  notBefore?: number;
30
30
  /**
31
31
  * @remarks
32
- * The remaining validity period of the certificate chain.
32
+ * The remaining days of the certificate chain validity period.
33
33
  *
34
34
  * @example
35
35
  * 10
@@ -75,9 +75,9 @@ export class GetCertificateDetailResponseBodyCertificateChainList extends $dara.
75
75
  export class GetCertificateDetailResponseBodyTags extends $dara.Model {
76
76
  /**
77
77
  * @remarks
78
- * The tag key of the instance. You can specify 1 to 20 tag keys. The value cannot be an empty string.
78
+ * The tag key of the instance. Valid values of N: **1** to **20**. The tag key cannot be an empty string.
79
79
  *
80
- * The value can be up to 64 characters in length, cannot start with `aliyun` or `acs:`, and cannot contain `http://` or `https://`.
80
+ * The tag key can be up to 64 characters in length and cannot start with `aliyun` or `acs:`. It cannot contain `http://` or `https://`.
81
81
  *
82
82
  * @example
83
83
  * test
@@ -117,13 +117,11 @@ export class GetCertificateDetailResponseBodyTags extends $dara.Model {
117
117
  export class GetCertificateDetailResponseBody extends $dara.Model {
118
118
  /**
119
119
  * @remarks
120
- * The certificate algorithm. Valid values:
120
+ * The certificate algorithm.
121
121
  *
122
- * - **RSA**: The RSA algorithm.
123
- *
124
- * - **ECC**: The ECC algorithm.
125
- *
126
- * - **SM2**: The SM2 algorithm.
122
+ * - **RSA**: RSA algorithm.
123
+ * - **ECC**: ECC algorithm.
124
+ * - **SM2**: SM2 algorithm.
127
125
  *
128
126
  * @example
129
127
  * RSA
@@ -131,7 +129,10 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
131
129
  algorithm?: string;
132
130
  /**
133
131
  * @remarks
134
- * The global ID of the certificate, which is used in various Alibaba Cloud services. The format of the ID is `<Certificate ID>-<Region ID>`. The region ID is `cn-hangzhou` for the China site and `ap-southeast-1` for the International site. For example, if a certificate ID is `123`, its `CertIdentifier` is `123-cn-hangzhou` for the China site and `123-ap-southeast-1` for the International site.
132
+ * The global certificate ID in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services.
133
+ * --For the China site, the value is certificate ID + "-cn-hangzhou".
134
+ * For the International site, the value is certificate ID + "-ap-southeast-1".
135
+ * For example, if the certificate ID is 123, the CertIdentifier on the China site is "123-cn-hangzhou", and the CertIdentifier on the International site is "123-ap-southeast-1".
135
136
  *
136
137
  * @example
137
138
  * 21912069-cn-hangzhou
@@ -139,7 +140,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
139
140
  certIdentifier?: string;
140
141
  /**
141
142
  * @remarks
142
- * The information about the certificate chain.
143
+ * The certificate chain information list.
143
144
  */
144
145
  certificateChainList?: GetCertificateDetailResponseBodyCertificateChainList[];
145
146
  /**
@@ -160,13 +161,10 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
160
161
  certificateName?: string;
161
162
  /**
162
163
  * @remarks
163
- * The source of the certificate. Valid values:
164
- *
165
- * - **BUY**: a purchased certificate.
166
- *
167
- * - **TEST**: a test certificate.
168
- *
169
- * - Upload the certificate.
164
+ * The certificate source.
165
+ * - BUY: Purchased certificate.
166
+ * - TEST: Test certificate.
167
+ * - UPLOAD: Uploaded certificate.
170
168
  *
171
169
  * @example
172
170
  * BUY
@@ -174,15 +172,11 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
174
172
  certificateSource?: string;
175
173
  /**
176
174
  * @remarks
177
- * The status of the certificate. Valid values:
178
- *
179
- * - **issued**: The certificate is issued.
180
- *
181
- * - **revoked**: The certificate is revoked.
182
- *
183
- * - **willExpire**: The certificate is about to expire.
184
- *
185
- * - **expired**: The certificate has expired.
175
+ * The certificate status.
176
+ * - **issued**: Issued.
177
+ * - **revoked**: Revoked.
178
+ * - **willExpire**: About to expire.
179
+ * - **expired**: Expired.
186
180
  *
187
181
  * @example
188
182
  * issued
@@ -190,7 +184,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
190
184
  certificateStatus?: string;
191
185
  /**
192
186
  * @remarks
193
- * The common name.
187
+ * The common domain name.
194
188
  *
195
189
  * @example
196
190
  * www.example.com
@@ -198,7 +192,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
198
192
  commonName?: string;
199
193
  /**
200
194
  * @remarks
201
- * The ID of the company profile that is associated with the certificate application. This parameter is empty for DV certificates.
195
+ * The company information ID associated with the certificate application. This value is empty for DV certificates.
202
196
  *
203
197
  * @example
204
198
  * 44211
@@ -206,20 +200,41 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
206
200
  companyId?: number;
207
201
  /**
208
202
  * @remarks
209
- * The ID of the contact.
203
+ * The contact ID.
210
204
  *
211
205
  * @example
212
206
  * 304066
213
207
  */
214
208
  contactId?: number;
215
209
  /**
210
+ * @remarks
211
+ * The certificate signing request (CSR) used to issue the certificate.
212
+ *
216
213
  * @example
217
214
  * -----BEGIN CERTIFICATE REQUEST----- ...... -----END CERTIFICATE REQUEST-----
218
215
  */
219
216
  csr?: string;
220
217
  /**
221
218
  * @remarks
222
- * The domain names that are bound to the certificate. Multiple domain names are separated by commas (,).
219
+ * The deployment information in JSON format:
220
+ *
221
+ * --Scope: Valid values are all/server. The value is all if the certificate has a private key, or server if it does not.
222
+ *
223
+ * --ServerName: The name of the server associated with the certificate instance.
224
+ *
225
+ * --ResourceInstanceId: The resource identifier of the server associated with the certificate instance.
226
+ *
227
+ * @example
228
+ * {
229
+ * "Scope": "all",
230
+ * "ServerName": "acmeServerName",
231
+ * "ResourceInstanceId": "cas_dv-cn-XXX"
232
+ * }
233
+ */
234
+ deploymentDesc?: string;
235
+ /**
236
+ * @remarks
237
+ * All domain names included in the certificate. Multiple domain names are separated by commas (,).
223
238
  *
224
239
  * @example
225
240
  * aliyundoc.com,example.aliyundoc.com
@@ -227,10 +242,9 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
227
242
  domain?: string;
228
243
  /**
229
244
  * @remarks
230
- * Indicates whether a private key is available. Valid values:
245
+ * Indicates whether a private key exists on the backend for the current certificate. Valid values:
231
246
  *
232
247
  * - **true**
233
- *
234
248
  * - **false**
235
249
  *
236
250
  * @example
@@ -239,7 +253,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
239
253
  existPrivateKey?: boolean;
240
254
  /**
241
255
  * @remarks
242
- * The fingerprint of the public key.
256
+ * The public key fingerprint.
243
257
  *
244
258
  * @example
245
259
  * 123
@@ -247,7 +261,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
247
261
  fingerPrint?: string;
248
262
  /**
249
263
  * @remarks
250
- * The ID of the instance.
264
+ * The instance ID.
251
265
  *
252
266
  * @example
253
267
  * cas_dv-cn-123
@@ -255,7 +269,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
255
269
  instanceId?: string;
256
270
  /**
257
271
  * @remarks
258
- * The issuer of the certificate.
272
+ * The certificate issue authority.
259
273
  *
260
274
  * @example
261
275
  * Digicert
@@ -263,11 +277,9 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
263
277
  issuer?: string;
264
278
  /**
265
279
  * @remarks
266
- * The key size.
267
- *
268
- * - For RSA algorithms, the key size is typically 2,048, 3,072, or 4,096 bits.
269
- *
270
- * - For ECC and SM2 algorithms, the key size is typically 256 bits.
280
+ * The key algorithm length.
281
+ * - The RSA algorithm length is typically 2048, 3072, or 4096.
282
+ * - The ECC and SM2 algorithm length is typically 256.
271
283
  *
272
284
  * @example
273
285
  * 2048
@@ -275,7 +287,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
275
287
  keySize?: number;
276
288
  /**
277
289
  * @remarks
278
- * The end of the validity period of the certificate.
290
+ * The end time of the certificate validity period.
279
291
  *
280
292
  * @example
281
293
  * 17326613180000
@@ -283,7 +295,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
283
295
  notAfter?: number;
284
296
  /**
285
297
  * @remarks
286
- * The beginning of the validity period of the certificate.
298
+ * The start time of the certificate validity period.
287
299
  *
288
300
  * @example
289
301
  * 17321613180000
@@ -291,7 +303,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
291
303
  notBefore?: number;
292
304
  /**
293
305
  * @remarks
294
- * The ID of the request.
306
+ * The request ID. Alibaba Cloud generates a unique identifier for each request. You can use this ID to troubleshoot issues.
295
307
  *
296
308
  * @example
297
309
  * 5979d897-d69f-4fc9-87dd-f3bb73c40b80
@@ -299,7 +311,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
299
311
  requestId?: string;
300
312
  /**
301
313
  * @remarks
302
- * The serial number of the certificate.
314
+ * The certificate serial number.
303
315
  *
304
316
  * @example
305
317
  * 123
@@ -307,17 +319,17 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
307
319
  serial?: string;
308
320
  /**
309
321
  * @remarks
310
- * The subject alternative names (SANs) of the certificate.
322
+ * The list of Subject Alternative Names (SANs) of the certificate, returned in array format. This corresponds to the `Subject Alternative Name` field of the certificate.
311
323
  */
312
324
  subjectAlternativeNames?: string[];
313
325
  /**
314
326
  * @remarks
315
- * The list of tags.
327
+ * The tag list.
316
328
  */
317
329
  tags?: GetCertificateDetailResponseBodyTags[];
318
330
  /**
319
331
  * @remarks
320
- * The list of cloud services in which the certificate is deployed.
332
+ * The list of Alibaba Cloud services to which the certificate is currently deployed.
321
333
  */
322
334
  usingProductList?: string[];
323
335
  static names(): { [key: string]: string } {
@@ -333,6 +345,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
333
345
  companyId: 'CompanyId',
334
346
  contactId: 'ContactId',
335
347
  csr: 'Csr',
348
+ deploymentDesc: 'DeploymentDesc',
336
349
  domain: 'Domain',
337
350
  existPrivateKey: 'ExistPrivateKey',
338
351
  fingerPrint: 'FingerPrint',
@@ -362,6 +375,7 @@ export class GetCertificateDetailResponseBody extends $dara.Model {
362
375
  companyId: 'number',
363
376
  contactId: 'number',
364
377
  csr: 'string',
378
+ deploymentDesc: 'string',
365
379
  domain: 'string',
366
380
  existPrivateKey: 'boolean',
367
381
  fingerPrint: 'string',
@@ -0,0 +1,24 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetCertificatePackageCountRequest extends $dara.Model {
6
+ static names(): { [key: string]: string } {
7
+ return {
8
+ };
9
+ }
10
+
11
+ static types(): { [key: string]: any } {
12
+ return {
13
+ };
14
+ }
15
+
16
+ validate() {
17
+ super.validate();
18
+ }
19
+
20
+ constructor(map?: { [key: string]: any }) {
21
+ super(map);
22
+ }
23
+ }
24
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetCertificatePackageCountResponseBody } from "./GetCertificatePackageCountResponseBody";
4
+
5
+
6
+ export class GetCertificatePackageCountResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetCertificatePackageCountResponseBody;
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: GetCertificatePackageCountResponseBody,
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
+