@alicloud/cas20200407 3.2.14 → 3.2.16

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 (28) hide show
  1. package/dist/client.d.ts +30 -24
  2. package/dist/client.js +39 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetCertificatePackageCountResponseBody.d.ts +4 -4
  5. package/dist/models/GetInstanceDetailResponseBody.d.ts +82 -62
  6. package/dist/models/GetInstanceDetailResponseBody.js +2 -0
  7. package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
  8. package/dist/models/ListDeploymentJobRequest.d.ts +19 -2
  9. package/dist/models/ListDeploymentJobRequest.js +4 -0
  10. package/dist/models/ListDeploymentJobRequest.js.map +1 -1
  11. package/dist/models/ListDeploymentJobResponseBody.d.ts +34 -31
  12. package/dist/models/ListDeploymentJobResponseBody.js +2 -0
  13. package/dist/models/ListDeploymentJobResponseBody.js.map +1 -1
  14. package/dist/models/ListInstancesRequest.d.ts +16 -12
  15. package/dist/models/ListInstancesRequest.js +2 -0
  16. package/dist/models/ListInstancesRequest.js.map +1 -1
  17. package/dist/models/ListInstancesResponseBody.d.ts +15 -21
  18. package/dist/models/ListInstancesResponseBody.js.map +1 -1
  19. package/dist/models/TagResourcesRequest.d.ts +2 -2
  20. package/package.json +1 -1
  21. package/src/client.ts +42 -24
  22. package/src/models/GetCertificatePackageCountResponseBody.ts +4 -4
  23. package/src/models/GetInstanceDetailResponseBody.ts +84 -62
  24. package/src/models/ListDeploymentJobRequest.ts +23 -2
  25. package/src/models/ListDeploymentJobResponseBody.ts +36 -31
  26. package/src/models/ListInstancesRequest.ts +18 -12
  27. package/src/models/ListInstancesResponseBody.ts +15 -21
  28. package/src/models/TagResourcesRequest.ts +2 -2
@@ -13,8 +13,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
13
13
  certDomain?: string;
14
14
  /**
15
15
  * @remarks
16
- * The certificate type. Valid values:
17
- *
16
+ * The certificate type.
18
17
  * - **upload**: uploaded certificate
19
18
  * - **buy**: purchased certificate
20
19
  * - **free**: personal test certificate (supported only on the China site)
@@ -25,10 +24,17 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
25
24
  certType?: string;
26
25
  /**
27
26
  * @remarks
28
- * The deletion flag. This parameter has no practical significance. Valid values:
27
+ * The list of SSL certificates.
29
28
  *
30
- * - **0**: not deleted.
31
- * - **1**: deleted.
29
+ * @example
30
+ * [{\\"Type\\": \\"Server\\", \\"Id\\": \\"22803164-cn-hangzhou\\"}]
31
+ */
32
+ certificates?: any;
33
+ /**
34
+ * @remarks
35
+ * The deletion flag. This field has no practical meaning.
36
+ * - **0**: not deleted
37
+ * - **1**: deleted
32
38
  *
33
39
  * @example
34
40
  * 1
@@ -36,7 +42,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
36
42
  del?: number;
37
43
  /**
38
44
  * @remarks
39
- * The end time of the deployment task execution, in UNIX timestamp format (seconds).
45
+ * The end time of the deployment task execution. The value is a UNIX timestamp in seconds.
40
46
  *
41
47
  * @example
42
48
  * 1606482979000
@@ -44,7 +50,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
44
50
  endTime?: string;
45
51
  /**
46
52
  * @remarks
47
- * The time when the deployment task was created, in UNIX timestamp format (seconds).
53
+ * The creation time of the deployment task. The value is a UNIX timestamp in seconds.
48
54
  *
49
55
  * @example
50
56
  * 1624343180000
@@ -52,7 +58,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
52
58
  gmtCreate?: string;
53
59
  /**
54
60
  * @remarks
55
- * The time when the deployment task was last modified, in UNIX timestamp format (seconds).
61
+ * The last modification time of the deployment task. The value is a UNIX timestamp in seconds.
56
62
  *
57
63
  * @example
58
64
  * 1606482979000
@@ -60,7 +66,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
60
66
  gmtModified?: string;
61
67
  /**
62
68
  * @remarks
63
- * The deployment task ID. You can use this ID to query the deployment task details and status.
69
+ * The deployment task ID. You can use this ID to query the details and status of the deployment task.
64
70
  *
65
71
  * @example
66
72
  * 19975
@@ -76,10 +82,9 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
76
82
  instanceId?: string;
77
83
  /**
78
84
  * @remarks
79
- * The task type. Valid values:
80
- *
81
- * - **cloud**: multi-cloud deployment task.
82
- * - **user**: cloud service deployment task (excluding ECS instances).
85
+ * The task type.
86
+ * - **cloud**: multi-cloud deployment task
87
+ * - **user**: cloud service deployment task (excluding ECS instances)
83
88
  *
84
89
  * @example
85
90
  * user
@@ -103,10 +108,9 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
103
108
  productName?: string;
104
109
  /**
105
110
  * @remarks
106
- * Indicates whether the task contains a rollback worker. For example, if a cloud service in the task has been rolled back, the value **1** is returned. Valid values:
107
- *
108
- * - **0**: does not contain a rollback worker.
109
- * - **1**: contains a rollback worker.
111
+ * Indicates whether the task contains a rollback worker. For example, if a cloud service in the task has been rolled back, the value **1** is returned.
112
+ * - **0**: The task does not contain a rollback worker.
113
+ * - **1**: The task contains a rollback worker.
110
114
  *
111
115
  * @example
112
116
  * 1
@@ -114,7 +118,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
114
118
  rollback?: number;
115
119
  /**
116
120
  * @remarks
117
- * The scheduled time of the task, in UNIX timestamp format (seconds).
121
+ * The scheduling time of the task. The value is a UNIX timestamp in seconds.
118
122
  *
119
123
  * @example
120
124
  * 1606482979000
@@ -122,7 +126,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
122
126
  scheduleTime?: string;
123
127
  /**
124
128
  * @remarks
125
- * The start time of the deployment task execution, in UNIX timestamp format (seconds).
129
+ * The start time of the deployment task execution. The value is a UNIX timestamp in seconds.
126
130
  *
127
131
  * @example
128
132
  * 1606482979000
@@ -130,14 +134,13 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
130
134
  startTime?: string;
131
135
  /**
132
136
  * @remarks
133
- * The deployment task status. Valid values:
134
- *
135
- * - **pending**: pending execution.
136
- * - **editing**: being edited.
137
- * - **scheduling**: being scheduled.
138
- * - **processing**: being deployed.
139
- * - **error**: deployment failed.
140
- * - **success**: deployment succeeded.
137
+ * The deployment task status.
138
+ * - **pending**: pending
139
+ * - **editing**: editing
140
+ * - **scheduling**: scheduling
141
+ * - **processing**: deploying
142
+ * - **error**: deployment failed
143
+ * - **success**: deployment successful
141
144
  *
142
145
  * @example
143
146
  * scheduling
@@ -155,6 +158,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
155
158
  return {
156
159
  certDomain: 'CertDomain',
157
160
  certType: 'CertType',
161
+ certificates: 'Certificates',
158
162
  del: 'Del',
159
163
  endTime: 'EndTime',
160
164
  gmtCreate: 'GmtCreate',
@@ -176,6 +180,7 @@ export class ListDeploymentJobResponseBodyData extends $dara.Model {
176
180
  return {
177
181
  certDomain: 'string',
178
182
  certType: 'string',
183
+ certificates: 'any',
179
184
  del: 'number',
180
185
  endTime: 'string',
181
186
  gmtCreate: 'string',
@@ -213,12 +218,12 @@ export class ListDeploymentJobResponseBody extends $dara.Model {
213
218
  currentPage?: number;
214
219
  /**
215
220
  * @remarks
216
- * The data returned by the API.
221
+ * The data returned in the response.
217
222
  */
218
223
  data?: ListDeploymentJobResponseBodyData[];
219
224
  /**
220
225
  * @remarks
221
- * The request ID. Alibaba Cloud generates a unique identifier for each request. You can use this ID to troubleshoot issues.
226
+ * The request ID. This ID is generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.
222
227
  *
223
228
  * @example
224
229
  * 12345678-1234-1234-1234-123456789ABC
@@ -226,7 +231,7 @@ export class ListDeploymentJobResponseBody extends $dara.Model {
226
231
  requestId?: string;
227
232
  /**
228
233
  * @remarks
229
- * The number of deployment tasks per page. Default value: **50**.
234
+ * The number of deployment tasks returned on each page. Default value: **50**.
230
235
  *
231
236
  * @example
232
237
  * 50
@@ -234,7 +239,7 @@ export class ListDeploymentJobResponseBody extends $dara.Model {
234
239
  showSize?: number;
235
240
  /**
236
241
  * @remarks
237
- * The total number of deployment tasks returned.
242
+ * The total number of deployment tasks queried.
238
243
  *
239
244
  * @example
240
245
  * 7
@@ -5,9 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListInstancesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether the instance is managed. Valid values:
9
- * - 1: Managed.
10
- * - 0: Not managed.
8
+ * Specifies whether the instance is managed. Valid values: 1 (managed) and 0 (not managed).
11
9
  *
12
10
  * @example
13
11
  * 1
@@ -43,7 +41,7 @@ export class ListInstancesRequest extends $dara.Model {
43
41
  certificateType?: string;
44
42
  /**
45
43
  * @remarks
46
- * The page number of the current page in a paged query. Default value: **1**.
44
+ * The page number of the current page in a paging query. Settings the current page number. Default value: **1**.
47
45
  *
48
46
  * @example
49
47
  * 1
@@ -51,9 +49,7 @@ export class ListInstancesRequest extends $dara.Model {
51
49
  currentPage?: number;
52
50
  /**
53
51
  * @remarks
54
- * The instance type. Valid values:
55
- * - BUY: formal certificate.
56
- * - TEST: test certificate.
52
+ * The instance type. Valid values: BUY (official certificate) and TEST (test certificate).
57
53
  *
58
54
  * @example
59
55
  * BUY
@@ -78,8 +74,8 @@ export class ListInstancesRequest extends $dara.Model {
78
74
  /**
79
75
  * @remarks
80
76
  * Specifies whether to return only instances that meet server deployment conditions. Valid values:
81
- * - 1: Yes.
82
- * - 0: No.
77
+ * - 1: is.
78
+ * - 0: no.
83
79
  *
84
80
  * @example
85
81
  * 1
@@ -87,7 +83,7 @@ export class ListInstancesRequest extends $dara.Model {
87
83
  serverDeployFlag?: number;
88
84
  /**
89
85
  * @remarks
90
- * The number of instances to display per page in a paged query. Default value: **10**. Maximum value: **100**.
86
+ * The number of instances to display per page in a paging query. Settings the number of instances displayed per page. Default value: **10**. Maximum value: **100**.
91
87
  *
92
88
  * @example
93
89
  * 10
@@ -97,17 +93,25 @@ export class ListInstancesRequest extends $dara.Model {
97
93
  * @remarks
98
94
  * The instance status. Valid values:
99
95
  * - **inactive**: Pending use.
100
- * - **pending**: Under review. The latest certificate is being reviewed.
96
+ * - **pending**: Under review. The latest certificate is being submitted for review.
101
97
  * - **willExpire**: The instance is about to expire.
102
98
  * - **expired**: The instance has expired.
103
99
  * - **refund**: Refunded.
104
100
  * - **normal**: Normal.
105
- * - **closed**: Closed. The instance is unavailable.
101
+ * - **closed**: Shutdown and unavailable.
106
102
  *
107
103
  * @example
108
104
  * inactive
109
105
  */
110
106
  status?: string;
107
+ /**
108
+ * @remarks
109
+ * The version type. Valid values: basic (Basic Edition), standard (Standard Edition), professional (Professional Edition), and ultimate (Ultimate Edition).
110
+ *
111
+ * @example
112
+ * professional
113
+ */
114
+ versionType?: string;
111
115
  static names(): { [key: string]: string } {
112
116
  return {
113
117
  autoReissueFlag: 'AutoReissueFlag',
@@ -121,6 +125,7 @@ export class ListInstancesRequest extends $dara.Model {
121
125
  serverDeployFlag: 'ServerDeployFlag',
122
126
  showSize: 'ShowSize',
123
127
  status: 'Status',
128
+ versionType: 'VersionType',
124
129
  };
125
130
  }
126
131
 
@@ -137,6 +142,7 @@ export class ListInstancesRequest extends $dara.Model {
137
142
  serverDeployFlag: 'number',
138
143
  showSize: 'number',
139
144
  status: 'string',
145
+ versionType: 'string',
140
146
  };
141
147
  }
142
148
 
@@ -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
- * - China site: certificate ID + "-cn-hangzhou"
28
- * - International 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 on the China site is "123-cn-hangzhou", and the CertIdentifier on 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 in seconds. This field is empty if no certificate has been issued.
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 in seconds. This field is empty if no certificate has been issued.
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
@@ -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 in seconds. This field is empty if no certificate has been issued.
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 in seconds. This field is empty if no certificate has been issued.
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: formal 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
@@ -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.
209
+ * - **pending**: Under review. The latest certificate commit is under review.
212
210
  * - **willExpire**: The instance is about to expire.
213
211
  * - **expired**: The instance has expired.
214
212
  * - **refund**: Refunded.
215
213
  * - **normal**: Normal.
216
- * - **closed**: Closed. The instance is unavailable.
214
+ * - **closed**: Shutdown and unavailable.
217
215
  *
218
216
  * @example
219
217
  * inactive
@@ -221,16 +219,12 @@ 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[];
227
225
  /**
228
226
  * @remarks
229
- * The version type. Valid values:
230
- * - basic: Basic Edition.
231
- * - standard: Standard Edition.
232
- * - professional: Professional Edition.
233
- * - ultimate: Ultimate Edition.
227
+ * The version type. Valid values: basic (Basic Edition), standard (Standard Edition), professional (Professional Edition), and ultimate (Ultimate Edition).
234
228
  *
235
229
  * @example
236
230
  * professional
@@ -323,7 +317,7 @@ export class ListInstancesResponseBodyInstanceList extends $dara.Model {
323
317
  export class ListInstancesResponseBody extends $dara.Model {
324
318
  /**
325
319
  * @remarks
326
- * The page number of the current page in a paged query.
320
+ * The page number of the current page in a paging query.
327
321
  *
328
322
  * @example
329
323
  * 1
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class TagResourcesRequestTag extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The tag key. Valid values of n: 1 to 20. You can specify up to 20 tag keys. For example: tag.1.key, tag.2.key, ..., tag.20.key.
8
+ * The tag key. Valid values of n: 1 to 20, which specifies multiple tag keys. A maximum of 20 tag keys are supported. For example: tag.1.key, tag.2.key, ..., tag.20.key.
9
9
  *
10
10
  * @example
11
11
  * testKey1
@@ -45,7 +45,7 @@ export class TagResourcesRequestTag extends $dara.Model {
45
45
  export class TagResourcesRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
- * The region to which the organization of the certificate owner belongs.
48
+ * The region of the organization to which the certificate owner belongs.
49
49
  *
50
50
  * This parameter is required.
51
51
  *