@alicloud/cas20200407 3.2.14 → 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.
- package/dist/client.d.ts +16 -16
- package/dist/client.js +19 -16
- package/dist/client.js.map +1 -1
- package/dist/models/GetInstanceDetailResponseBody.d.ts +82 -62
- package/dist/models/GetInstanceDetailResponseBody.js +2 -0
- package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +16 -12
- package/dist/models/ListInstancesRequest.js +2 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +15 -21
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +2 -2
- package/package.json +1 -1
- package/src/client.ts +20 -16
- package/src/models/GetInstanceDetailResponseBody.ts +84 -62
- package/src/models/ListInstancesRequest.ts +18 -12
- package/src/models/ListInstancesResponseBody.ts +15 -21
- package/src/models/TagResourcesRequest.ts +2 -2
|
@@ -20,11 +20,11 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
20
20
|
brand?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The global certificate ID, in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services.
|
|
24
|
-
* - China site: certificate ID + "-cn-hangzhou"
|
|
25
|
-
* -
|
|
23
|
+
* The global certificate ID, in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services. Valid values:
|
|
24
|
+
* - For the China site: certificate ID + "-cn-hangzhou".
|
|
25
|
+
* - For the China site (Chinese): certificate ID + "-ap-southeast-1".
|
|
26
26
|
*
|
|
27
|
-
* For example, if the certificate ID is 123, the CertIdentifier on the China site is "123-cn-hangzhou", and the CertIdentifier on the
|
|
27
|
+
* 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".
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* 21795675-cn-hangzhou
|
|
@@ -56,7 +56,7 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
56
56
|
certificateName?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The end time of the latest certificate. The value is a UNIX timestamp in seconds. This
|
|
59
|
+
* 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.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* 1801324800000
|
|
@@ -64,7 +64,7 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
64
64
|
certificateNotAfter?: number;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* The start time of the latest certificate. The value is a UNIX timestamp in seconds. This
|
|
67
|
+
* 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.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
70
70
|
* 1776988800000
|
|
@@ -100,7 +100,7 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
100
100
|
certificateType?: string;
|
|
101
101
|
/**
|
|
102
102
|
* @remarks
|
|
103
|
-
* The domain name
|
|
103
|
+
* The domain name attached to the certificate.
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
106
|
* test.com
|
|
@@ -116,7 +116,7 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
116
116
|
fullDomainCount?: number;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* The expiration time of the instance. The value is a UNIX timestamp in seconds. This
|
|
119
|
+
* The expiration time of the instance. The value is a UNIX timestamp in seconds. This value is empty if no certificate has been issued.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* 1801324800000
|
|
@@ -132,7 +132,7 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
132
132
|
instanceId?: string;
|
|
133
133
|
/**
|
|
134
134
|
* @remarks
|
|
135
|
-
* The start time of the instance. The value is a UNIX timestamp in seconds. This
|
|
135
|
+
* The start time of the instance. The value is a UNIX timestamp in seconds. This value is empty if no certificate has been issued.
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* 1801324800000
|
|
@@ -140,9 +140,7 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
140
140
|
instanceStartTime?: number;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The instance type. Valid values:
|
|
144
|
-
* - BUY: formal certificate.
|
|
145
|
-
* - TEST: test certificate.
|
|
143
|
+
* The instance type. Valid values: BUY (official certificate) and TEST (test certificate).
|
|
146
144
|
*
|
|
147
145
|
* @example
|
|
148
146
|
* BUY
|
|
@@ -205,12 +203,12 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
205
203
|
* @remarks
|
|
206
204
|
* The instance status. Valid values:
|
|
207
205
|
* - **inactive**: Pending use.
|
|
208
|
-
* - **pending**: Under review. The latest certificate is
|
|
206
|
+
* - **pending**: Under review. The latest certificate commit is under review.
|
|
209
207
|
* - **willExpire**: The instance is about to expire.
|
|
210
208
|
* - **expired**: The instance has expired.
|
|
211
209
|
* - **refund**: Refunded.
|
|
212
210
|
* - **normal**: Normal.
|
|
213
|
-
* - **closed**:
|
|
211
|
+
* - **closed**: Shutdown and unavailable.
|
|
214
212
|
*
|
|
215
213
|
* @example
|
|
216
214
|
* inactive
|
|
@@ -218,16 +216,12 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
218
216
|
status?: string;
|
|
219
217
|
/**
|
|
220
218
|
* @remarks
|
|
221
|
-
* The list of cloud services
|
|
219
|
+
* The deployment list of cloud services for the latest certificate.
|
|
222
220
|
*/
|
|
223
221
|
usingProductList?: string[];
|
|
224
222
|
/**
|
|
225
223
|
* @remarks
|
|
226
|
-
* The version type. Valid values:
|
|
227
|
-
* - basic: Basic Edition.
|
|
228
|
-
* - standard: Standard Edition.
|
|
229
|
-
* - professional: Professional Edition.
|
|
230
|
-
* - ultimate: Ultimate Edition.
|
|
224
|
+
* The version type. Valid values: basic (Basic Edition), standard (Standard Edition), professional (Professional Edition), and ultimate (Ultimate Edition).
|
|
231
225
|
*
|
|
232
226
|
* @example
|
|
233
227
|
* professional
|
|
@@ -255,7 +249,7 @@ export declare class ListInstancesResponseBodyInstanceList extends $dara.Model {
|
|
|
255
249
|
export declare class ListInstancesResponseBody extends $dara.Model {
|
|
256
250
|
/**
|
|
257
251
|
* @remarks
|
|
258
|
-
* The page number of the current page in a
|
|
252
|
+
* The page number of the current page in a paging query.
|
|
259
253
|
*
|
|
260
254
|
* @example
|
|
261
255
|
* 1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListInstancesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListInstancesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListInstancesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListInstancesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IA4OpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,cAAc,EAAE,gBAAgB;YAChC,iBAAiB,EAAE,mBAAmB;YACtC,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,mBAAmB,EAAE,qBAAqB;YAC1C,oBAAoB,EAAE,sBAAsB;YAC5C,qBAAqB,EAAE,uBAA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,CAAC;IACb,CAAC;CACF;AAxFD,8DAwFC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class TagResourcesRequestTag extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The tag key. Valid values of n: 1 to 20
|
|
5
|
+
* 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.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* testKey1
|
|
@@ -30,7 +30,7 @@ export declare class TagResourcesRequestTag extends $dara.Model {
|
|
|
30
30
|
export declare class TagResourcesRequest extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* The region
|
|
33
|
+
* The region of the organization to which the certificate owner belongs.
|
|
34
34
|
*
|
|
35
35
|
* This parameter is required.
|
|
36
36
|
*
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2365,10 +2365,10 @@ export default class Client extends OpenApi {
|
|
|
2365
2365
|
* Queries the details of an instance.
|
|
2366
2366
|
*
|
|
2367
2367
|
* @remarks
|
|
2368
|
-
*
|
|
2369
|
-
* Before you invoke this operation, you must
|
|
2368
|
+
* Queries the status information of a Private Certificate Authority (PCA) instance that you purchased through the SSL Certificate Service console by using the instance ID. The information includes the instance status, the total number of certificates, and the number of issued certificates.
|
|
2369
|
+
* Before you invoke this operation, you must purchase a private CA through the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
2370
2370
|
* ## QPS limit
|
|
2371
|
-
* The QPS limit for a single user is 10
|
|
2371
|
+
* The QPS limit for a single user is 10 invocations per second. If the limit is exceeded, API invocations are throttled, which may affect your services. Invoke this operation at a reasonable frequency.
|
|
2372
2372
|
*
|
|
2373
2373
|
* @param request - GetInstanceDetailRequest
|
|
2374
2374
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2402,10 +2402,10 @@ export default class Client extends OpenApi {
|
|
|
2402
2402
|
* Queries the details of an instance.
|
|
2403
2403
|
*
|
|
2404
2404
|
* @remarks
|
|
2405
|
-
*
|
|
2406
|
-
* Before you invoke this operation, you must
|
|
2405
|
+
* Queries the status information of a Private Certificate Authority (PCA) instance that you purchased through the SSL Certificate Service console by using the instance ID. The information includes the instance status, the total number of certificates, and the number of issued certificates.
|
|
2406
|
+
* Before you invoke this operation, you must purchase a private CA through the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
2407
2407
|
* ## QPS limit
|
|
2408
|
-
* The QPS limit for a single user is 10
|
|
2408
|
+
* The QPS limit for a single user is 10 invocations per second. If the limit is exceeded, API invocations are throttled, which may affect your services. Invoke this operation at a reasonable frequency.
|
|
2409
2409
|
*
|
|
2410
2410
|
* @param request - GetInstanceDetailRequest
|
|
2411
2411
|
* @returns GetInstanceDetailResponse
|
|
@@ -3370,10 +3370,10 @@ export default class Client extends OpenApi {
|
|
|
3370
3370
|
* Retrieves a list of instances.
|
|
3371
3371
|
*
|
|
3372
3372
|
* @remarks
|
|
3373
|
-
* Queries the status information of Private Certificate Authority (PCA) instances that you purchased through the SSL Certificate console by
|
|
3374
|
-
* Before
|
|
3373
|
+
* Queries the status information of Private Certificate Authority (PCA) instances that you purchased through the SSL Certificate console by specifying the IDs of the private CA instances. For example, you can query the status of a CA instance, the number of digital certificates included, and the number of digital certificates issued.
|
|
3374
|
+
* Before invoking this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3375
3375
|
* ## QPS limit
|
|
3376
|
-
* The single-user QPS limit for this operation is 10
|
|
3376
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Invoke this operation as needed.
|
|
3377
3377
|
*
|
|
3378
3378
|
* @param request - ListInstancesRequest
|
|
3379
3379
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3426,6 +3426,10 @@ export default class Client extends OpenApi {
|
|
|
3426
3426
|
query["Status"] = request.status;
|
|
3427
3427
|
}
|
|
3428
3428
|
|
|
3429
|
+
if (!$dara.isNull(request.versionType)) {
|
|
3430
|
+
query["VersionType"] = request.versionType;
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3429
3433
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3430
3434
|
query: OpenApiUtil.query(query),
|
|
3431
3435
|
});
|
|
@@ -3447,10 +3451,10 @@ export default class Client extends OpenApi {
|
|
|
3447
3451
|
* Retrieves a list of instances.
|
|
3448
3452
|
*
|
|
3449
3453
|
* @remarks
|
|
3450
|
-
* Queries the status information of Private Certificate Authority (PCA) instances that you purchased through the SSL Certificate console by
|
|
3451
|
-
* Before
|
|
3454
|
+
* Queries the status information of Private Certificate Authority (PCA) instances that you purchased through the SSL Certificate console by specifying the IDs of the private CA instances. For example, you can query the status of a CA instance, the number of digital certificates included, and the number of digital certificates issued.
|
|
3455
|
+
* Before invoking this operation, you must have purchased a private CA through the [Certificate Management Service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
3452
3456
|
* ## QPS limit
|
|
3453
|
-
* The single-user QPS limit for this operation is 10
|
|
3457
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API invoke is throttled, which may affect your business. Invoke this operation as needed.
|
|
3454
3458
|
*
|
|
3455
3459
|
* @param request - ListInstancesRequest
|
|
3456
3460
|
* @returns ListInstancesResponse
|
|
@@ -4260,8 +4264,8 @@ export default class Client extends OpenApi {
|
|
|
4260
4264
|
* Adds resource tags.
|
|
4261
4265
|
*
|
|
4262
4266
|
* @remarks
|
|
4263
|
-
* Queries the status information of a private Certificate Authority (CA) instance that you purchased
|
|
4264
|
-
* Before you invoke this operation, you must have purchased a private CA
|
|
4267
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the Certificate Service console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of SSL certificates included, and the number of SSL certificates issued.
|
|
4268
|
+
* Before you invoke this operation, you must have purchased a private CA in the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
4265
4269
|
* ## QPS limit
|
|
4266
4270
|
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
4267
4271
|
*
|
|
@@ -4309,8 +4313,8 @@ export default class Client extends OpenApi {
|
|
|
4309
4313
|
* Adds resource tags.
|
|
4310
4314
|
*
|
|
4311
4315
|
* @remarks
|
|
4312
|
-
* Queries the status information of a private Certificate Authority (CA) instance that you purchased
|
|
4313
|
-
* Before you invoke this operation, you must have purchased a private CA
|
|
4316
|
+
* Queries the status information of a private Certificate Authority (CA) instance that you purchased in the Certificate Service console by using the ID of the private CA instance. For example, you can query the status of the CA instance, the number of SSL certificates included, and the number of SSL certificates issued.
|
|
4317
|
+
* Before you invoke this operation, you must have purchased a private CA in the [digital certificate management service console](https://yundun.console.aliyun.com/?p=cas#/pca/rootlist). For more information, see [Purchase a private CA](https://help.aliyun.com/document_detail/208553.html).
|
|
4314
4318
|
* ## QPS limit
|
|
4315
4319
|
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Invoke this operation as needed.
|
|
4316
4320
|
*
|