@alicloud/paistudio20220112 1.2.15 → 1.3.1
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 +56 -2
- package/dist/client.js +195 -3
- package/dist/client.js.map +1 -1
- package/dist/models/EcsSpec.d.ts +32 -0
- package/dist/models/EcsSpec.js +94 -0
- package/dist/models/EcsSpec.js.map +1 -0
- package/dist/models/ListNodesRequest.d.ts +31 -0
- package/dist/models/ListNodesRequest.js +55 -1
- package/dist/models/ListNodesRequest.js.map +1 -1
- package/dist/models/ListNodesShrinkRequest.d.ts +104 -0
- package/dist/models/ListNodesShrinkRequest.js +110 -0
- package/dist/models/ListNodesShrinkRequest.js.map +1 -0
- package/dist/models/ListTagResourcesRequest.d.ts +58 -0
- package/dist/models/ListTagResourcesRequest.js +93 -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 +56 -0
- package/dist/models/ListTagResourcesResponseBody.js +90 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +36 -0
- package/dist/models/ListTagResourcesShrinkRequest.js +66 -0
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/Node.d.ts +1 -0
- package/dist/models/Node.js +5 -0
- package/dist/models/Node.js.map +1 -1
- package/dist/models/TagResourcesRequest.d.ts +47 -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 +18 -0
- package/dist/models/TagResourcesResponseBody.js +58 -0
- package/dist/models/TagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesRequest.d.ts +40 -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 +18 -0
- package/dist/models/UntagResourcesResponseBody.js +58 -0
- package/dist/models/UntagResourcesResponseBody.js.map +1 -0
- package/dist/models/UntagResourcesShrinkRequest.d.ts +40 -0
- package/dist/models/UntagResourcesShrinkRequest.js +66 -0
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +18 -0
- package/dist/models/model.js +45 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +224 -3
- package/src/models/EcsSpec.ts +81 -0
- package/src/models/ListNodesRequest.ts +67 -0
- package/src/models/ListNodesShrinkRequest.ts +169 -0
- package/src/models/ListTagResourcesRequest.ts +97 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +92 -0
- package/src/models/ListTagResourcesShrinkRequest.ts +57 -0
- package/src/models/Node.ts +6 -0
- package/src/models/TagResourcesRequest.ts +84 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +31 -0
- package/src/models/UntagResourcesRequest.ts +67 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +31 -0
- package/src/models/UntagResourcesShrinkRequest.ts +61 -0
- package/src/models/model.ts +18 -0
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
* @example
|
|
8
|
+
* TestKey
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* TestValue
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
key: 'Key',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class ListTagResourcesRequest extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* ad31d453a1f3f23ce0b5e8707e68181f
|
|
43
|
+
*/
|
|
44
|
+
nextToken?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* This parameter is required.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* cn-hangzhou
|
|
51
|
+
*/
|
|
52
|
+
regionId?: string;
|
|
53
|
+
resourceId?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* This parameter is required.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ResourceGroup
|
|
60
|
+
*/
|
|
61
|
+
resourceType?: string;
|
|
62
|
+
tag?: ListTagResourcesRequestTag[];
|
|
63
|
+
static names(): { [key: string]: string } {
|
|
64
|
+
return {
|
|
65
|
+
nextToken: 'NextToken',
|
|
66
|
+
regionId: 'RegionId',
|
|
67
|
+
resourceId: 'ResourceId',
|
|
68
|
+
resourceType: 'ResourceType',
|
|
69
|
+
tag: 'Tag',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static types(): { [key: string]: any } {
|
|
74
|
+
return {
|
|
75
|
+
nextToken: 'string',
|
|
76
|
+
regionId: 'string',
|
|
77
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
78
|
+
resourceType: 'string',
|
|
79
|
+
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
validate() {
|
|
84
|
+
if(Array.isArray(this.resourceId)) {
|
|
85
|
+
$dara.Model.validateArray(this.resourceId);
|
|
86
|
+
}
|
|
87
|
+
if(Array.isArray(this.tag)) {
|
|
88
|
+
$dara.Model.validateArray(this.tag);
|
|
89
|
+
}
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -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,92 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagResourcesResponseBodyTagResources extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* rgqssemfn6vjqqev
|
|
9
|
+
*/
|
|
10
|
+
resourceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* ResourceGroup
|
|
14
|
+
*/
|
|
15
|
+
resourceType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* tagKey
|
|
19
|
+
*/
|
|
20
|
+
tagKey?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* tagValue
|
|
24
|
+
*/
|
|
25
|
+
tagValue?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
resourceId: 'ResourceId',
|
|
29
|
+
resourceType: 'ResourceType',
|
|
30
|
+
tagKey: 'TagKey',
|
|
31
|
+
tagValue: 'TagValue',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
resourceId: 'string',
|
|
38
|
+
resourceType: 'string',
|
|
39
|
+
tagKey: 'string',
|
|
40
|
+
tagValue: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class ListTagResourcesResponseBody extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* 3iEiu84Yk3TwHLzJV.usagf1Ain49xYKGoB6zffsDqPYZQQ5
|
|
57
|
+
*/
|
|
58
|
+
nextToken?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* CE22EE94-8AFE-53B5-9C2C-B36207B1CBF9
|
|
62
|
+
*/
|
|
63
|
+
requestId?: string;
|
|
64
|
+
tagResources?: ListTagResourcesResponseBodyTagResources[];
|
|
65
|
+
static names(): { [key: string]: string } {
|
|
66
|
+
return {
|
|
67
|
+
nextToken: 'NextToken',
|
|
68
|
+
requestId: 'RequestId',
|
|
69
|
+
tagResources: 'TagResources',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static types(): { [key: string]: any } {
|
|
74
|
+
return {
|
|
75
|
+
nextToken: 'string',
|
|
76
|
+
requestId: 'string',
|
|
77
|
+
tagResources: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResources },
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
if(Array.isArray(this.tagResources)) {
|
|
83
|
+
$dara.Model.validateArray(this.tagResources);
|
|
84
|
+
}
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListTagResourcesShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ad31d453a1f3f23ce0b5e8707e68181f
|
|
9
|
+
*/
|
|
10
|
+
nextToken?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
resourceIdShrink?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* This parameter is required.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ResourceGroup
|
|
26
|
+
*/
|
|
27
|
+
resourceType?: string;
|
|
28
|
+
tagShrink?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
nextToken: 'NextToken',
|
|
32
|
+
regionId: 'RegionId',
|
|
33
|
+
resourceIdShrink: 'ResourceId',
|
|
34
|
+
resourceType: 'ResourceType',
|
|
35
|
+
tagShrink: 'Tag',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
nextToken: 'string',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
resourceIdShrink: 'string',
|
|
44
|
+
resourceType: 'string',
|
|
45
|
+
tagShrink: 'string',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
validate() {
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
package/src/models/Node.ts
CHANGED
|
@@ -42,6 +42,7 @@ export class Node extends $dara.Model {
|
|
|
42
42
|
resourceGroupId?: string;
|
|
43
43
|
resourceGroupName?: string;
|
|
44
44
|
selfQuotaWorkloadNum?: number;
|
|
45
|
+
subNodes?: string[];
|
|
45
46
|
systemReservedCPU?: string;
|
|
46
47
|
systemReservedMemory?: string;
|
|
47
48
|
users?: UserInfo[];
|
|
@@ -85,6 +86,7 @@ export class Node extends $dara.Model {
|
|
|
85
86
|
resourceGroupId: 'ResourceGroupId',
|
|
86
87
|
resourceGroupName: 'ResourceGroupName',
|
|
87
88
|
selfQuotaWorkloadNum: 'SelfQuotaWorkloadNum',
|
|
89
|
+
subNodes: 'SubNodes',
|
|
88
90
|
systemReservedCPU: 'SystemReservedCPU',
|
|
89
91
|
systemReservedMemory: 'SystemReservedMemory',
|
|
90
92
|
users: 'Users',
|
|
@@ -131,6 +133,7 @@ export class Node extends $dara.Model {
|
|
|
131
133
|
resourceGroupId: 'string',
|
|
132
134
|
resourceGroupName: 'string',
|
|
133
135
|
selfQuotaWorkloadNum: 'number',
|
|
136
|
+
subNodes: { 'type': 'array', 'itemType': 'string' },
|
|
134
137
|
systemReservedCPU: 'string',
|
|
135
138
|
systemReservedMemory: 'string',
|
|
136
139
|
users: { 'type': 'array', 'itemType': UserInfo },
|
|
@@ -142,6 +145,9 @@ export class Node extends $dara.Model {
|
|
|
142
145
|
if(Array.isArray(this.boundQuotas)) {
|
|
143
146
|
$dara.Model.validateArray(this.boundQuotas);
|
|
144
147
|
}
|
|
148
|
+
if(Array.isArray(this.subNodes)) {
|
|
149
|
+
$dara.Model.validateArray(this.subNodes);
|
|
150
|
+
}
|
|
145
151
|
if(Array.isArray(this.users)) {
|
|
146
152
|
$dara.Model.validateArray(this.users);
|
|
147
153
|
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class TagResourcesRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* key
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* value
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
key: 'Key',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class TagResourcesRequest extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* cn-hangzhou
|
|
43
|
+
*/
|
|
44
|
+
regionId?: string;
|
|
45
|
+
resourceId?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* ResourceGroup
|
|
49
|
+
*/
|
|
50
|
+
resourceType?: string;
|
|
51
|
+
tag?: TagResourcesRequestTag[];
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
regionId: 'RegionId',
|
|
55
|
+
resourceId: 'ResourceId',
|
|
56
|
+
resourceType: 'ResourceType',
|
|
57
|
+
tag: 'Tag',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static types(): { [key: string]: any } {
|
|
62
|
+
return {
|
|
63
|
+
regionId: 'string',
|
|
64
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
65
|
+
resourceType: 'string',
|
|
66
|
+
tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
if(Array.isArray(this.resourceId)) {
|
|
72
|
+
$dara.Model.validateArray(this.resourceId);
|
|
73
|
+
}
|
|
74
|
+
if(Array.isArray(this.tag)) {
|
|
75
|
+
$dara.Model.validateArray(this.tag);
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { TagResourcesResponseBody } from "./TagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class TagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: TagResourcesResponseBody;
|
|
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: TagResourcesResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class TagResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 42F23B58-3684-5443-848A-8DA81FF99712
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UntagResourcesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
all?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*/
|
|
23
|
+
resourceId?: string[];
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ResourceGroup
|
|
30
|
+
*/
|
|
31
|
+
resourceType?: string;
|
|
32
|
+
tagKey?: string[];
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
all: 'All',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
resourceId: 'ResourceId',
|
|
38
|
+
resourceType: 'ResourceType',
|
|
39
|
+
tagKey: 'TagKey',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
all: 'boolean',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
48
|
+
resourceType: 'string',
|
|
49
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
if(Array.isArray(this.resourceId)) {
|
|
55
|
+
$dara.Model.validateArray(this.resourceId);
|
|
56
|
+
}
|
|
57
|
+
if(Array.isArray(this.tagKey)) {
|
|
58
|
+
$dara.Model.validateArray(this.tagKey);
|
|
59
|
+
}
|
|
60
|
+
super.validate();
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
constructor(map?: { [key: string]: any }) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UntagResourcesResponseBody } from "./UntagResourcesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UntagResourcesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UntagResourcesResponseBody;
|
|
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: UntagResourcesResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UntagResourcesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* F082BD0D-21E1-5F9B-81A0-AB07485B03CD
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UntagResourcesShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
all?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* cn-hangzhou
|
|
17
|
+
*/
|
|
18
|
+
regionId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* This parameter is required.
|
|
22
|
+
*/
|
|
23
|
+
resourceIdShrink?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is required.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ResourceGroup
|
|
30
|
+
*/
|
|
31
|
+
resourceType?: string;
|
|
32
|
+
tagKeyShrink?: string;
|
|
33
|
+
static names(): { [key: string]: string } {
|
|
34
|
+
return {
|
|
35
|
+
all: 'All',
|
|
36
|
+
regionId: 'RegionId',
|
|
37
|
+
resourceIdShrink: 'ResourceId',
|
|
38
|
+
resourceType: 'ResourceType',
|
|
39
|
+
tagKeyShrink: 'TagKey',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
all: 'boolean',
|
|
46
|
+
regionId: 'string',
|
|
47
|
+
resourceIdShrink: 'string',
|
|
48
|
+
resourceType: 'string',
|
|
49
|
+
tagKeyShrink: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
validate() {
|
|
54
|
+
super.validate();
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
constructor(map?: { [key: string]: any }) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|