@alicloud/mse20190531 6.19.3 → 6.20.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 +15 -0
- package/dist/client.js +60 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetGatewayConfigResponseBody.d.ts +2 -0
- package/dist/models/GetGatewayConfigResponseBody.js +4 -0
- package/dist/models/GetGatewayConfigResponseBody.js.map +1 -1
- package/dist/models/QueryNacosGrayConfigRequest.d.ts +59 -0
- package/dist/models/QueryNacosGrayConfigRequest.js +72 -0
- package/dist/models/QueryNacosGrayConfigRequest.js.map +1 -0
- package/dist/models/QueryNacosGrayConfigResponse.d.ts +19 -0
- package/dist/models/QueryNacosGrayConfigResponse.js +69 -0
- package/dist/models/QueryNacosGrayConfigResponse.js.map +1 -0
- package/dist/models/QueryNacosGrayConfigResponseBody.d.ts +81 -0
- package/dist/models/QueryNacosGrayConfigResponseBody.js +100 -0
- package/dist/models/QueryNacosGrayConfigResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +26 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -0
- package/src/models/GetGatewayConfigResponseBody.ts +6 -0
- package/src/models/QueryNacosGrayConfigRequest.ts +86 -0
- package/src/models/QueryNacosGrayConfigResponse.ts +40 -0
- package/src/models/QueryNacosGrayConfigResponseBody.ts +127 -0
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryNacosGrayConfigRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* zh
|
|
9
|
+
*/
|
|
10
|
+
acceptLanguage?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* demo-develop
|
|
17
|
+
*/
|
|
18
|
+
dataId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* test
|
|
22
|
+
*/
|
|
23
|
+
grayName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* DEFAULT_GROUP
|
|
27
|
+
*/
|
|
28
|
+
group?: string;
|
|
29
|
+
/**
|
|
30
|
+
* @remarks
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* mse-cn-st21ri2****
|
|
35
|
+
*/
|
|
36
|
+
instanceId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 6bafdde3-4fa7-4d67-b3da-a607ab87f7e4
|
|
40
|
+
*/
|
|
41
|
+
namespaceId?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* cn-hangzhou
|
|
45
|
+
*/
|
|
46
|
+
regionId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* {}
|
|
50
|
+
*/
|
|
51
|
+
requestPars?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
acceptLanguage: 'AcceptLanguage',
|
|
55
|
+
dataId: 'DataId',
|
|
56
|
+
grayName: 'GrayName',
|
|
57
|
+
group: 'Group',
|
|
58
|
+
instanceId: 'InstanceId',
|
|
59
|
+
namespaceId: 'NamespaceId',
|
|
60
|
+
regionId: 'RegionId',
|
|
61
|
+
requestPars: 'RequestPars',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
acceptLanguage: 'string',
|
|
68
|
+
dataId: 'string',
|
|
69
|
+
grayName: 'string',
|
|
70
|
+
group: 'string',
|
|
71
|
+
instanceId: 'string',
|
|
72
|
+
namespaceId: 'string',
|
|
73
|
+
regionId: 'string',
|
|
74
|
+
requestPars: 'string',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
validate() {
|
|
79
|
+
super.validate();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
constructor(map?: { [key: string]: any }) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryNacosGrayConfigResponseBody } from "./QueryNacosGrayConfigResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryNacosGrayConfigResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryNacosGrayConfigResponseBody;
|
|
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: QueryNacosGrayConfigResponseBody,
|
|
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,127 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryNacosGrayConfigResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* spring-cloud-a
|
|
9
|
+
*/
|
|
10
|
+
appName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* text
|
|
14
|
+
*/
|
|
15
|
+
content?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* test.yaml
|
|
19
|
+
*/
|
|
20
|
+
dataId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* nacos.config.gray.label=test
|
|
24
|
+
*/
|
|
25
|
+
grayRule?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* Beta(IP)
|
|
29
|
+
*/
|
|
30
|
+
grayRuleName?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 100
|
|
34
|
+
*/
|
|
35
|
+
grayRulePriority?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* Tags
|
|
39
|
+
*/
|
|
40
|
+
grayType?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* dubbo
|
|
44
|
+
*/
|
|
45
|
+
group?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* 1742277568000
|
|
49
|
+
*/
|
|
50
|
+
lastModified?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 87d14faf58a103ac8840b9c5f1c2a0fe
|
|
54
|
+
*/
|
|
55
|
+
md5?: string;
|
|
56
|
+
static names(): { [key: string]: string } {
|
|
57
|
+
return {
|
|
58
|
+
appName: 'AppName',
|
|
59
|
+
content: 'Content',
|
|
60
|
+
dataId: 'DataId',
|
|
61
|
+
grayRule: 'GrayRule',
|
|
62
|
+
grayRuleName: 'GrayRuleName',
|
|
63
|
+
grayRulePriority: 'GrayRulePriority',
|
|
64
|
+
grayType: 'GrayType',
|
|
65
|
+
group: 'Group',
|
|
66
|
+
lastModified: 'LastModified',
|
|
67
|
+
md5: 'Md5',
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
static types(): { [key: string]: any } {
|
|
72
|
+
return {
|
|
73
|
+
appName: 'string',
|
|
74
|
+
content: 'string',
|
|
75
|
+
dataId: 'string',
|
|
76
|
+
grayRule: 'string',
|
|
77
|
+
grayRuleName: 'string',
|
|
78
|
+
grayRulePriority: 'string',
|
|
79
|
+
grayType: 'string',
|
|
80
|
+
group: 'string',
|
|
81
|
+
lastModified: 'string',
|
|
82
|
+
md5: 'string',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class QueryNacosGrayConfigResponseBody extends $dara.Model {
|
|
96
|
+
data?: QueryNacosGrayConfigResponseBodyData;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* EE5C32A1-BC0E-4B79-817C-103E4EDF****
|
|
100
|
+
*/
|
|
101
|
+
requestId?: string;
|
|
102
|
+
static names(): { [key: string]: string } {
|
|
103
|
+
return {
|
|
104
|
+
data: 'Data',
|
|
105
|
+
requestId: 'RequestId',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
static types(): { [key: string]: any } {
|
|
110
|
+
return {
|
|
111
|
+
data: QueryNacosGrayConfigResponseBodyData,
|
|
112
|
+
requestId: 'string',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
118
|
+
(this.data as any).validate();
|
|
119
|
+
}
|
|
120
|
+
super.validate();
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
constructor(map?: { [key: string]: any }) {
|
|
124
|
+
super(map);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -311,6 +311,7 @@ export { QueryGovernanceKubernetesClusterResponseBodyDataResult } from './QueryG
|
|
|
311
311
|
export { QueryGovernanceKubernetesClusterResponseBodyData } from './QueryGovernanceKubernetesClusterResponseBody';
|
|
312
312
|
export { QueryInstancesInfoResponseBodyData } from './QueryInstancesInfoResponseBody';
|
|
313
313
|
export { QueryMonitorResponseBodyData } from './QueryMonitorResponseBody';
|
|
314
|
+
export { QueryNacosGrayConfigResponseBodyData } from './QueryNacosGrayConfigResponseBody';
|
|
314
315
|
export { QueryNamespaceResponseBodyData } from './QueryNamespaceResponseBody';
|
|
315
316
|
export { QuerySlbSpecResponseBodyData } from './QuerySlbSpecResponseBody';
|
|
316
317
|
export { QuerySwimmingLaneByIdResponseBodyDataEntryRulesRestItems } from './QuerySwimmingLaneByIdResponseBody';
|
|
@@ -952,6 +953,9 @@ export { QueryInstancesInfoResponse } from './QueryInstancesInfoResponse';
|
|
|
952
953
|
export { QueryMonitorRequest } from './QueryMonitorRequest';
|
|
953
954
|
export { QueryMonitorResponseBody } from './QueryMonitorResponseBody';
|
|
954
955
|
export { QueryMonitorResponse } from './QueryMonitorResponse';
|
|
956
|
+
export { QueryNacosGrayConfigRequest } from './QueryNacosGrayConfigRequest';
|
|
957
|
+
export { QueryNacosGrayConfigResponseBody } from './QueryNacosGrayConfigResponseBody';
|
|
958
|
+
export { QueryNacosGrayConfigResponse } from './QueryNacosGrayConfigResponse';
|
|
955
959
|
export { QueryNamespaceRequest } from './QueryNamespaceRequest';
|
|
956
960
|
export { QueryNamespaceResponseBody } from './QueryNamespaceResponseBody';
|
|
957
961
|
export { QueryNamespaceResponse } from './QueryNamespaceResponse';
|