@alicloud/sae20190506 2.6.0 → 2.7.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 +14 -0
- package/dist/client.js +44 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +1 -0
- package/dist/models/CreateApplicationRequest.js +2 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +1 -0
- package/dist/models/CreateApplicationShrinkRequest.js +2 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DeployApplicationRequest.d.ts +1 -0
- package/dist/models/DeployApplicationRequest.js +2 -0
- package/dist/models/DeployApplicationRequest.js.map +1 -1
- package/dist/models/DeployApplicationShrinkRequest.d.ts +1 -0
- package/dist/models/DeployApplicationShrinkRequest.js +2 -0
- package/dist/models/DeployApplicationShrinkRequest.js.map +1 -1
- package/dist/models/DescribeApplicationConfigResponseBody.d.ts +30 -0
- package/dist/models/DescribeApplicationConfigResponseBody.js +53 -1
- package/dist/models/DescribeApplicationConfigResponseBody.js.map +1 -1
- package/dist/models/InitContainerConfig.d.ts +1 -0
- package/dist/models/InitContainerConfig.js +2 -0
- package/dist/models/InitContainerConfig.js.map +1 -1
- package/dist/models/QueryArmsEnableRequest.d.ts +21 -0
- package/dist/models/QueryArmsEnableRequest.js +58 -0
- package/dist/models/QueryArmsEnableRequest.js.map +1 -0
- package/dist/models/QueryArmsEnableResponse.d.ts +19 -0
- package/dist/models/QueryArmsEnableResponse.js +69 -0
- package/dist/models/QueryArmsEnableResponse.js.map +1 -0
- package/dist/models/QueryArmsEnableResponseBody.d.ts +57 -0
- package/dist/models/QueryArmsEnableResponseBody.js +92 -0
- package/dist/models/QueryArmsEnableResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +41 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +49 -0
- package/src/models/CreateApplicationRequest.ts +3 -0
- package/src/models/CreateApplicationShrinkRequest.ts +3 -0
- package/src/models/DeployApplicationRequest.ts +3 -0
- package/src/models/DeployApplicationShrinkRequest.ts +3 -0
- package/src/models/DescribeApplicationConfigResponseBody.ts +64 -0
- package/src/models/InitContainerConfig.ts +3 -0
- package/src/models/QueryArmsEnableRequest.ts +34 -0
- package/src/models/QueryArmsEnableResponse.ts +40 -0
- package/src/models/QueryArmsEnableResponseBody.ts +95 -0
- package/src/models/model.ts +6 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -706,6 +706,10 @@ export default class Client extends OpenApi {
|
|
|
706
706
|
body["ConfigMapMountDesc"] = request.configMapMountDesc;
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
+
if (!$dara.isNull(request.emptyDirDesc)) {
|
|
710
|
+
body["EmptyDirDesc"] = request.emptyDirDesc;
|
|
711
|
+
}
|
|
712
|
+
|
|
709
713
|
if (!$dara.isNull(request.enableSidecarResourceIsolated)) {
|
|
710
714
|
body["EnableSidecarResourceIsolated"] = request.enableSidecarResourceIsolated;
|
|
711
715
|
}
|
|
@@ -2740,6 +2744,10 @@ export default class Client extends OpenApi {
|
|
|
2740
2744
|
body["ConfigMapMountDesc"] = request.configMapMountDesc;
|
|
2741
2745
|
}
|
|
2742
2746
|
|
|
2747
|
+
if (!$dara.isNull(request.emptyDirDesc)) {
|
|
2748
|
+
body["EmptyDirDesc"] = request.emptyDirDesc;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2743
2751
|
if (!$dara.isNull(request.enableSidecarResourceIsolated)) {
|
|
2744
2752
|
body["EnableSidecarResourceIsolated"] = request.enableSidecarResourceIsolated;
|
|
2745
2753
|
}
|
|
@@ -6910,6 +6918,47 @@ export default class Client extends OpenApi {
|
|
|
6910
6918
|
return await this.publishWebApplicationRevisionWithOptions(ApplicationId, request, headers, runtime);
|
|
6911
6919
|
}
|
|
6912
6920
|
|
|
6921
|
+
/**
|
|
6922
|
+
* @param request - QueryArmsEnableRequest
|
|
6923
|
+
* @param headers - map
|
|
6924
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6925
|
+
* @returns QueryArmsEnableResponse
|
|
6926
|
+
*/
|
|
6927
|
+
async queryArmsEnableWithOptions(request: $_model.QueryArmsEnableRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.QueryArmsEnableResponse> {
|
|
6928
|
+
request.validate();
|
|
6929
|
+
let query : {[key: string ]: any} = { };
|
|
6930
|
+
if (!$dara.isNull(request.appId)) {
|
|
6931
|
+
query["AppId"] = request.appId;
|
|
6932
|
+
}
|
|
6933
|
+
|
|
6934
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6935
|
+
headers: headers,
|
|
6936
|
+
query: OpenApiUtil.query(query),
|
|
6937
|
+
});
|
|
6938
|
+
let params = new $OpenApiUtil.Params({
|
|
6939
|
+
action: "QueryArmsEnable",
|
|
6940
|
+
version: "2019-05-06",
|
|
6941
|
+
protocol: "HTTPS",
|
|
6942
|
+
pathname: `/pop/v1/arms/queryArms`,
|
|
6943
|
+
method: "GET",
|
|
6944
|
+
authType: "AK",
|
|
6945
|
+
style: "ROA",
|
|
6946
|
+
reqBodyType: "json",
|
|
6947
|
+
bodyType: "json",
|
|
6948
|
+
});
|
|
6949
|
+
return $dara.cast<$_model.QueryArmsEnableResponse>(await this.callApi(params, req, runtime), new $_model.QueryArmsEnableResponse({}));
|
|
6950
|
+
}
|
|
6951
|
+
|
|
6952
|
+
/**
|
|
6953
|
+
* @param request - QueryArmsEnableRequest
|
|
6954
|
+
* @returns QueryArmsEnableResponse
|
|
6955
|
+
*/
|
|
6956
|
+
async queryArmsEnable(request: $_model.QueryArmsEnableRequest): Promise<$_model.QueryArmsEnableResponse> {
|
|
6957
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6958
|
+
let headers : {[key: string ]: string} = { };
|
|
6959
|
+
return await this.queryArmsEnableWithOptions(request, headers, runtime);
|
|
6960
|
+
}
|
|
6961
|
+
|
|
6913
6962
|
/**
|
|
6914
6963
|
* Queries the resource usage of an application.
|
|
6915
6964
|
*
|
|
@@ -203,6 +203,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
203
203
|
* 3.5.3
|
|
204
204
|
*/
|
|
205
205
|
edasContainerVersion?: string;
|
|
206
|
+
emptyDirDesc?: string;
|
|
206
207
|
/**
|
|
207
208
|
* @remarks
|
|
208
209
|
* Enable CPU Burst.
|
|
@@ -862,6 +863,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
862
863
|
diskSize: 'DiskSize',
|
|
863
864
|
dotnet: 'Dotnet',
|
|
864
865
|
edasContainerVersion: 'EdasContainerVersion',
|
|
866
|
+
emptyDirDesc: 'EmptyDirDesc',
|
|
865
867
|
enableCpuBurst: 'EnableCpuBurst',
|
|
866
868
|
enableEbpf: 'EnableEbpf',
|
|
867
869
|
enableNewArms: 'EnableNewArms',
|
|
@@ -947,6 +949,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
947
949
|
diskSize: 'number',
|
|
948
950
|
dotnet: 'string',
|
|
949
951
|
edasContainerVersion: 'string',
|
|
952
|
+
emptyDirDesc: 'string',
|
|
950
953
|
enableCpuBurst: 'boolean',
|
|
951
954
|
enableEbpf: 'string',
|
|
952
955
|
enableNewArms: 'boolean',
|
|
@@ -201,6 +201,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
201
201
|
* 3.5.3
|
|
202
202
|
*/
|
|
203
203
|
edasContainerVersion?: string;
|
|
204
|
+
emptyDirDesc?: string;
|
|
204
205
|
/**
|
|
205
206
|
* @remarks
|
|
206
207
|
* Enable CPU Burst.
|
|
@@ -860,6 +861,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
860
861
|
diskSize: 'DiskSize',
|
|
861
862
|
dotnet: 'Dotnet',
|
|
862
863
|
edasContainerVersion: 'EdasContainerVersion',
|
|
864
|
+
emptyDirDesc: 'EmptyDirDesc',
|
|
863
865
|
enableCpuBurst: 'EnableCpuBurst',
|
|
864
866
|
enableEbpf: 'EnableEbpf',
|
|
865
867
|
enableNewArms: 'EnableNewArms',
|
|
@@ -945,6 +947,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
945
947
|
diskSize: 'number',
|
|
946
948
|
dotnet: 'string',
|
|
947
949
|
edasContainerVersion: 'string',
|
|
950
|
+
emptyDirDesc: 'string',
|
|
948
951
|
enableCpuBurst: 'boolean',
|
|
949
952
|
enableEbpf: 'string',
|
|
950
953
|
enableNewArms: 'boolean',
|
|
@@ -185,6 +185,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
185
185
|
* 3.5.3
|
|
186
186
|
*/
|
|
187
187
|
edasContainerVersion?: string;
|
|
188
|
+
emptyDirDesc?: string;
|
|
188
189
|
/**
|
|
189
190
|
* @remarks
|
|
190
191
|
* Indicates whether access to Application High Availability Service (AHAS) is enabled. Take note of the following rules:
|
|
@@ -898,6 +899,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
898
899
|
deploy: 'Deploy',
|
|
899
900
|
dotnet: 'Dotnet',
|
|
900
901
|
edasContainerVersion: 'EdasContainerVersion',
|
|
902
|
+
emptyDirDesc: 'EmptyDirDesc',
|
|
901
903
|
enableAhas: 'EnableAhas',
|
|
902
904
|
enableCpuBurst: 'EnableCpuBurst',
|
|
903
905
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
@@ -979,6 +981,7 @@ export class DeployApplicationRequest extends $dara.Model {
|
|
|
979
981
|
deploy: 'string',
|
|
980
982
|
dotnet: 'string',
|
|
981
983
|
edasContainerVersion: 'string',
|
|
984
|
+
emptyDirDesc: 'string',
|
|
982
985
|
enableAhas: 'string',
|
|
983
986
|
enableCpuBurst: 'boolean',
|
|
984
987
|
enableGreyTagRoute: 'boolean',
|
|
@@ -183,6 +183,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
183
183
|
* 3.5.3
|
|
184
184
|
*/
|
|
185
185
|
edasContainerVersion?: string;
|
|
186
|
+
emptyDirDesc?: string;
|
|
186
187
|
/**
|
|
187
188
|
* @remarks
|
|
188
189
|
* Indicates whether access to Application High Availability Service (AHAS) is enabled. Take note of the following rules:
|
|
@@ -896,6 +897,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
896
897
|
deploy: 'Deploy',
|
|
897
898
|
dotnet: 'Dotnet',
|
|
898
899
|
edasContainerVersion: 'EdasContainerVersion',
|
|
900
|
+
emptyDirDesc: 'EmptyDirDesc',
|
|
899
901
|
enableAhas: 'EnableAhas',
|
|
900
902
|
enableCpuBurst: 'EnableCpuBurst',
|
|
901
903
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
@@ -977,6 +979,7 @@ export class DeployApplicationShrinkRequest extends $dara.Model {
|
|
|
977
979
|
deploy: 'string',
|
|
978
980
|
dotnet: 'string',
|
|
979
981
|
edasContainerVersion: 'string',
|
|
982
|
+
emptyDirDesc: 'string',
|
|
980
983
|
enableAhas: 'string',
|
|
981
984
|
enableCpuBurst: 'boolean',
|
|
982
985
|
enableGreyTagRoute: 'boolean',
|
|
@@ -62,6 +62,32 @@ export class DescribeApplicationConfigResponseBodyDataConfigMapMountDesc extends
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
export class DescribeApplicationConfigResponseBodyDataEmptyDirDesc extends $dara.Model {
|
|
66
|
+
mountPath?: string;
|
|
67
|
+
name?: string;
|
|
68
|
+
static names(): { [key: string]: string } {
|
|
69
|
+
return {
|
|
70
|
+
mountPath: 'MountPath',
|
|
71
|
+
name: 'Name',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static types(): { [key: string]: any } {
|
|
76
|
+
return {
|
|
77
|
+
mountPath: 'string',
|
|
78
|
+
name: 'string',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
validate() {
|
|
83
|
+
super.validate();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
constructor(map?: { [key: string]: any }) {
|
|
87
|
+
super(map);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
65
91
|
export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc extends $dara.Model {
|
|
66
92
|
/**
|
|
67
93
|
* @remarks
|
|
@@ -122,6 +148,32 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfigConfig
|
|
|
122
148
|
}
|
|
123
149
|
}
|
|
124
150
|
|
|
151
|
+
export class DescribeApplicationConfigResponseBodyDataInitContainersConfigEmptyDirDesc extends $dara.Model {
|
|
152
|
+
mountPath?: string;
|
|
153
|
+
name?: string;
|
|
154
|
+
static names(): { [key: string]: string } {
|
|
155
|
+
return {
|
|
156
|
+
mountPath: 'MountPath',
|
|
157
|
+
name: 'Name',
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
static types(): { [key: string]: any } {
|
|
162
|
+
return {
|
|
163
|
+
mountPath: 'string',
|
|
164
|
+
name: 'string',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
validate() {
|
|
169
|
+
super.validate();
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
constructor(map?: { [key: string]: any }) {
|
|
173
|
+
super(map);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
125
177
|
export class DescribeApplicationConfigResponseBodyDataInitContainersConfig extends $dara.Model {
|
|
126
178
|
/**
|
|
127
179
|
* @remarks
|
|
@@ -156,6 +208,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
156
208
|
* The information of ConfigMap.
|
|
157
209
|
*/
|
|
158
210
|
configMapMountDesc?: DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc[];
|
|
211
|
+
emptyDirDesc?: DescribeApplicationConfigResponseBodyDataInitContainersConfigEmptyDirDesc[];
|
|
159
212
|
/**
|
|
160
213
|
* @remarks
|
|
161
214
|
* The environment variables. You can configure custom environment variables or reference a ConfigMap. If you want to reference a ConfigMap, you must first create a ConfigMap. For more information, see [CreateConfigMap](https://help.aliyun.com/document_detail/176914.html). Take note of the following rules:
|
|
@@ -197,6 +250,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
197
250
|
command: 'Command',
|
|
198
251
|
commandArgs: 'CommandArgs',
|
|
199
252
|
configMapMountDesc: 'ConfigMapMountDesc',
|
|
253
|
+
emptyDirDesc: 'EmptyDirDesc',
|
|
200
254
|
envs: 'Envs',
|
|
201
255
|
imageUrl: 'ImageUrl',
|
|
202
256
|
name: 'Name',
|
|
@@ -208,6 +262,7 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
208
262
|
command: 'string',
|
|
209
263
|
commandArgs: 'string',
|
|
210
264
|
configMapMountDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc },
|
|
265
|
+
emptyDirDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataInitContainersConfigEmptyDirDesc },
|
|
211
266
|
envs: 'string',
|
|
212
267
|
imageUrl: 'string',
|
|
213
268
|
name: 'string',
|
|
@@ -218,6 +273,9 @@ export class DescribeApplicationConfigResponseBodyDataInitContainersConfig exten
|
|
|
218
273
|
if(Array.isArray(this.configMapMountDesc)) {
|
|
219
274
|
$dara.Model.validateArray(this.configMapMountDesc);
|
|
220
275
|
}
|
|
276
|
+
if(Array.isArray(this.emptyDirDesc)) {
|
|
277
|
+
$dara.Model.validateArray(this.emptyDirDesc);
|
|
278
|
+
}
|
|
221
279
|
super.validate();
|
|
222
280
|
}
|
|
223
281
|
|
|
@@ -874,6 +932,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
874
932
|
* 3.5.3
|
|
875
933
|
*/
|
|
876
934
|
edasContainerVersion?: string;
|
|
935
|
+
emptyDirDesc?: DescribeApplicationConfigResponseBodyDataEmptyDirDesc[];
|
|
877
936
|
/**
|
|
878
937
|
* @remarks
|
|
879
938
|
* Indicates whether access to Application High Availability Service (AHAS) is enabled. Valid values:
|
|
@@ -1573,6 +1632,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1573
1632
|
diskSize: 'DiskSize',
|
|
1574
1633
|
dotnet: 'Dotnet',
|
|
1575
1634
|
edasContainerVersion: 'EdasContainerVersion',
|
|
1635
|
+
emptyDirDesc: 'EmptyDirDesc',
|
|
1576
1636
|
enableAhas: 'EnableAhas',
|
|
1577
1637
|
enableCpuBurst: 'EnableCpuBurst',
|
|
1578
1638
|
enableGreyTagRoute: 'EnableGreyTagRoute',
|
|
@@ -1669,6 +1729,7 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1669
1729
|
diskSize: 'number',
|
|
1670
1730
|
dotnet: 'string',
|
|
1671
1731
|
edasContainerVersion: 'string',
|
|
1732
|
+
emptyDirDesc: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataEmptyDirDesc },
|
|
1672
1733
|
enableAhas: 'string',
|
|
1673
1734
|
enableCpuBurst: 'string',
|
|
1674
1735
|
enableGreyTagRoute: 'boolean',
|
|
@@ -1747,6 +1808,9 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
1747
1808
|
if(Array.isArray(this.configMapMountDesc)) {
|
|
1748
1809
|
$dara.Model.validateArray(this.configMapMountDesc);
|
|
1749
1810
|
}
|
|
1811
|
+
if(Array.isArray(this.emptyDirDesc)) {
|
|
1812
|
+
$dara.Model.validateArray(this.emptyDirDesc);
|
|
1813
|
+
}
|
|
1750
1814
|
if(Array.isArray(this.initContainersConfig)) {
|
|
1751
1815
|
$dara.Model.validateArray(this.initContainersConfig);
|
|
1752
1816
|
}
|
|
@@ -6,6 +6,7 @@ export class InitContainerConfig extends $dara.Model {
|
|
|
6
6
|
command?: string;
|
|
7
7
|
commandArgs?: string;
|
|
8
8
|
configMapMountDesc?: string;
|
|
9
|
+
emptyDirDesc?: string;
|
|
9
10
|
envs?: string;
|
|
10
11
|
imageUrl?: string;
|
|
11
12
|
name?: string;
|
|
@@ -14,6 +15,7 @@ export class InitContainerConfig extends $dara.Model {
|
|
|
14
15
|
command: 'Command',
|
|
15
16
|
commandArgs: 'CommandArgs',
|
|
16
17
|
configMapMountDesc: 'ConfigMapMountDesc',
|
|
18
|
+
emptyDirDesc: 'EmptyDirDesc',
|
|
17
19
|
envs: 'Envs',
|
|
18
20
|
imageUrl: 'ImageUrl',
|
|
19
21
|
name: 'Name',
|
|
@@ -25,6 +27,7 @@ export class InitContainerConfig extends $dara.Model {
|
|
|
25
27
|
command: 'string',
|
|
26
28
|
commandArgs: 'string',
|
|
27
29
|
configMapMountDesc: 'string',
|
|
30
|
+
emptyDirDesc: 'string',
|
|
28
31
|
envs: 'string',
|
|
29
32
|
imageUrl: 'string',
|
|
30
33
|
name: 'string',
|
|
@@ -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 QueryArmsEnableRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 017f39b8-dfa4-4e16-a84b-1dcee4b1****
|
|
12
|
+
*/
|
|
13
|
+
appId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
appId: 'AppId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
appId: '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,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryArmsEnableResponseBody } from "./QueryArmsEnableResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryArmsEnableResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryArmsEnableResponseBody;
|
|
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: QueryArmsEnableResponseBody,
|
|
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,95 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryArmsEnableResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* true
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
enable: 'Enable',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
enable: 'boolean',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export class QueryArmsEnableResponseBody extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* 200
|
|
36
|
+
*/
|
|
37
|
+
code?: string;
|
|
38
|
+
data?: QueryArmsEnableResponseBodyData;
|
|
39
|
+
errorCode?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* success
|
|
43
|
+
*/
|
|
44
|
+
message?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* 01CF26C7-00A3-4AA6-BA76-7E95F2A3****
|
|
48
|
+
*/
|
|
49
|
+
requestId?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @example
|
|
52
|
+
* true
|
|
53
|
+
*/
|
|
54
|
+
success?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* 0a98a02315955564772843261e****
|
|
58
|
+
*/
|
|
59
|
+
traceId?: string;
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
code: 'Code',
|
|
63
|
+
data: 'Data',
|
|
64
|
+
errorCode: 'ErrorCode',
|
|
65
|
+
message: 'Message',
|
|
66
|
+
requestId: 'RequestId',
|
|
67
|
+
success: 'Success',
|
|
68
|
+
traceId: 'TraceId',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static types(): { [key: string]: any } {
|
|
73
|
+
return {
|
|
74
|
+
code: 'string',
|
|
75
|
+
data: QueryArmsEnableResponseBodyData,
|
|
76
|
+
errorCode: 'string',
|
|
77
|
+
message: 'string',
|
|
78
|
+
requestId: 'string',
|
|
79
|
+
success: 'boolean',
|
|
80
|
+
traceId: 'string',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
validate() {
|
|
85
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
86
|
+
(this.data as any).validate();
|
|
87
|
+
}
|
|
88
|
+
super.validate();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
constructor(map?: { [key: string]: any }) {
|
|
92
|
+
super(map);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -76,7 +76,9 @@ export { DescribeAppServiceDetailResponseBodyDataMethodsParameterDefinitions } f
|
|
|
76
76
|
export { DescribeAppServiceDetailResponseBodyDataMethods } from './DescribeAppServiceDetailResponseBody';
|
|
77
77
|
export { DescribeAppServiceDetailResponseBodyData } from './DescribeAppServiceDetailResponseBody';
|
|
78
78
|
export { DescribeApplicationConfigResponseBodyDataConfigMapMountDesc } from './DescribeApplicationConfigResponseBody';
|
|
79
|
+
export { DescribeApplicationConfigResponseBodyDataEmptyDirDesc } from './DescribeApplicationConfigResponseBody';
|
|
79
80
|
export { DescribeApplicationConfigResponseBodyDataInitContainersConfigConfigMapMountDesc } from './DescribeApplicationConfigResponseBody';
|
|
81
|
+
export { DescribeApplicationConfigResponseBodyDataInitContainersConfigEmptyDirDesc } from './DescribeApplicationConfigResponseBody';
|
|
80
82
|
export { DescribeApplicationConfigResponseBodyDataInitContainersConfig } from './DescribeApplicationConfigResponseBody';
|
|
81
83
|
export { DescribeApplicationConfigResponseBodyDataMountDesc } from './DescribeApplicationConfigResponseBody';
|
|
82
84
|
export { DescribeApplicationConfigResponseBodyDataOssMountDescs } from './DescribeApplicationConfigResponseBody';
|
|
@@ -251,6 +253,7 @@ export { ListSwimmingLaneGatewayRoutesResponseBodyData } from './ListSwimmingLan
|
|
|
251
253
|
export { ListSwimmingLaneGroupTagsResponseBodyData } from './ListSwimmingLaneGroupTagsResponseBody';
|
|
252
254
|
export { ListTagResourcesResponseBodyDataTagResources } from './ListTagResourcesResponseBody';
|
|
253
255
|
export { ListTagResourcesResponseBodyData } from './ListTagResourcesResponseBody';
|
|
256
|
+
export { QueryArmsEnableResponseBodyData } from './QueryArmsEnableResponseBody';
|
|
254
257
|
export { QueryResourceStaticsResponseBodyDataRealTimeRes } from './QueryResourceStaticsResponseBody';
|
|
255
258
|
export { QueryResourceStaticsResponseBodyDataSummary } from './QueryResourceStaticsResponseBody';
|
|
256
259
|
export { QueryResourceStaticsResponseBodyData } from './QueryResourceStaticsResponseBody';
|
|
@@ -751,6 +754,9 @@ export { OpenSaeServiceResponseBody } from './OpenSaeServiceResponseBody';
|
|
|
751
754
|
export { OpenSaeServiceResponse } from './OpenSaeServiceResponse';
|
|
752
755
|
export { PublishWebApplicationRevisionRequest } from './PublishWebApplicationRevisionRequest';
|
|
753
756
|
export { PublishWebApplicationRevisionResponse } from './PublishWebApplicationRevisionResponse';
|
|
757
|
+
export { QueryArmsEnableRequest } from './QueryArmsEnableRequest';
|
|
758
|
+
export { QueryArmsEnableResponseBody } from './QueryArmsEnableResponseBody';
|
|
759
|
+
export { QueryArmsEnableResponse } from './QueryArmsEnableResponse';
|
|
754
760
|
export { QueryResourceStaticsRequest } from './QueryResourceStaticsRequest';
|
|
755
761
|
export { QueryResourceStaticsResponseBody } from './QueryResourceStaticsResponseBody';
|
|
756
762
|
export { QueryResourceStaticsResponse } from './QueryResourceStaticsResponse';
|