@alicloud/cas20200407 3.2.0 → 3.2.3
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 +151 -3
- package/dist/client.js +456 -3
- package/dist/client.js.map +1 -1
- package/dist/models/AddCloudAccessRequest.d.ts +28 -0
- package/dist/models/AddCloudAccessRequest.js +62 -0
- package/dist/models/AddCloudAccessRequest.js.map +1 -0
- package/dist/models/AddCloudAccessResponse.d.ts +19 -0
- package/dist/models/AddCloudAccessResponse.js +69 -0
- package/dist/models/AddCloudAccessResponse.js.map +1 -0
- package/dist/models/AddCloudAccessResponseBody.d.ts +21 -0
- package/dist/models/AddCloudAccessResponseBody.js +58 -0
- package/dist/models/AddCloudAccessResponseBody.js.map +1 -0
- package/dist/models/CreateWarehouseRequest.d.ts +28 -0
- package/dist/models/CreateWarehouseRequest.js +62 -0
- package/dist/models/CreateWarehouseRequest.js.map +1 -0
- package/dist/models/CreateWarehouseResponse.d.ts +19 -0
- package/dist/models/CreateWarehouseResponse.js +69 -0
- package/dist/models/CreateWarehouseResponse.js.map +1 -0
- package/dist/models/CreateWarehouseResponseBody.d.ts +23 -0
- package/dist/models/CreateWarehouseResponseBody.js +60 -0
- package/dist/models/CreateWarehouseResponseBody.js.map +1 -0
- package/dist/models/CreateWhclientCertificateRequest.d.ts +97 -0
- package/dist/models/CreateWhclientCertificateRequest.js +90 -0
- package/dist/models/CreateWhclientCertificateRequest.js.map +1 -0
- package/dist/models/CreateWhclientCertificateResponse.d.ts +19 -0
- package/dist/models/CreateWhclientCertificateResponse.js +69 -0
- package/dist/models/CreateWhclientCertificateResponse.js.map +1 -0
- package/dist/models/CreateWhclientCertificateResponseBody.d.ts +43 -0
- package/dist/models/CreateWhclientCertificateResponseBody.js +68 -0
- package/dist/models/CreateWhclientCertificateResponseBody.js.map +1 -0
- package/dist/models/DeleteCloudAccessRequest.d.ts +18 -0
- package/dist/models/DeleteCloudAccessRequest.js +58 -0
- package/dist/models/DeleteCloudAccessRequest.js.map +1 -0
- package/dist/models/DeleteCloudAccessResponse.d.ts +19 -0
- package/dist/models/DeleteCloudAccessResponse.js +69 -0
- package/dist/models/DeleteCloudAccessResponse.js.map +1 -0
- package/dist/models/DeleteCloudAccessResponseBody.d.ts +21 -0
- package/dist/models/DeleteCloudAccessResponseBody.js +58 -0
- package/dist/models/DeleteCloudAccessResponseBody.js.map +1 -0
- package/dist/models/DeleteWarehouseRequest.d.ts +18 -0
- package/dist/models/DeleteWarehouseRequest.js +58 -0
- package/dist/models/DeleteWarehouseRequest.js.map +1 -0
- package/dist/models/DeleteWarehouseResponse.d.ts +19 -0
- package/dist/models/DeleteWarehouseResponse.js +69 -0
- package/dist/models/DeleteWarehouseResponse.js.map +1 -0
- package/dist/models/DeleteWarehouseResponseBody.d.ts +18 -0
- package/dist/models/DeleteWarehouseResponseBody.js +58 -0
- package/dist/models/DeleteWarehouseResponseBody.js.map +1 -0
- package/dist/models/DescribeWarehouseCertRequest.d.ts +18 -0
- package/dist/models/DescribeWarehouseCertRequest.js +58 -0
- package/dist/models/DescribeWarehouseCertRequest.js.map +1 -0
- package/dist/models/DescribeWarehouseCertResponse.d.ts +19 -0
- package/dist/models/DescribeWarehouseCertResponse.js +69 -0
- package/dist/models/DescribeWarehouseCertResponse.js.map +1 -0
- package/dist/models/DescribeWarehouseCertResponseBody.d.ts +73 -0
- package/dist/models/DescribeWarehouseCertResponseBody.js +80 -0
- package/dist/models/DescribeWarehouseCertResponseBody.js.map +1 -0
- package/dist/models/ListCertRequest.d.ts +1 -0
- package/dist/models/ListCertRequest.js +2 -0
- package/dist/models/ListCertRequest.js.map +1 -1
- package/dist/models/ListCertResponseBody.d.ts +3 -0
- package/dist/models/ListCertResponseBody.js +6 -0
- package/dist/models/ListCertResponseBody.js.map +1 -1
- package/dist/models/ListWarehouseRequest.d.ts +33 -0
- package/dist/models/ListWarehouseRequest.js +70 -0
- package/dist/models/ListWarehouseRequest.js.map +1 -0
- package/dist/models/ListWarehouseResponse.d.ts +19 -0
- package/dist/models/ListWarehouseResponse.js +69 -0
- package/dist/models/ListWarehouseResponse.js.map +1 -0
- package/dist/models/ListWarehouseResponseBody.d.ts +61 -0
- package/dist/models/ListWarehouseResponseBody.js +92 -0
- package/dist/models/ListWarehouseResponseBody.js.map +1 -0
- package/dist/models/ListWarehouseShrinkRequest.d.ts +33 -0
- package/dist/models/ListWarehouseShrinkRequest.js +64 -0
- package/dist/models/ListWarehouseShrinkRequest.js.map +1 -0
- package/dist/models/RevokeWhclientCertificateRequest.d.ts +23 -0
- package/dist/models/RevokeWhclientCertificateRequest.js +58 -0
- package/dist/models/RevokeWhclientCertificateRequest.js.map +1 -0
- package/dist/models/RevokeWhclientCertificateResponse.d.ts +19 -0
- package/dist/models/RevokeWhclientCertificateResponse.js +69 -0
- package/dist/models/RevokeWhclientCertificateResponse.js.map +1 -0
- package/dist/models/RevokeWhclientCertificateResponseBody.d.ts +21 -0
- package/dist/models/RevokeWhclientCertificateResponseBody.js +58 -0
- package/dist/models/RevokeWhclientCertificateResponseBody.js.map +1 -0
- package/dist/models/UploadPcacertRequest.d.ts +53 -0
- package/dist/models/UploadPcacertRequest.js +64 -0
- package/dist/models/UploadPcacertRequest.js.map +1 -0
- package/dist/models/UploadPcacertResponse.d.ts +19 -0
- package/dist/models/UploadPcacertResponse.js +69 -0
- package/dist/models/UploadPcacertResponse.js.map +1 -0
- package/dist/models/UploadPcacertResponseBody.d.ts +26 -0
- package/dist/models/UploadPcacertResponseBody.js +60 -0
- package/dist/models/UploadPcacertResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +63 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +512 -3
- package/src/models/AddCloudAccessRequest.ts +45 -0
- package/src/models/AddCloudAccessResponse.ts +40 -0
- package/src/models/AddCloudAccessResponseBody.ts +34 -0
- package/src/models/CreateWarehouseRequest.ts +45 -0
- package/src/models/CreateWarehouseResponse.ts +40 -0
- package/src/models/CreateWarehouseResponseBody.ts +38 -0
- package/src/models/CreateWhclientCertificateRequest.ts +142 -0
- package/src/models/CreateWhclientCertificateResponse.ts +40 -0
- package/src/models/CreateWhclientCertificateResponseBody.ts +66 -0
- package/src/models/DeleteCloudAccessRequest.ts +31 -0
- package/src/models/DeleteCloudAccessResponse.ts +40 -0
- package/src/models/DeleteCloudAccessResponseBody.ts +34 -0
- package/src/models/DeleteWarehouseRequest.ts +31 -0
- package/src/models/DeleteWarehouseResponse.ts +40 -0
- package/src/models/DeleteWarehouseResponseBody.ts +31 -0
- package/src/models/DescribeWarehouseCertRequest.ts +31 -0
- package/src/models/DescribeWarehouseCertResponse.ts +40 -0
- package/src/models/DescribeWarehouseCertResponseBody.ts +108 -0
- package/src/models/ListCertRequest.ts +3 -0
- package/src/models/ListCertResponseBody.ts +9 -0
- package/src/models/ListWarehouseRequest.ts +58 -0
- package/src/models/ListWarehouseResponse.ts +40 -0
- package/src/models/ListWarehouseResponseBody.ts +99 -0
- package/src/models/ListWarehouseShrinkRequest.ts +52 -0
- package/src/models/RevokeWhclientCertificateRequest.ts +36 -0
- package/src/models/RevokeWhclientCertificateResponse.ts +40 -0
- package/src/models/RevokeWhclientCertificateResponseBody.ts +34 -0
- package/src/models/UploadPcacertRequest.ts +72 -0
- package/src/models/UploadPcacertResponse.ts +40 -0
- package/src/models/UploadPcacertResponseBody.ts +41 -0
- package/src/models/model.ts +29 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeWarehouseCertResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
9
|
+
*/
|
|
10
|
+
certIdentifier?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* issued
|
|
14
|
+
*/
|
|
15
|
+
certStatus?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* OV
|
|
19
|
+
*/
|
|
20
|
+
certType?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* aliyundoc.com
|
|
24
|
+
*/
|
|
25
|
+
commonName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* ---BEGIN CERTIFICATE----- MIIF...... -----END CERTIFICATE-----
|
|
29
|
+
*/
|
|
30
|
+
content?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* C1291AF83F48170E48140FDFE5DADC19FE51F261
|
|
34
|
+
*/
|
|
35
|
+
fingerprint?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* Digicert
|
|
39
|
+
*/
|
|
40
|
+
issuer?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
44
|
+
*/
|
|
45
|
+
issuerIdentifier?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* 1ef1da5f-38ed-69b3-****-037781890265
|
|
49
|
+
*/
|
|
50
|
+
privateCaInstanceId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* cn-hangzhou
|
|
54
|
+
*/
|
|
55
|
+
privateCaRegionId?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D
|
|
59
|
+
*/
|
|
60
|
+
requestId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* 66
|
|
64
|
+
*/
|
|
65
|
+
warehouseInstanceId?: string;
|
|
66
|
+
static names(): { [key: string]: string } {
|
|
67
|
+
return {
|
|
68
|
+
certIdentifier: 'CertIdentifier',
|
|
69
|
+
certStatus: 'CertStatus',
|
|
70
|
+
certType: 'CertType',
|
|
71
|
+
commonName: 'CommonName',
|
|
72
|
+
content: 'Content',
|
|
73
|
+
fingerprint: 'Fingerprint',
|
|
74
|
+
issuer: 'Issuer',
|
|
75
|
+
issuerIdentifier: 'IssuerIdentifier',
|
|
76
|
+
privateCaInstanceId: 'PrivateCaInstanceId',
|
|
77
|
+
privateCaRegionId: 'PrivateCaRegionId',
|
|
78
|
+
requestId: 'RequestId',
|
|
79
|
+
warehouseInstanceId: 'WarehouseInstanceId',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
certIdentifier: 'string',
|
|
86
|
+
certStatus: 'string',
|
|
87
|
+
certType: 'string',
|
|
88
|
+
commonName: 'string',
|
|
89
|
+
content: 'string',
|
|
90
|
+
fingerprint: 'string',
|
|
91
|
+
issuer: 'string',
|
|
92
|
+
issuerIdentifier: 'string',
|
|
93
|
+
privateCaInstanceId: 'string',
|
|
94
|
+
privateCaRegionId: 'string',
|
|
95
|
+
requestId: 'string',
|
|
96
|
+
warehouseInstanceId: 'string',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
validate() {
|
|
101
|
+
super.validate();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
constructor(map?: { [key: string]: any }) {
|
|
105
|
+
super(map);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
@@ -22,6 +22,7 @@ export class ListCertRequest extends $dara.Model {
|
|
|
22
22
|
* 1
|
|
23
23
|
*/
|
|
24
24
|
currentPage?: number;
|
|
25
|
+
identifiers?: string;
|
|
25
26
|
/**
|
|
26
27
|
* @remarks
|
|
27
28
|
* The keyword for the query. You can enter a name, domain name, or Subject Alternative Name (SAN) extension. Fuzzy match is supported.
|
|
@@ -72,6 +73,7 @@ export class ListCertRequest extends $dara.Model {
|
|
|
72
73
|
return {
|
|
73
74
|
certType: 'CertType',
|
|
74
75
|
currentPage: 'CurrentPage',
|
|
76
|
+
identifiers: 'Identifiers',
|
|
75
77
|
keyWord: 'KeyWord',
|
|
76
78
|
showSize: 'ShowSize',
|
|
77
79
|
sourceType: 'SourceType',
|
|
@@ -84,6 +86,7 @@ export class ListCertRequest extends $dara.Model {
|
|
|
84
86
|
return {
|
|
85
87
|
certType: 'string',
|
|
86
88
|
currentPage: 'number',
|
|
89
|
+
identifiers: 'string',
|
|
87
90
|
keyWord: 'string',
|
|
88
91
|
showSize: 'number',
|
|
89
92
|
sourceType: 'string',
|
|
@@ -11,6 +11,7 @@ export class ListCertResponseBodyCertList extends $dara.Model {
|
|
|
11
11
|
* 1634283958000
|
|
12
12
|
*/
|
|
13
13
|
afterDate?: number;
|
|
14
|
+
algorithm?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
17
|
* The issuance time of the certificate. The value is a UNIX timestamp. Unit: milliseconds.
|
|
@@ -73,6 +74,8 @@ export class ListCertResponseBodyCertList extends $dara.Model {
|
|
|
73
74
|
* *.alibaba.com,aliyun.alibaba.com
|
|
74
75
|
*/
|
|
75
76
|
sans?: string;
|
|
77
|
+
serialNo?: string;
|
|
78
|
+
signAlgorithm?: string;
|
|
76
79
|
/**
|
|
77
80
|
* @remarks
|
|
78
81
|
* The source of the certificate. Valid values:
|
|
@@ -114,6 +117,7 @@ export class ListCertResponseBodyCertList extends $dara.Model {
|
|
|
114
117
|
static names(): { [key: string]: string } {
|
|
115
118
|
return {
|
|
116
119
|
afterDate: 'AfterDate',
|
|
120
|
+
algorithm: 'Algorithm',
|
|
117
121
|
beforeDate: 'BeforeDate',
|
|
118
122
|
certType: 'CertType',
|
|
119
123
|
commonName: 'CommonName',
|
|
@@ -121,6 +125,8 @@ export class ListCertResponseBodyCertList extends $dara.Model {
|
|
|
121
125
|
identifier: 'Identifier',
|
|
122
126
|
issuer: 'Issuer',
|
|
123
127
|
sans: 'Sans',
|
|
128
|
+
serialNo: 'SerialNo',
|
|
129
|
+
signAlgorithm: 'SignAlgorithm',
|
|
124
130
|
sourceType: 'SourceType',
|
|
125
131
|
status: 'Status',
|
|
126
132
|
whId: 'WhId',
|
|
@@ -131,6 +137,7 @@ export class ListCertResponseBodyCertList extends $dara.Model {
|
|
|
131
137
|
static types(): { [key: string]: any } {
|
|
132
138
|
return {
|
|
133
139
|
afterDate: 'number',
|
|
140
|
+
algorithm: 'string',
|
|
134
141
|
beforeDate: 'number',
|
|
135
142
|
certType: 'string',
|
|
136
143
|
commonName: 'string',
|
|
@@ -138,6 +145,8 @@ export class ListCertResponseBodyCertList extends $dara.Model {
|
|
|
138
145
|
identifier: 'string',
|
|
139
146
|
issuer: 'string',
|
|
140
147
|
sans: 'string',
|
|
148
|
+
serialNo: 'string',
|
|
149
|
+
signAlgorithm: 'string',
|
|
141
150
|
sourceType: 'string',
|
|
142
151
|
status: 'string',
|
|
143
152
|
whId: 'number',
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListWarehouseRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 20
|
|
9
|
+
*/
|
|
10
|
+
maxResults?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
14
|
+
*/
|
|
15
|
+
nextToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cas-wh-uc-gl2bsq
|
|
19
|
+
*/
|
|
20
|
+
warehouseInstanceIds?: string[];
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* pcaCaCert
|
|
24
|
+
*/
|
|
25
|
+
warehouseTypes?: string[];
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
maxResults: 'MaxResults',
|
|
29
|
+
nextToken: 'NextToken',
|
|
30
|
+
warehouseInstanceIds: 'WarehouseInstanceIds',
|
|
31
|
+
warehouseTypes: 'WarehouseTypes',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
maxResults: 'number',
|
|
38
|
+
nextToken: 'string',
|
|
39
|
+
warehouseInstanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
40
|
+
warehouseTypes: { 'type': 'array', 'itemType': 'string' },
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
if(Array.isArray(this.warehouseInstanceIds)) {
|
|
46
|
+
$dara.Model.validateArray(this.warehouseInstanceIds);
|
|
47
|
+
}
|
|
48
|
+
if(Array.isArray(this.warehouseTypes)) {
|
|
49
|
+
$dara.Model.validateArray(this.warehouseTypes);
|
|
50
|
+
}
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListWarehouseResponseBody } from "./ListWarehouseResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListWarehouseResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListWarehouseResponseBody;
|
|
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: ListWarehouseResponseBody,
|
|
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,99 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListWarehouseResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cas-wh-Q7ID6V
|
|
9
|
+
*/
|
|
10
|
+
warehouseInstanceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* default_warehouse
|
|
14
|
+
*/
|
|
15
|
+
warehouseName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* pcaCaCert
|
|
19
|
+
*/
|
|
20
|
+
warehouseType?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
warehouseInstanceId: 'WarehouseInstanceId',
|
|
24
|
+
warehouseName: 'WarehouseName',
|
|
25
|
+
warehouseType: 'WarehouseType',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
warehouseInstanceId: 'string',
|
|
32
|
+
warehouseName: 'string',
|
|
33
|
+
warehouseType: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class ListWarehouseResponseBody extends $dara.Model {
|
|
47
|
+
data?: ListWarehouseResponseBodyData[];
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* 20
|
|
51
|
+
*/
|
|
52
|
+
maxResults?: number;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
56
|
+
*/
|
|
57
|
+
nextToken?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* 5979d897-d69f-4fc9-87dd-f3bb73c40b80
|
|
61
|
+
*/
|
|
62
|
+
requestId?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @example
|
|
65
|
+
* 10
|
|
66
|
+
*/
|
|
67
|
+
totalCount?: number;
|
|
68
|
+
static names(): { [key: string]: string } {
|
|
69
|
+
return {
|
|
70
|
+
data: 'Data',
|
|
71
|
+
maxResults: 'MaxResults',
|
|
72
|
+
nextToken: 'NextToken',
|
|
73
|
+
requestId: 'RequestId',
|
|
74
|
+
totalCount: 'TotalCount',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
data: { 'type': 'array', 'itemType': ListWarehouseResponseBodyData },
|
|
81
|
+
maxResults: 'number',
|
|
82
|
+
nextToken: 'string',
|
|
83
|
+
requestId: 'string',
|
|
84
|
+
totalCount: 'number',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
validate() {
|
|
89
|
+
if(Array.isArray(this.data)) {
|
|
90
|
+
$dara.Model.validateArray(this.data);
|
|
91
|
+
}
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListWarehouseShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 20
|
|
9
|
+
*/
|
|
10
|
+
maxResults?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
14
|
+
*/
|
|
15
|
+
nextToken?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cas-wh-uc-gl2bsq
|
|
19
|
+
*/
|
|
20
|
+
warehouseInstanceIdsShrink?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* pcaCaCert
|
|
24
|
+
*/
|
|
25
|
+
warehouseTypesShrink?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
maxResults: 'MaxResults',
|
|
29
|
+
nextToken: 'NextToken',
|
|
30
|
+
warehouseInstanceIdsShrink: 'WarehouseInstanceIds',
|
|
31
|
+
warehouseTypesShrink: 'WarehouseTypes',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
maxResults: 'number',
|
|
38
|
+
nextToken: 'string',
|
|
39
|
+
warehouseInstanceIdsShrink: 'string',
|
|
40
|
+
warehouseTypesShrink: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RevokeWHClientCertificateRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The unique identifier of the client certificate or server certificate that you want to revoke.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 160ae6bb538d538c70c01f81dcf2****
|
|
14
|
+
*/
|
|
15
|
+
identifier?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
identifier: 'Identifier',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
static types(): { [key: string]: any } {
|
|
23
|
+
return {
|
|
24
|
+
identifier: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { RevokeWHClientCertificateResponseBody } from "./RevokeWhclientCertificateResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RevokeWHClientCertificateResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: RevokeWHClientCertificateResponseBody;
|
|
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: RevokeWHClientCertificateResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RevokeWHClientCertificateResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UploadPCACertRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* <UploadPCACertResponse>
|
|
9
|
+
* <RequestId>15C66C7B-671A-4297-9187-2C4477247A74</RequestId>
|
|
10
|
+
* </UploadPCACertResponse>
|
|
11
|
+
*
|
|
12
|
+
* This parameter is required.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* -----BEGIN CERTIFICATE----- MIIEJDCCAwygAwIBAgIQITRHItTLTQizTyd3K7AMRTANBgkqhkiG9w0BAQsFADBe **************** 5/akmr2GK/Y= -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIIDuzCCAqOgAwIBAgIQSEIWDPfWTDKZcWNyL2O+fjANBgkqhkiG9w0BAQsFADBf **************** URUHyMW5Qd5Q9g6Y4sDOIm6It9TF7EjpwMs42R30agcRYzuUsN72ZFBYFJwnBX8= -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIIDizCCAnOgAwIBAgIRAMfjPkDKfELTo07l3A3cUSYwDQYJKoZIhvcNAQELBQAw ********* CjWTnYPhCcO2uIcnqMt7zCVs5LXBK/XSwlAXKMvKT0uuzw9VxeMfEabflKu0By8= -----END CERTIFICATE-----
|
|
16
|
+
*/
|
|
17
|
+
cert?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* UploadPCACert
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* cert_name
|
|
24
|
+
*/
|
|
25
|
+
name?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* Uploads a private certificate to a certificate repository.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* -----BEGIN RSA PRIVATE KEY----- MIIEowIBAAKCAQEA5SIfpNCBoiDrZhX1H39CHwQMVD0kBNeBTWfP9xkeesvfzbOz ******* POVNFfDf9h7pJtQ5fRZNTYTDs/d+cH62Z3+nS74mNnEfff0nkvne -----END RSA PRIVATE KEY-----
|
|
32
|
+
*/
|
|
33
|
+
privateKey?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The ID of the repository.
|
|
37
|
+
*
|
|
38
|
+
* > You can call the [ListCertWarehouse](https://help.aliyun.com/document_detail/455805.html) operation to query the ID.
|
|
39
|
+
*
|
|
40
|
+
* This parameter is required.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 1
|
|
44
|
+
*/
|
|
45
|
+
warehouseId?: number;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
cert: 'Cert',
|
|
49
|
+
name: 'Name',
|
|
50
|
+
privateKey: 'PrivateKey',
|
|
51
|
+
warehouseId: 'WarehouseId',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
static types(): { [key: string]: any } {
|
|
56
|
+
return {
|
|
57
|
+
cert: 'string',
|
|
58
|
+
name: 'string',
|
|
59
|
+
privateKey: 'string',
|
|
60
|
+
warehouseId: 'number',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UploadPCACertResponseBody } from "./UploadPcacertResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UploadPCACertResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UploadPCACertResponseBody;
|
|
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: UploadPCACertResponseBody,
|
|
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,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UploadPCACertResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The unique identifier of the certificate.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1ed65580-7e33-6a50-8630-dd13fdc009ee
|
|
12
|
+
*/
|
|
13
|
+
identifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @example
|
|
16
|
+
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
17
|
+
*/
|
|
18
|
+
requestId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
identifier: 'Identifier',
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
identifier: 'string',
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|