@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.
- package/dist/client.d.ts +294 -36
- package/dist/client.js +567 -38
- package/dist/client.js.map +1 -1
- package/dist/models/CreateContactRequest.d.ts +1 -1
- package/dist/models/CreateRollbackTaskRequest.d.ts +33 -0
- package/dist/models/CreateRollbackTaskRequest.js +60 -0
- package/dist/models/CreateRollbackTaskRequest.js.map +1 -0
- package/dist/models/CreateRollbackTaskResponse.d.ts +19 -0
- package/dist/models/CreateRollbackTaskResponse.js +69 -0
- package/dist/models/CreateRollbackTaskResponse.js.map +1 -0
- package/dist/models/CreateRollbackTaskResponseBody.d.ts +29 -0
- package/dist/models/CreateRollbackTaskResponseBody.js +60 -0
- package/dist/models/CreateRollbackTaskResponseBody.js.map +1 -0
- package/dist/models/CreateWarehouseRequest.d.ts +3 -3
- package/dist/models/CreateWarehouseResponseBody.d.ts +1 -1
- package/dist/models/DeleteInstanceRequest.d.ts +8 -0
- package/dist/models/DeleteInstanceRequest.js +2 -0
- package/dist/models/DeleteInstanceRequest.js.map +1 -1
- package/dist/models/DeleteUserCertificateRequest.d.ts +9 -2
- package/dist/models/DeleteUserCertificateRequest.js +2 -0
- package/dist/models/DeleteUserCertificateRequest.js.map +1 -1
- package/dist/models/GetCertificateDetailResponseBody.d.ts +63 -51
- package/dist/models/GetCertificateDetailResponseBody.js +2 -0
- package/dist/models/GetCertificateDetailResponseBody.js.map +1 -1
- package/dist/models/GetCertificatePackageCountRequest.d.ts +13 -0
- package/dist/models/GetCertificatePackageCountRequest.js +54 -0
- package/dist/models/GetCertificatePackageCountRequest.js.map +1 -0
- package/dist/models/GetCertificatePackageCountResponse.d.ts +19 -0
- package/dist/models/GetCertificatePackageCountResponse.js +69 -0
- package/dist/models/GetCertificatePackageCountResponse.js.map +1 -0
- package/dist/models/GetCertificatePackageCountResponseBody.d.ts +72 -0
- package/dist/models/GetCertificatePackageCountResponseBody.js +68 -0
- package/dist/models/GetCertificatePackageCountResponseBody.js.map +1 -0
- package/dist/models/GetContactRequest.d.ts +2 -0
- package/dist/models/GetContactRequest.js.map +1 -1
- package/dist/models/GetInstanceDetailResponseBody.d.ts +152 -63
- package/dist/models/GetInstanceDetailResponseBody.js +18 -0
- package/dist/models/GetInstanceDetailResponseBody.js.map +1 -1
- package/dist/models/ListCertWarehouseRequest.d.ts +7 -13
- package/dist/models/ListCertWarehouseRequest.js.map +1 -1
- package/dist/models/ListCertWarehouseResponseBody.d.ts +16 -23
- package/dist/models/ListCertWarehouseResponseBody.js.map +1 -1
- package/dist/models/ListCertificatesRequest.d.ts +12 -19
- package/dist/models/ListCertificatesRequest.js.map +1 -1
- package/dist/models/ListCertificatesResponseBody.d.ts +54 -50
- package/dist/models/ListCertificatesResponseBody.js +2 -0
- package/dist/models/ListCertificatesResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +33 -9
- package/dist/models/ListInstancesRequest.js +6 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +45 -23
- package/dist/models/ListInstancesResponseBody.js +6 -0
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/ListTagKeysRequest.d.ts +73 -0
- package/dist/models/ListTagKeysRequest.js +70 -0
- package/dist/models/ListTagKeysRequest.js.map +1 -0
- package/dist/models/ListTagKeysResponse.d.ts +19 -0
- package/dist/models/ListTagKeysResponse.js +69 -0
- package/dist/models/ListTagKeysResponse.js.map +1 -0
- package/dist/models/ListTagKeysResponseBody.d.ts +94 -0
- package/dist/models/ListTagKeysResponseBody.js +94 -0
- package/dist/models/ListTagKeysResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesRequest.d.ts +87 -0
- package/dist/models/ListTagResourcesRequest.js +95 -0
- package/dist/models/ListTagResourcesRequest.js.map +1 -0
- package/dist/models/ListTagResourcesResponse.d.ts +19 -0
- package/dist/models/ListTagResourcesResponse.js +69 -0
- package/dist/models/ListTagResourcesResponse.js.map +1 -0
- package/dist/models/ListTagResourcesResponseBody.d.ts +67 -0
- package/dist/models/ListTagResourcesResponseBody.js +114 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTrusteeOrderRequest.d.ts +45 -0
- package/dist/models/ListTrusteeOrderRequest.js +64 -0
- package/dist/models/ListTrusteeOrderRequest.js.map +1 -0
- package/dist/models/ListTrusteeOrderResponse.d.ts +19 -0
- package/dist/models/ListTrusteeOrderResponse.js +69 -0
- package/dist/models/ListTrusteeOrderResponse.js.map +1 -0
- package/dist/models/ListTrusteeOrderResponseBody.d.ts +85 -0
- package/dist/models/ListTrusteeOrderResponseBody.js +66 -0
- package/dist/models/ListTrusteeOrderResponseBody.js.map +1 -0
- package/dist/models/RevokeCertificateRequest.d.ts +4 -1
- package/dist/models/RevokeCertificateRequest.js.map +1 -1
- package/dist/models/RevokeCertificateResponseBody.d.ts +1 -1
- package/dist/models/ShareCertificateRequest.d.ts +33 -0
- package/dist/models/ShareCertificateRequest.js +60 -0
- package/dist/models/ShareCertificateRequest.js.map +1 -0
- package/dist/models/ShareCertificateResponse.d.ts +19 -0
- package/dist/models/ShareCertificateResponse.js +69 -0
- package/dist/models/ShareCertificateResponse.js.map +1 -0
- package/dist/models/ShareCertificateResponseBody.d.ts +21 -0
- package/dist/models/ShareCertificateResponseBody.js +58 -0
- package/dist/models/ShareCertificateResponseBody.js.map +1 -0
- package/dist/models/TagResourcesRequest.d.ts +73 -0
- package/dist/models/TagResourcesRequest.js +91 -0
- package/dist/models/TagResourcesRequest.js.map +1 -0
- package/dist/models/TagResourcesResponse.d.ts +19 -0
- package/dist/models/TagResourcesResponse.js +69 -0
- package/dist/models/TagResourcesResponse.js.map +1 -0
- package/dist/models/TagResourcesResponseBody.d.ts +21 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesRequest.d.ts +57 -0
- package/dist/models/UntagResourcesRequest.js +72 -0
- package/dist/models/UntagResourcesRequest.js.map +1 -0
- package/dist/models/UntagResourcesResponse.d.ts +19 -0
- package/dist/models/UntagResourcesResponse.js +69 -0
- package/dist/models/UntagResourcesResponse.js.map +1 -0
- package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
- package/dist/models/UntagResourcesResponseBody.js +58 -0
- package/dist/models/UntagResourcesResponseBody.js.map +1 -0
- package/dist/models/UpdateCsrRequest.d.ts +2 -2
- package/dist/models/UpdateCsrResponseBody.d.ts +1 -1
- package/dist/models/UpdateInstanceRequest.d.ts +27 -39
- package/dist/models/UpdateInstanceRequest.js.map +1 -1
- package/dist/models/UpdateInstanceResponseBody.d.ts +1 -1
- package/dist/models/UpdateWorkerResourceStatusRequest.d.ts +3 -7
- package/dist/models/UpdateWorkerResourceStatusRequest.js.map +1 -1
- package/dist/models/UpdateWorkerResourceStatusResponseBody.d.ts +2 -2
- package/dist/models/UploadPcacertRequest.d.ts +5 -6
- package/dist/models/UploadPcacertRequest.js.map +1 -1
- package/dist/models/UploadPcacertResponseBody.d.ts +2 -2
- package/dist/models/UploadUserCertificateRequest.d.ts +19 -12
- package/dist/models/UploadUserCertificateRequest.js +2 -0
- package/dist/models/UploadUserCertificateRequest.js.map +1 -1
- package/dist/models/UploadUserCertificateResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +64 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +619 -38
- package/src/models/CreateContactRequest.ts +1 -1
- package/src/models/CreateRollbackTaskRequest.ts +48 -0
- package/src/models/CreateRollbackTaskResponse.ts +40 -0
- package/src/models/CreateRollbackTaskResponseBody.ts +44 -0
- package/src/models/CreateWarehouseRequest.ts +3 -3
- package/src/models/CreateWarehouseResponseBody.ts +1 -1
- package/src/models/DeleteInstanceRequest.ts +10 -0
- package/src/models/DeleteUserCertificateRequest.ts +11 -2
- package/src/models/GetCertificateDetailResponseBody.ts +65 -51
- package/src/models/GetCertificatePackageCountRequest.ts +24 -0
- package/src/models/GetCertificatePackageCountResponse.ts +40 -0
- package/src/models/GetCertificatePackageCountResponseBody.ts +95 -0
- package/src/models/GetContactRequest.ts +2 -0
- package/src/models/GetInstanceDetailResponseBody.ts +170 -63
- package/src/models/ListCertWarehouseRequest.ts +7 -13
- package/src/models/ListCertWarehouseResponseBody.ts +16 -23
- package/src/models/ListCertificatesRequest.ts +12 -19
- package/src/models/ListCertificatesResponseBody.ts +56 -50
- package/src/models/ListInstancesRequest.ts +39 -9
- package/src/models/ListInstancesResponseBody.ts +51 -23
- package/src/models/ListTagKeysRequest.ts +98 -0
- package/src/models/ListTagKeysResponse.ts +40 -0
- package/src/models/ListTagKeysResponseBody.ts +134 -0
- package/src/models/ListTagResourcesRequest.ts +128 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +118 -0
- package/src/models/ListTrusteeOrderRequest.ts +64 -0
- package/src/models/ListTrusteeOrderResponse.ts +40 -0
- package/src/models/ListTrusteeOrderResponseBody.ts +106 -0
- package/src/models/RevokeCertificateRequest.ts +4 -1
- package/src/models/RevokeCertificateResponseBody.ts +1 -1
- package/src/models/ShareCertificateRequest.ts +48 -0
- package/src/models/ShareCertificateResponse.ts +40 -0
- package/src/models/ShareCertificateResponseBody.ts +34 -0
- package/src/models/TagResourcesRequest.ts +110 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +34 -0
- package/src/models/UntagResourcesRequest.ts +84 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +34 -0
- package/src/models/UpdateCsrRequest.ts +2 -2
- package/src/models/UpdateCsrResponseBody.ts +1 -1
- package/src/models/UpdateInstanceRequest.ts +28 -40
- package/src/models/UpdateInstanceResponseBody.ts +1 -1
- package/src/models/UpdateWorkerResourceStatusRequest.ts +3 -7
- package/src/models/UpdateWorkerResourceStatusResponseBody.ts +2 -2
- package/src/models/UploadPcacertRequest.ts +5 -6
- package/src/models/UploadPcacertResponseBody.ts +2 -2
- package/src/models/UploadUserCertificateRequest.ts +21 -12
- package/src/models/UploadUserCertificateResponseBody.ts +3 -3
- package/src/models/model.ts +29 -0
|
@@ -13,7 +13,7 @@ export class ListCertWarehouseRequest extends $dara.Model {
|
|
|
13
13
|
currentPage?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The instance
|
|
16
|
+
* The repository instance.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 14dcc8afc7578e1f
|
|
@@ -21,7 +21,7 @@ export class ListCertWarehouseRequest extends $dara.Model {
|
|
|
21
21
|
instanceId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The name
|
|
24
|
+
* The repository name. Fuzzy match is supported.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* name
|
|
@@ -29,7 +29,7 @@ export class ListCertWarehouseRequest extends $dara.Model {
|
|
|
29
29
|
name?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The number of entries
|
|
32
|
+
* The number of entries per page. Default value: 50.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 50
|
|
@@ -37,17 +37,11 @@ export class ListCertWarehouseRequest extends $dara.Model {
|
|
|
37
37
|
showSize?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The type
|
|
40
|
+
* The repository type. Valid values:
|
|
41
41
|
*
|
|
42
|
-
* - **
|
|
43
|
-
*
|
|
44
|
-
* - **
|
|
45
|
-
*
|
|
46
|
-
* - **free**: certificate application repository of free certificates, available only on the China site (aliyun.com)
|
|
47
|
-
*
|
|
48
|
-
* - **aliyunPCA**: certificate application repository of private certificates purchased from Alibaba Cloud Private Certificate Authority (PCA), available only on the China site (aliyun.com)
|
|
49
|
-
*
|
|
50
|
-
* - **disable**: disabled certificate application repository
|
|
42
|
+
* - **uploadCA**: an uploaded CA certificate that contains a complete certificate chain.
|
|
43
|
+
* - **uploadPCA**: an uploaded certificate, including a self-signed certificate, a certificate issued by a third party, or a certificate issued by Alibaba Cloud.
|
|
44
|
+
* - **aliyunPCA**: an Alibaba Cloud PCA certificate.
|
|
51
45
|
*
|
|
52
46
|
* @example
|
|
53
47
|
* aliyunPCA
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The expiration time, in timestamp format. Unit: milliseconds.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1665819958000
|
|
@@ -13,7 +13,7 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
13
13
|
endTime?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The instance
|
|
16
|
+
* The sales instance.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 14dcc8afc7578e1f
|
|
@@ -21,10 +21,9 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
21
21
|
instanceId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Indicates whether the
|
|
24
|
+
* Indicates whether the repository has expired. Valid values:
|
|
25
25
|
*
|
|
26
26
|
* - **true**
|
|
27
|
-
*
|
|
28
27
|
* - **false**
|
|
29
28
|
*
|
|
30
29
|
* @example
|
|
@@ -33,7 +32,7 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
33
32
|
isExpired?: boolean;
|
|
34
33
|
/**
|
|
35
34
|
* @remarks
|
|
36
|
-
* The name
|
|
35
|
+
* The repository name.
|
|
37
36
|
*
|
|
38
37
|
* @example
|
|
39
38
|
* name
|
|
@@ -41,7 +40,7 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
41
40
|
name?: string;
|
|
42
41
|
/**
|
|
43
42
|
* @remarks
|
|
44
|
-
* The instance
|
|
43
|
+
* The PCA instance.
|
|
45
44
|
*
|
|
46
45
|
* @example
|
|
47
46
|
* 14dcc8afc7578e1f
|
|
@@ -49,7 +48,7 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
49
48
|
pcaInstanceId?: string;
|
|
50
49
|
/**
|
|
51
50
|
* @remarks
|
|
52
|
-
*
|
|
51
|
+
* Qps。
|
|
53
52
|
*
|
|
54
53
|
* @example
|
|
55
54
|
* 10
|
|
@@ -57,17 +56,11 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
57
56
|
qps?: number;
|
|
58
57
|
/**
|
|
59
58
|
* @remarks
|
|
60
|
-
* The type
|
|
61
|
-
*
|
|
62
|
-
* - **ssl**: certificate application repository of SSL certificates
|
|
63
|
-
*
|
|
64
|
-
* - **uploadPCA**: certificate application repository of uploaded private certificates
|
|
65
|
-
*
|
|
66
|
-
* - **free**: certificate application repository of free certificates, available only on the China site (aliyun.com)
|
|
67
|
-
*
|
|
68
|
-
* - **aliyunPCA**: certificate application repository of private certificates purchased from Alibaba Cloud PCA, available only on the China site (aliyun.com)
|
|
59
|
+
* The repository type. Valid values:
|
|
69
60
|
*
|
|
70
|
-
* - **
|
|
61
|
+
* - **uploadCA**: an uploaded CA certificate that contains a complete certificate chain.
|
|
62
|
+
* - **uploadPCA**: an uploaded certificate, including a self-signed certificate, a certificate issued by a third party, or a certificate issued by Alibaba Cloud.
|
|
63
|
+
* - **aliyunPCA**: an Alibaba Cloud PCA certificate.
|
|
71
64
|
*
|
|
72
65
|
* @example
|
|
73
66
|
* aliyunPCA
|
|
@@ -75,7 +68,7 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
75
68
|
type?: string;
|
|
76
69
|
/**
|
|
77
70
|
* @remarks
|
|
78
|
-
* The ID
|
|
71
|
+
* The repository ID.
|
|
79
72
|
*
|
|
80
73
|
* @example
|
|
81
74
|
* 1
|
|
@@ -119,12 +112,12 @@ export class ListCertWarehouseResponseBodyCertWarehouseList extends $dara.Model
|
|
|
119
112
|
export class ListCertWarehouseResponseBody extends $dara.Model {
|
|
120
113
|
/**
|
|
121
114
|
* @remarks
|
|
122
|
-
* The certificate
|
|
115
|
+
* The list of certificate repositories.
|
|
123
116
|
*/
|
|
124
117
|
certWarehouseList?: ListCertWarehouseResponseBodyCertWarehouseList[];
|
|
125
118
|
/**
|
|
126
119
|
* @remarks
|
|
127
|
-
* The page number
|
|
120
|
+
* The page number. Default value: 1.
|
|
128
121
|
*
|
|
129
122
|
* @example
|
|
130
123
|
* 1
|
|
@@ -132,7 +125,7 @@ export class ListCertWarehouseResponseBody extends $dara.Model {
|
|
|
132
125
|
currentPage?: number;
|
|
133
126
|
/**
|
|
134
127
|
* @remarks
|
|
135
|
-
* The ID
|
|
128
|
+
* The request ID.
|
|
136
129
|
*
|
|
137
130
|
* @example
|
|
138
131
|
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
@@ -140,7 +133,7 @@ export class ListCertWarehouseResponseBody extends $dara.Model {
|
|
|
140
133
|
requestId?: string;
|
|
141
134
|
/**
|
|
142
135
|
* @remarks
|
|
143
|
-
* The number of entries
|
|
136
|
+
* The number of entries per page. Default value: 50.
|
|
144
137
|
*
|
|
145
138
|
* @example
|
|
146
139
|
* 50
|
|
@@ -148,7 +141,7 @@ export class ListCertWarehouseResponseBody extends $dara.Model {
|
|
|
148
141
|
showSize?: number;
|
|
149
142
|
/**
|
|
150
143
|
* @remarks
|
|
151
|
-
* The total number of entries
|
|
144
|
+
* The total number of entries.
|
|
152
145
|
*
|
|
153
146
|
* @example
|
|
154
147
|
* 10
|
|
@@ -5,13 +5,10 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListCertificatesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The source of the certificate.
|
|
9
|
-
*
|
|
10
|
-
* -
|
|
11
|
-
*
|
|
12
|
-
* - TEST: A test certificate.
|
|
13
|
-
*
|
|
14
|
-
* - UPLOAD: An uploaded certificate.
|
|
8
|
+
* The source of the certificate. Valid values:
|
|
9
|
+
* - BUY: a formal certificate.
|
|
10
|
+
* - TEST: a test certificate.
|
|
11
|
+
* - UPLOAD: an uploaded certificate.
|
|
15
12
|
*
|
|
16
13
|
* @example
|
|
17
14
|
* BUY
|
|
@@ -19,15 +16,11 @@ export class ListCertificatesRequest extends $dara.Model {
|
|
|
19
16
|
certificateSource?: string;
|
|
20
17
|
/**
|
|
21
18
|
* @remarks
|
|
22
|
-
* The status of the certificate.
|
|
23
|
-
*
|
|
24
|
-
* - **
|
|
25
|
-
*
|
|
26
|
-
* - **
|
|
27
|
-
*
|
|
28
|
-
* - **willExpire**: The certificate is about to expire.
|
|
29
|
-
*
|
|
30
|
-
* - **expired**: The certificate has expired.
|
|
19
|
+
* The status of the certificate. Valid values:
|
|
20
|
+
* - **issued**: Issued.
|
|
21
|
+
* - **revoked**: Revoked.
|
|
22
|
+
* - **willExpire**: About to expire.
|
|
23
|
+
* - **expired**: Expired.
|
|
31
24
|
*
|
|
32
25
|
* @example
|
|
33
26
|
* issued
|
|
@@ -35,7 +28,7 @@ export class ListCertificatesRequest extends $dara.Model {
|
|
|
35
28
|
certificateStatus?: string;
|
|
36
29
|
/**
|
|
37
30
|
* @remarks
|
|
38
|
-
* The page number
|
|
31
|
+
* The page number of the current page.
|
|
39
32
|
*
|
|
40
33
|
* @example
|
|
41
34
|
* 1
|
|
@@ -51,7 +44,7 @@ export class ListCertificatesRequest extends $dara.Model {
|
|
|
51
44
|
instanceId?: string;
|
|
52
45
|
/**
|
|
53
46
|
* @remarks
|
|
54
|
-
*
|
|
47
|
+
* The keyword for fuzzy match. The keyword is matched against domain names, names, and corresponding resource IDs.
|
|
55
48
|
*
|
|
56
49
|
* @example
|
|
57
50
|
* test
|
|
@@ -67,7 +60,7 @@ export class ListCertificatesRequest extends $dara.Model {
|
|
|
67
60
|
resourceGroupId?: string;
|
|
68
61
|
/**
|
|
69
62
|
* @remarks
|
|
70
|
-
* The number of entries
|
|
63
|
+
* The number of entries per page. Default value: 10. Maximum value: 100.
|
|
71
64
|
*
|
|
72
65
|
* @example
|
|
73
66
|
* 10
|
|
@@ -5,13 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The encryption algorithm of the certificate. Valid values:
|
|
8
|
+
* The encryption algorithm type of the certificate. Valid values:
|
|
9
9
|
*
|
|
10
|
-
* - **RSA
|
|
11
|
-
*
|
|
12
|
-
* - **
|
|
13
|
-
*
|
|
14
|
-
* - **SM2**
|
|
10
|
+
* - **RSA**: RSA algorithm.
|
|
11
|
+
* - **ECC**: ECC algorithm.
|
|
12
|
+
* - **SM2**: SM2 (Chinese national cryptographic) algorithm.
|
|
15
13
|
*
|
|
16
14
|
* @example
|
|
17
15
|
* RSA
|
|
@@ -19,13 +17,11 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
19
17
|
algorithm?: string;
|
|
20
18
|
/**
|
|
21
19
|
* @remarks
|
|
22
|
-
* The global
|
|
23
|
-
*
|
|
24
|
-
* - For the
|
|
20
|
+
* The global certificate ID, in the format of certificate ID + "-" + site region ID. This ID is commonly used across Alibaba Cloud services.
|
|
21
|
+
* - For the China site, the value is certificate ID + "-cn-hangzhou".
|
|
22
|
+
* - For the China site, the value is certificate ID + "-ap-southeast-1".
|
|
25
23
|
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* For example, if the certificate ID is 123, the CertIdentifier is "123-cn-hangzhou" for the China site and "123-ap-southeast-1" for the International site.
|
|
24
|
+
* 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 is "123-ap-southeast-1".
|
|
29
25
|
*
|
|
30
26
|
* @example
|
|
31
27
|
* 21589515-cn-hangzhou
|
|
@@ -33,7 +29,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
33
29
|
certIdentifier?: string;
|
|
34
30
|
/**
|
|
35
31
|
* @remarks
|
|
36
|
-
* The ID
|
|
32
|
+
* The certificate ID.
|
|
37
33
|
*
|
|
38
34
|
* @example
|
|
39
35
|
* 17281539
|
|
@@ -41,7 +37,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
41
37
|
certificateId?: string;
|
|
42
38
|
/**
|
|
43
39
|
* @remarks
|
|
44
|
-
* The name
|
|
40
|
+
* The certificate name.
|
|
45
41
|
*
|
|
46
42
|
* @example
|
|
47
43
|
* test
|
|
@@ -49,13 +45,10 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
49
45
|
certificateName?: string;
|
|
50
46
|
/**
|
|
51
47
|
* @remarks
|
|
52
|
-
* The source of the certificate.
|
|
53
|
-
*
|
|
54
|
-
* -
|
|
55
|
-
*
|
|
56
|
-
* - TEST: A test certificate.
|
|
57
|
-
*
|
|
58
|
-
* - UPLOAD: An uploaded certificate.
|
|
48
|
+
* The source of the certificate. Valid values:
|
|
49
|
+
* - BUY: a formal certificate.
|
|
50
|
+
* - TEST: a test certificate.
|
|
51
|
+
* - UPLOAD: an uploaded certificate.
|
|
59
52
|
*
|
|
60
53
|
* @example
|
|
61
54
|
* BUY
|
|
@@ -63,15 +56,11 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
63
56
|
certificateSource?: string;
|
|
64
57
|
/**
|
|
65
58
|
* @remarks
|
|
66
|
-
* The status of the certificate.
|
|
67
|
-
*
|
|
68
|
-
* - **
|
|
69
|
-
*
|
|
70
|
-
* - **
|
|
71
|
-
*
|
|
72
|
-
* - **willExpire**: The certificate is about to expire.
|
|
73
|
-
*
|
|
74
|
-
* - **expired**: The certificate has expired.
|
|
59
|
+
* The status of the certificate. Valid values:
|
|
60
|
+
* - **issued**: Issued.
|
|
61
|
+
* - **revoked**: Revoked.
|
|
62
|
+
* - **willExpire**: About to expire.
|
|
63
|
+
* - **expired**: Expired.
|
|
75
64
|
*
|
|
76
65
|
* @example
|
|
77
66
|
* issued
|
|
@@ -87,7 +76,25 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
87
76
|
commonName?: string;
|
|
88
77
|
/**
|
|
89
78
|
* @remarks
|
|
90
|
-
* The
|
|
79
|
+
* The deployment information in JSON format:
|
|
80
|
+
*
|
|
81
|
+
* --Scope: valid values are all/server. If the certificate has a private key, the value is all. If the certificate does not have a private key, the value is server.
|
|
82
|
+
*
|
|
83
|
+
* --ServerName: the name of the server associated with the certificate instance.
|
|
84
|
+
*
|
|
85
|
+
* --ResourceInstanceId: the resource identifier of the server associated with the certificate instance.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* {
|
|
89
|
+
* "Scope": "all",
|
|
90
|
+
* "ServerName": "acmeServerName",
|
|
91
|
+
* "ResourceInstanceId": "cas_dv-cn-XXX"
|
|
92
|
+
* }
|
|
93
|
+
*/
|
|
94
|
+
deploymentDesc?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The domain names bound to the certificate. Multiple domain names are separated by commas (,).
|
|
91
98
|
*
|
|
92
99
|
* @example
|
|
93
100
|
* test.com
|
|
@@ -95,11 +102,10 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
95
102
|
domain?: string;
|
|
96
103
|
/**
|
|
97
104
|
* @remarks
|
|
98
|
-
* Indicates whether a private key
|
|
99
|
-
*
|
|
100
|
-
* - **true**: A private key is available.
|
|
105
|
+
* Indicates whether the certificate has a private key. Valid values:
|
|
101
106
|
*
|
|
102
|
-
* - **
|
|
107
|
+
* - **true**
|
|
108
|
+
* - **false**
|
|
103
109
|
*
|
|
104
110
|
* @example
|
|
105
111
|
* true
|
|
@@ -115,7 +121,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
115
121
|
fingerPrint?: string;
|
|
116
122
|
/**
|
|
117
123
|
* @remarks
|
|
118
|
-
* The
|
|
124
|
+
* The certificate instance ID.
|
|
119
125
|
*
|
|
120
126
|
* @example
|
|
121
127
|
* cas-cn-v***
|
|
@@ -123,7 +129,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
123
129
|
instanceId?: string;
|
|
124
130
|
/**
|
|
125
131
|
* @remarks
|
|
126
|
-
* The
|
|
132
|
+
* The certificate issuer.
|
|
127
133
|
*
|
|
128
134
|
* @example
|
|
129
135
|
* DigiCert
|
|
@@ -131,11 +137,9 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
131
137
|
issuer?: string;
|
|
132
138
|
/**
|
|
133
139
|
* @remarks
|
|
134
|
-
* The key
|
|
135
|
-
*
|
|
136
|
-
* -
|
|
137
|
-
*
|
|
138
|
-
* - For ECC or SM2 keys, the typical size is 256.
|
|
140
|
+
* The key algorithm length.
|
|
141
|
+
* - The RSA algorithm length is typically 2048, 3072, or 4096.
|
|
142
|
+
* - The ECC and SM2 algorithm length is typically 256.
|
|
139
143
|
*
|
|
140
144
|
* @example
|
|
141
145
|
* 2048
|
|
@@ -143,7 +147,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
143
147
|
keySize?: number;
|
|
144
148
|
/**
|
|
145
149
|
* @remarks
|
|
146
|
-
* The end of the certificate validity period.
|
|
150
|
+
* The end time of the certificate validity period.
|
|
147
151
|
*
|
|
148
152
|
* @example
|
|
149
153
|
* 1749580567000
|
|
@@ -151,7 +155,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
151
155
|
notAfter?: number;
|
|
152
156
|
/**
|
|
153
157
|
* @remarks
|
|
154
|
-
* The
|
|
158
|
+
* The start time of the certificate validity period.
|
|
155
159
|
*
|
|
156
160
|
* @example
|
|
157
161
|
* 1760745600000
|
|
@@ -159,7 +163,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
159
163
|
notBefore?: number;
|
|
160
164
|
/**
|
|
161
165
|
* @remarks
|
|
162
|
-
* The serial number
|
|
166
|
+
* The certificate serial number.
|
|
163
167
|
*
|
|
164
168
|
* @example
|
|
165
169
|
* 123
|
|
@@ -167,12 +171,12 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
167
171
|
serial?: string;
|
|
168
172
|
/**
|
|
169
173
|
* @remarks
|
|
170
|
-
*
|
|
174
|
+
* The list of subject alternative names (SANs) of the certificate, returned as an array. This corresponds to the `Subject Alternative Name` field of the certificate.
|
|
171
175
|
*/
|
|
172
176
|
subjectAlternativeNames?: string[];
|
|
173
177
|
/**
|
|
174
178
|
* @remarks
|
|
175
|
-
* The list of Alibaba Cloud
|
|
179
|
+
* The list of Alibaba Cloud services to which the certificate is currently deployed.
|
|
176
180
|
*/
|
|
177
181
|
usingProductList?: string[];
|
|
178
182
|
static names(): { [key: string]: string } {
|
|
@@ -184,6 +188,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
184
188
|
certificateSource: 'CertificateSource',
|
|
185
189
|
certificateStatus: 'CertificateStatus',
|
|
186
190
|
commonName: 'CommonName',
|
|
191
|
+
deploymentDesc: 'DeploymentDesc',
|
|
187
192
|
domain: 'Domain',
|
|
188
193
|
existPrivateKey: 'ExistPrivateKey',
|
|
189
194
|
fingerPrint: 'FingerPrint',
|
|
@@ -207,6 +212,7 @@ export class ListCertificatesResponseBodyCertificateList extends $dara.Model {
|
|
|
207
212
|
certificateSource: 'string',
|
|
208
213
|
certificateStatus: 'string',
|
|
209
214
|
commonName: 'string',
|
|
215
|
+
deploymentDesc: 'string',
|
|
210
216
|
domain: 'string',
|
|
211
217
|
existPrivateKey: 'boolean',
|
|
212
218
|
fingerPrint: 'string',
|
|
@@ -252,7 +258,7 @@ export class ListCertificatesResponseBody extends $dara.Model {
|
|
|
252
258
|
currentPage?: number;
|
|
253
259
|
/**
|
|
254
260
|
* @remarks
|
|
255
|
-
* The ID
|
|
261
|
+
* The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.
|
|
256
262
|
*
|
|
257
263
|
* @example
|
|
258
264
|
* CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D
|
|
@@ -260,7 +266,7 @@ export class ListCertificatesResponseBody extends $dara.Model {
|
|
|
260
266
|
requestId?: string;
|
|
261
267
|
/**
|
|
262
268
|
* @remarks
|
|
263
|
-
* The number of entries
|
|
269
|
+
* The number of entries per page.
|
|
264
270
|
*
|
|
265
271
|
* @example
|
|
266
272
|
* 10
|
|
@@ -268,7 +274,7 @@ export class ListCertificatesResponseBody extends $dara.Model {
|
|
|
268
274
|
showSize?: number;
|
|
269
275
|
/**
|
|
270
276
|
* @remarks
|
|
271
|
-
* The total number of entries.
|
|
277
|
+
* The total number of entries returned.
|
|
272
278
|
*
|
|
273
279
|
* @example
|
|
274
280
|
* 10
|
|
@@ -3,6 +3,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListInstancesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether the instance is managed. Valid values: 1 (managed) and 0 (not managed).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
autoReissueFlag?: number;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The CA brand. Valid values: WoSign, CFCA, DigiCert, GeoTrust, GlobalSign, vTrus, and Alibaba.
|
|
@@ -33,7 +41,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
33
41
|
certificateType?: string;
|
|
34
42
|
/**
|
|
35
43
|
* @remarks
|
|
36
|
-
* The page number of the current page in a
|
|
44
|
+
* The page number of the current page in a paging query. Settings the current page number. Default value: **1**.
|
|
37
45
|
*
|
|
38
46
|
* @example
|
|
39
47
|
* 1
|
|
@@ -41,9 +49,7 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
41
49
|
currentPage?: number;
|
|
42
50
|
/**
|
|
43
51
|
* @remarks
|
|
44
|
-
* The instance type. Valid values:
|
|
45
|
-
* - BUY: official certificate.
|
|
46
|
-
* - TEST: test certificate.
|
|
52
|
+
* The instance type. Valid values: BUY (official certificate) and TEST (test certificate).
|
|
47
53
|
*
|
|
48
54
|
* @example
|
|
49
55
|
* BUY
|
|
@@ -67,7 +73,17 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
67
73
|
resourceGroupId?: string;
|
|
68
74
|
/**
|
|
69
75
|
* @remarks
|
|
70
|
-
*
|
|
76
|
+
* Specifies whether to return only instances that meet server deployment conditions. Valid values:
|
|
77
|
+
* - 1: is.
|
|
78
|
+
* - 0: no.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* 1
|
|
82
|
+
*/
|
|
83
|
+
serverDeployFlag?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
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**.
|
|
71
87
|
*
|
|
72
88
|
* @example
|
|
73
89
|
* 10
|
|
@@ -77,19 +93,28 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
77
93
|
* @remarks
|
|
78
94
|
* The instance status. Valid values:
|
|
79
95
|
* - **inactive**: Pending use.
|
|
80
|
-
* - **pending**: Under review. The latest certificate is being
|
|
81
|
-
* - **willExpire**:
|
|
82
|
-
* - **expired**:
|
|
96
|
+
* - **pending**: Under review. The latest certificate is being submitted for review.
|
|
97
|
+
* - **willExpire**: The instance is about to expire.
|
|
98
|
+
* - **expired**: The instance has expired.
|
|
83
99
|
* - **refund**: Refunded.
|
|
84
100
|
* - **normal**: Normal.
|
|
85
|
-
* - **closed**:
|
|
101
|
+
* - **closed**: Shutdown and unavailable.
|
|
86
102
|
*
|
|
87
103
|
* @example
|
|
88
104
|
* inactive
|
|
89
105
|
*/
|
|
90
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;
|
|
91
115
|
static names(): { [key: string]: string } {
|
|
92
116
|
return {
|
|
117
|
+
autoReissueFlag: 'AutoReissueFlag',
|
|
93
118
|
brand: 'Brand',
|
|
94
119
|
certificateStatus: 'CertificateStatus',
|
|
95
120
|
certificateType: 'CertificateType',
|
|
@@ -97,13 +122,16 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
97
122
|
instanceType: 'InstanceType',
|
|
98
123
|
keyword: 'Keyword',
|
|
99
124
|
resourceGroupId: 'ResourceGroupId',
|
|
125
|
+
serverDeployFlag: 'ServerDeployFlag',
|
|
100
126
|
showSize: 'ShowSize',
|
|
101
127
|
status: 'Status',
|
|
128
|
+
versionType: 'VersionType',
|
|
102
129
|
};
|
|
103
130
|
}
|
|
104
131
|
|
|
105
132
|
static types(): { [key: string]: any } {
|
|
106
133
|
return {
|
|
134
|
+
autoReissueFlag: 'number',
|
|
107
135
|
brand: 'string',
|
|
108
136
|
certificateStatus: 'string',
|
|
109
137
|
certificateType: 'string',
|
|
@@ -111,8 +139,10 @@ export class ListInstancesRequest extends $dara.Model {
|
|
|
111
139
|
instanceType: 'string',
|
|
112
140
|
keyword: 'string',
|
|
113
141
|
resourceGroupId: 'string',
|
|
142
|
+
serverDeployFlag: 'number',
|
|
114
143
|
showSize: 'number',
|
|
115
144
|
status: 'string',
|
|
145
|
+
versionType: 'string',
|
|
116
146
|
};
|
|
117
147
|
}
|
|
118
148
|
|