@alicloud/cas20200407 3.2.13 → 3.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +294 -36
- package/dist/client.js +564 -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 +105 -36
- package/dist/models/GetInstanceDetailResponseBody.js +16 -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 +24 -4
- package/dist/models/ListInstancesRequest.js +4 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +46 -18
- 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 +615 -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 +121 -36
- 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 +28 -4
- package/src/models/ListInstancesResponseBody.ts +52 -18
- 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
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagKeysResponseBodyTagKeys extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The total number of tag keys.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
tagCount?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tag key.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ac-cus-tag-3
|
|
20
|
+
*/
|
|
21
|
+
tagKey?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
tagCount: 'TagCount',
|
|
25
|
+
tagKey: 'TagKey',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
tagCount: 'number',
|
|
32
|
+
tagKey: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class ListTagKeysResponseBody extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The page number of the current page displayed in a paged query.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 1
|
|
52
|
+
*/
|
|
53
|
+
currentPage?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The maximum number of entries returned in this query.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 20
|
|
60
|
+
*/
|
|
61
|
+
maxResults?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The token for the next query. An empty value of NextToken indicates that there is no next page.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
68
|
+
*/
|
|
69
|
+
nextToken?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The maximum number of entries per page in a paged query.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* 10
|
|
76
|
+
*/
|
|
77
|
+
pageSize?: number;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The request ID.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D
|
|
84
|
+
*/
|
|
85
|
+
requestId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The list of tag keys.
|
|
89
|
+
*/
|
|
90
|
+
tagKeys?: ListTagKeysResponseBodyTagKeys[];
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* The total number of entries in the list.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* 10
|
|
97
|
+
*/
|
|
98
|
+
totalCount?: number;
|
|
99
|
+
static names(): { [key: string]: string } {
|
|
100
|
+
return {
|
|
101
|
+
currentPage: 'CurrentPage',
|
|
102
|
+
maxResults: 'MaxResults',
|
|
103
|
+
nextToken: 'NextToken',
|
|
104
|
+
pageSize: 'PageSize',
|
|
105
|
+
requestId: 'RequestId',
|
|
106
|
+
tagKeys: 'TagKeys',
|
|
107
|
+
totalCount: 'TotalCount',
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
static types(): { [key: string]: any } {
|
|
112
|
+
return {
|
|
113
|
+
currentPage: 'number',
|
|
114
|
+
maxResults: 'number',
|
|
115
|
+
nextToken: 'string',
|
|
116
|
+
pageSize: 'number',
|
|
117
|
+
requestId: 'string',
|
|
118
|
+
tagKeys: { 'type': 'array', 'itemType': ListTagKeysResponseBodyTagKeys },
|
|
119
|
+
totalCount: 'number',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
validate() {
|
|
124
|
+
if(Array.isArray(this.tagKeys)) {
|
|
125
|
+
$dara.Model.validateArray(this.tagKeys);
|
|
126
|
+
}
|
|
127
|
+
super.validate();
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
constructor(map?: { [key: string]: any }) {
|
|
131
|
+
super(map);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagResourcesRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The key of the tag to query. You can specify multiple keys. N is a positive integer.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* testKey1
|
|
12
|
+
*/
|
|
13
|
+
key?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The tag value. Valid values of N: 1 to 20.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* testValue1
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
key: 'Key',
|
|
25
|
+
value: 'Value',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
key: 'string',
|
|
32
|
+
value: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class ListTagResourcesRequest extends $dara.Model {
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The maximum number of entries to return. Default value: 20.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 20
|
|
52
|
+
*/
|
|
53
|
+
maxResults?: number;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The pagination token for the next query. If this parameter is empty, no more results exist.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
60
|
+
*/
|
|
61
|
+
nextToken?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The region ID.
|
|
65
|
+
*
|
|
66
|
+
* This parameter is required.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* cn-hangzhou
|
|
70
|
+
*/
|
|
71
|
+
regionId?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The resource ID. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key, Tag.N.Value) must be specified.
|
|
75
|
+
*/
|
|
76
|
+
resourceId?: string[];
|
|
77
|
+
/**
|
|
78
|
+
* @remarks
|
|
79
|
+
* The resource type. Default value: **instance**.
|
|
80
|
+
*
|
|
81
|
+
* This parameter is required.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* instance
|
|
85
|
+
*/
|
|
86
|
+
resourceType?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The information about instances and tags. ResourceId and Tag cannot both be empty. At least one of ResourceId.N or (Tag.N.Key, Tag.N.Value) must be specified.
|
|
90
|
+
*/
|
|
91
|
+
tag?: ListTagResourcesRequestTag[];
|
|
92
|
+
static names(): { [key: string]: string } {
|
|
93
|
+
return {
|
|
94
|
+
maxResults: 'MaxResults',
|
|
95
|
+
nextToken: 'NextToken',
|
|
96
|
+
regionId: 'RegionId',
|
|
97
|
+
resourceId: 'ResourceId',
|
|
98
|
+
resourceType: 'ResourceType',
|
|
99
|
+
tag: 'Tag',
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static types(): { [key: string]: any } {
|
|
104
|
+
return {
|
|
105
|
+
maxResults: 'number',
|
|
106
|
+
nextToken: 'string',
|
|
107
|
+
regionId: 'string',
|
|
108
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
109
|
+
resourceType: 'string',
|
|
110
|
+
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
validate() {
|
|
115
|
+
if(Array.isArray(this.resourceId)) {
|
|
116
|
+
$dara.Model.validateArray(this.resourceId);
|
|
117
|
+
}
|
|
118
|
+
if(Array.isArray(this.tag)) {
|
|
119
|
+
$dara.Model.validateArray(this.tag);
|
|
120
|
+
}
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
constructor(map?: { [key: string]: any }) {
|
|
125
|
+
super(map);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTagResourcesResponseBody } from "./ListTagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTagResourcesResponseBody;
|
|
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: ListTagResourcesResponseBody,
|
|
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,118 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagResourcesResponseBodyTagResourcesTagResource extends $dara.Model {
|
|
6
|
+
resourceId?: string;
|
|
7
|
+
resourceType?: string;
|
|
8
|
+
tagKey?: string;
|
|
9
|
+
tagValue?: string;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
resourceId: 'ResourceId',
|
|
13
|
+
resourceType: 'ResourceType',
|
|
14
|
+
tagKey: 'TagKey',
|
|
15
|
+
tagValue: 'TagValue',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
resourceId: 'string',
|
|
22
|
+
resourceType: 'string',
|
|
23
|
+
tagKey: 'string',
|
|
24
|
+
tagValue: 'string',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
validate() {
|
|
29
|
+
super.validate();
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constructor(map?: { [key: string]: any }) {
|
|
33
|
+
super(map);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export class ListTagResourcesResponseBodyTagResources extends $dara.Model {
|
|
38
|
+
tagResource?: ListTagResourcesResponseBodyTagResourcesTagResource[];
|
|
39
|
+
static names(): { [key: string]: string } {
|
|
40
|
+
return {
|
|
41
|
+
tagResource: 'TagResource',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
static types(): { [key: string]: any } {
|
|
46
|
+
return {
|
|
47
|
+
tagResource: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResourcesTagResource },
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
if(Array.isArray(this.tagResource)) {
|
|
53
|
+
$dara.Model.validateArray(this.tagResource);
|
|
54
|
+
}
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
constructor(map?: { [key: string]: any }) {
|
|
59
|
+
super(map);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export class ListTagResourcesResponseBody extends $dara.Model {
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The maximum number of entries to return. Default value: 20.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 20
|
|
70
|
+
*/
|
|
71
|
+
maxResults?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The pagination token for the next query. If this parameter is empty, no more results exist.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
78
|
+
*/
|
|
79
|
+
nextToken?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The request ID.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* 2D69A58F-345C-4FDE-88E4-BF5189484043
|
|
86
|
+
*/
|
|
87
|
+
requestId?: string;
|
|
88
|
+
tagResources?: ListTagResourcesResponseBodyTagResources;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
maxResults: 'MaxResults',
|
|
92
|
+
nextToken: 'NextToken',
|
|
93
|
+
requestId: 'RequestId',
|
|
94
|
+
tagResources: 'TagResources',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
maxResults: 'number',
|
|
101
|
+
nextToken: 'string',
|
|
102
|
+
requestId: 'string',
|
|
103
|
+
tagResources: ListTagResourcesResponseBodyTagResources,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
validate() {
|
|
108
|
+
if(this.tagResources && typeof (this.tagResources as any).validate === 'function') {
|
|
109
|
+
(this.tagResources as any).validate();
|
|
110
|
+
}
|
|
111
|
+
super.validate();
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
constructor(map?: { [key: string]: any }) {
|
|
115
|
+
super(map);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTrusteeOrderRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The certificate ID. You must specify either CertificateId or OrderId. Both cannot be empty at the same time.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 23787679
|
|
12
|
+
*/
|
|
13
|
+
certificateId?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The maximum number of records to return in this request.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 20
|
|
20
|
+
*/
|
|
21
|
+
maxResults?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The token for the next query. If NextToken is empty, no more results are available.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
28
|
+
*/
|
|
29
|
+
nextToken?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The order ID. You must specify either CertificateId or OrderId. Both cannot be empty at the same time.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 14933279
|
|
36
|
+
*/
|
|
37
|
+
orderId?: number;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
certificateId: 'CertificateId',
|
|
41
|
+
maxResults: 'MaxResults',
|
|
42
|
+
nextToken: 'NextToken',
|
|
43
|
+
orderId: 'OrderId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
certificateId: 'number',
|
|
50
|
+
maxResults: 'number',
|
|
51
|
+
nextToken: 'string',
|
|
52
|
+
orderId: 'number',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListTrusteeOrderResponseBody } from "./ListTrusteeOrderResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListTrusteeOrderResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListTrusteeOrderResponseBody;
|
|
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: ListTrusteeOrderResponseBody,
|
|
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,106 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTrusteeOrderResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The maximum number of records to return in this request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 20
|
|
12
|
+
*/
|
|
13
|
+
maxResults?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The token for the next query. If NextToken is empty, no more results are available.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1d2db86sca4384811e0b5e8707e68181f
|
|
20
|
+
*/
|
|
21
|
+
nextToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The request ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 0068247C-A454-5FC9-93BF-C41CBB5CD19E
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The total number of orders.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 23
|
|
36
|
+
*/
|
|
37
|
+
totalCount?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The list of orders.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* [
|
|
44
|
+
* {
|
|
45
|
+
* "VerifyStatus": 0,
|
|
46
|
+
* "ShowRefund": false,
|
|
47
|
+
* "CertificateId": 0,
|
|
48
|
+
* "SourceType": "buy",
|
|
49
|
+
* "IsMix": false,
|
|
50
|
+
* "CertType": "DV",
|
|
51
|
+
* "PartnerOrderId": null,
|
|
52
|
+
* "ProductId": 53,
|
|
53
|
+
* "StatusCode": "closed",
|
|
54
|
+
* "KeyProtection": "UNKNOWN",
|
|
55
|
+
* "BrandName": "Rapid",
|
|
56
|
+
* "JobStatus": "editing",
|
|
57
|
+
* "Month": 6,
|
|
58
|
+
* "IsFree": false,
|
|
59
|
+
* "DomainType": "ONE",
|
|
60
|
+
* "IsRefunding": false,
|
|
61
|
+
* "RevokeReturnCount": false,
|
|
62
|
+
* "JobId": 440231,
|
|
63
|
+
* "DomainCount": 1,
|
|
64
|
+
* "InstanceId": "cas-ivauto-fe7kv4-15650439-renew",
|
|
65
|
+
* "ProductCode": "geotrust-dv-1-starter",
|
|
66
|
+
* "WildDomainCount": 0,
|
|
67
|
+
* "OrderId": 15652305,
|
|
68
|
+
* "Algorithm": "RSA",
|
|
69
|
+
* "Year": 1,
|
|
70
|
+
* "IsRenew": false,
|
|
71
|
+
* "Domain": "tw.certqa.cn",
|
|
72
|
+
* "AllDomain": "tw.certqa.cn",
|
|
73
|
+
* "BuyDate": 1773906251000
|
|
74
|
+
* }
|
|
75
|
+
* ]
|
|
76
|
+
*/
|
|
77
|
+
trusteeOrderList?: string;
|
|
78
|
+
static names(): { [key: string]: string } {
|
|
79
|
+
return {
|
|
80
|
+
maxResults: 'MaxResults',
|
|
81
|
+
nextToken: 'NextToken',
|
|
82
|
+
requestId: 'RequestId',
|
|
83
|
+
totalCount: 'TotalCount',
|
|
84
|
+
trusteeOrderList: 'TrusteeOrderList',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static types(): { [key: string]: any } {
|
|
89
|
+
return {
|
|
90
|
+
maxResults: 'number',
|
|
91
|
+
nextToken: 'string',
|
|
92
|
+
requestId: 'string',
|
|
93
|
+
totalCount: 'number',
|
|
94
|
+
trusteeOrderList: 'string',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
validate() {
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -4,13 +4,16 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class RevokeCertificateRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the certificate to revoke.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 51001
|
|
9
12
|
*/
|
|
10
13
|
certificateId?: number;
|
|
11
14
|
/**
|
|
12
15
|
* @remarks
|
|
13
|
-
* The ID of the instance.
|
|
16
|
+
* The ID of the instance. This parameter accepts only V2.0 subscription certificate instances (certificates purchased from a CA such as DigiCert or GeoTrust, with an InstanceId in the format of cas-cn-*). Uploaded certificates (cas-upload-*) are not supported.
|
|
14
17
|
*
|
|
15
18
|
* This parameter is required.
|
|
16
19
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class RevokeCertificateResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID. Alibaba Cloud generates a unique
|
|
8
|
+
* The request ID. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 15C66C7B-671A-4297-9187-2C4477247A74
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ShareCertificateRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The certificate ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 23279004
|
|
14
|
+
*/
|
|
15
|
+
certificateId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The UID of the user with whom the certificate is shared.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* 1622883344556677
|
|
24
|
+
*/
|
|
25
|
+
targetUserId?: number;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
certificateId: 'CertificateId',
|
|
29
|
+
targetUserId: 'TargetUserId',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static types(): { [key: string]: any } {
|
|
34
|
+
return {
|
|
35
|
+
certificateId: 'number',
|
|
36
|
+
targetUserId: 'number',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
super.validate();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
constructor(map?: { [key: string]: any }) {
|
|
45
|
+
super(map);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|