@alicloud/cms20240330 4.0.0 → 4.1.0
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 +72 -0
- package/dist/client.js +217 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +28 -0
- package/dist/models/ChangeResourceGroupRequest.js +62 -0
- package/dist/models/ChangeResourceGroupRequest.js.map +1 -0
- package/dist/models/ChangeResourceGroupResponse.d.ts +19 -0
- package/dist/models/ChangeResourceGroupResponse.js +69 -0
- package/dist/models/ChangeResourceGroupResponse.js.map +1 -0
- package/dist/models/ChangeResourceGroupResponseBody.d.ts +18 -0
- package/dist/models/ChangeResourceGroupResponseBody.js +58 -0
- package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesRequest.d.ts +34 -0
- package/dist/models/ListTagResourcesRequest.js +73 -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 +61 -0
- package/dist/models/ListTagResourcesResponseBody.js +92 -0
- package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
- package/dist/models/ListTagResourcesShrinkRequest.d.ts +33 -0
- package/dist/models/ListTagResourcesShrinkRequest.js +66 -0
- package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/TagResourcesRequest.d.ts +28 -0
- package/dist/models/TagResourcesRequest.js +69 -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 +32 -0
- package/dist/models/UntagResourcesRequest.js +70 -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 +32 -0
- package/dist/models/UntagResourcesShrinkRequest.js +64 -0
- package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +38 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +244 -0
- package/src/models/ChangeResourceGroupRequest.ts +45 -0
- package/src/models/ChangeResourceGroupResponse.ts +40 -0
- package/src/models/ChangeResourceGroupResponseBody.ts +31 -0
- package/src/models/ListTagResourcesRequest.ts +61 -0
- package/src/models/ListTagResourcesResponse.ts +40 -0
- package/src/models/ListTagResourcesResponseBody.ts +99 -0
- package/src/models/ListTagResourcesShrinkRequest.ts +54 -0
- package/src/models/TagResourcesRequest.ts +51 -0
- package/src/models/TagResourcesResponse.ts +40 -0
- package/src/models/TagResourcesResponseBody.ts +31 -0
- package/src/models/UntagResourcesRequest.ts +57 -0
- package/src/models/UntagResourcesResponse.ts +40 -0
- package/src/models/UntagResourcesResponseBody.ts +31 -0
- package/src/models/UntagResourcesShrinkRequest.ts +51 -0
- package/src/models/model.ts +15 -0
|
@@ -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
|
+
* 3B311FD9-A60B-55E0-A896-A0C73*********
|
|
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,57 @@
|
|
|
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
|
+
resourceId?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* Service
|
|
22
|
+
*/
|
|
23
|
+
resourceType?: string;
|
|
24
|
+
tagKey?: string[];
|
|
25
|
+
static names(): { [key: string]: string } {
|
|
26
|
+
return {
|
|
27
|
+
all: 'all',
|
|
28
|
+
resourceId: 'resourceId',
|
|
29
|
+
resourceType: 'resourceType',
|
|
30
|
+
tagKey: 'tagKey',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
static types(): { [key: string]: any } {
|
|
35
|
+
return {
|
|
36
|
+
all: 'boolean',
|
|
37
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
38
|
+
resourceType: 'string',
|
|
39
|
+
tagKey: { 'type': 'array', 'itemType': 'string' },
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
if(Array.isArray(this.resourceId)) {
|
|
45
|
+
$dara.Model.validateArray(this.resourceId);
|
|
46
|
+
}
|
|
47
|
+
if(Array.isArray(this.tagKey)) {
|
|
48
|
+
$dara.Model.validateArray(this.tagKey);
|
|
49
|
+
}
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -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
|
+
* 8FDE2569-626B-5176-9844-28877A*****
|
|
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,51 @@
|
|
|
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
|
+
resourceIdShrink?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* Service
|
|
22
|
+
*/
|
|
23
|
+
resourceType?: string;
|
|
24
|
+
tagKeyShrink?: string;
|
|
25
|
+
static names(): { [key: string]: string } {
|
|
26
|
+
return {
|
|
27
|
+
all: 'all',
|
|
28
|
+
resourceIdShrink: 'resourceId',
|
|
29
|
+
resourceType: 'resourceType',
|
|
30
|
+
tagKeyShrink: 'tagKey',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
static types(): { [key: string]: any } {
|
|
35
|
+
return {
|
|
36
|
+
all: 'boolean',
|
|
37
|
+
resourceIdShrink: 'string',
|
|
38
|
+
resourceType: 'string',
|
|
39
|
+
tagKeyShrink: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -191,6 +191,7 @@ export { ListPrometheusViewsResponseBodyPrometheusViews } from './ListPrometheus
|
|
|
191
191
|
export { ListPrometheusVirtualInstancesResponseBodyInstances } from './ListPrometheusVirtualInstancesResponseBody';
|
|
192
192
|
export { ListServicesRequestTags } from './ListServicesRequest';
|
|
193
193
|
export { ListServicesResponseBodyServices } from './ListServicesResponseBody';
|
|
194
|
+
export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
|
|
194
195
|
export { ListThreadsRequestFilter } from './ListThreadsRequest';
|
|
195
196
|
export { ListThreadsResponseBodyThreadsVariables } from './ListThreadsResponseBody';
|
|
196
197
|
export { ListThreadsResponseBodyThreads } from './ListThreadsResponseBody';
|
|
@@ -268,6 +269,9 @@ export { TransformAction } from './TransformAction';
|
|
|
268
269
|
export { TransformerForModify } from './TransformerForModify';
|
|
269
270
|
export { TransformerForView } from './TransformerForView';
|
|
270
271
|
export { WorkspaceFilterSetting } from './WorkspaceFilterSetting';
|
|
272
|
+
export { ChangeResourceGroupRequest } from './ChangeResourceGroupRequest';
|
|
273
|
+
export { ChangeResourceGroupResponseBody } from './ChangeResourceGroupResponseBody';
|
|
274
|
+
export { ChangeResourceGroupResponse } from './ChangeResourceGroupResponse';
|
|
271
275
|
export { CreateAddonReleaseRequest } from './CreateAddonReleaseRequest';
|
|
272
276
|
export { CreateAddonReleaseResponseBody } from './CreateAddonReleaseResponseBody';
|
|
273
277
|
export { CreateAddonReleaseResponse } from './CreateAddonReleaseResponse';
|
|
@@ -473,6 +477,10 @@ export { ListServicesRequest } from './ListServicesRequest';
|
|
|
473
477
|
export { ListServicesShrinkRequest } from './ListServicesShrinkRequest';
|
|
474
478
|
export { ListServicesResponseBody } from './ListServicesResponseBody';
|
|
475
479
|
export { ListServicesResponse } from './ListServicesResponse';
|
|
480
|
+
export { ListTagResourcesRequest } from './ListTagResourcesRequest';
|
|
481
|
+
export { ListTagResourcesShrinkRequest } from './ListTagResourcesShrinkRequest';
|
|
482
|
+
export { ListTagResourcesResponseBody } from './ListTagResourcesResponseBody';
|
|
483
|
+
export { ListTagResourcesResponse } from './ListTagResourcesResponse';
|
|
476
484
|
export { ListThreadsRequest } from './ListThreadsRequest';
|
|
477
485
|
export { ListThreadsShrinkRequest } from './ListThreadsShrinkRequest';
|
|
478
486
|
export { ListThreadsResponseBody } from './ListThreadsResponseBody';
|
|
@@ -484,6 +492,13 @@ export { ListWorkspacesResponse } from './ListWorkspacesResponse';
|
|
|
484
492
|
export { PutWorkspaceRequest } from './PutWorkspaceRequest';
|
|
485
493
|
export { PutWorkspaceResponseBody } from './PutWorkspaceResponseBody';
|
|
486
494
|
export { PutWorkspaceResponse } from './PutWorkspaceResponse';
|
|
495
|
+
export { TagResourcesRequest } from './TagResourcesRequest';
|
|
496
|
+
export { TagResourcesResponseBody } from './TagResourcesResponseBody';
|
|
497
|
+
export { TagResourcesResponse } from './TagResourcesResponse';
|
|
498
|
+
export { UntagResourcesRequest } from './UntagResourcesRequest';
|
|
499
|
+
export { UntagResourcesShrinkRequest } from './UntagResourcesShrinkRequest';
|
|
500
|
+
export { UntagResourcesResponseBody } from './UntagResourcesResponseBody';
|
|
501
|
+
export { UntagResourcesResponse } from './UntagResourcesResponse';
|
|
487
502
|
export { UpdateAddonReleaseRequest } from './UpdateAddonReleaseRequest';
|
|
488
503
|
export { UpdateAddonReleaseResponseBody } from './UpdateAddonReleaseResponseBody';
|
|
489
504
|
export { UpdateAddonReleaseResponse } from './UpdateAddonReleaseResponse';
|