@alicloud/sae20190506 2.3.1 → 2.4.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 +36 -0
- package/dist/client.js +96 -0
- package/dist/client.js.map +1 -1
- package/dist/models/BindNlbRequest.d.ts +62 -0
- package/dist/models/BindNlbRequest.js +66 -0
- package/dist/models/BindNlbRequest.js.map +1 -0
- package/dist/models/BindNlbResponse.d.ts +19 -0
- package/dist/models/BindNlbResponse.js +69 -0
- package/dist/models/BindNlbResponse.js.map +1 -0
- package/dist/models/BindNlbResponseBody.d.ts +78 -0
- package/dist/models/BindNlbResponseBody.js +74 -0
- package/dist/models/BindNlbResponseBody.js.map +1 -0
- package/dist/models/BindNlbResponseBodyData.d.ts +21 -0
- package/dist/models/BindNlbResponseBodyData.js +58 -0
- package/dist/models/BindNlbResponseBodyData.js.map +1 -0
- package/dist/models/DataInstancesValue.d.ts +40 -0
- package/dist/models/DataInstancesValue.js +66 -0
- package/dist/models/DataInstancesValue.js.map +1 -0
- package/dist/models/DataInstancesValueListenersValue.d.ts +59 -0
- package/dist/models/DataInstancesValueListenersValue.js +66 -0
- package/dist/models/DataInstancesValueListenersValue.js.map +1 -0
- package/dist/models/DescribeApplicationConfigResponseBodyData.d.ts +2 -0
- package/dist/models/DescribeApplicationConfigResponseBodyData.js +4 -0
- package/dist/models/DescribeApplicationConfigResponseBodyData.js.map +1 -1
- package/dist/models/DescribeApplicationNlbsRequest.d.ts +21 -0
- package/dist/models/DescribeApplicationNlbsRequest.js +58 -0
- package/dist/models/DescribeApplicationNlbsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationNlbsResponse.js +69 -0
- package/dist/models/DescribeApplicationNlbsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.d.ts +75 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.js +74 -0
- package/dist/models/DescribeApplicationNlbsResponseBody.js.map +1 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.d.ts +21 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.js +62 -0
- package/dist/models/DescribeApplicationNlbsResponseBodyData.js.map +1 -0
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.d.ts +1 -0
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.js +2 -0
- package/dist/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.js.map +1 -1
- package/dist/models/PriceEstimateFeature.d.ts +5 -0
- package/dist/models/PriceEstimateFeature.js +2 -0
- package/dist/models/PriceEstimateFeature.js.map +1 -1
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +37 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +106 -0
- package/src/models/BindNlbRequest.ts +83 -0
- package/src/models/BindNlbResponse.ts +40 -0
- package/src/models/BindNlbResponseBody.ts +106 -0
- package/src/models/BindNlbResponseBodyData.ts +34 -0
- package/src/models/DataInstancesValue.ts +58 -0
- package/src/models/DataInstancesValueListenersValue.ts +80 -0
- package/src/models/DescribeApplicationConfigResponseBodyData.ts +6 -0
- package/src/models/DescribeApplicationNlbsRequest.ts +34 -0
- package/src/models/DescribeApplicationNlbsResponse.ts +40 -0
- package/src/models/DescribeApplicationNlbsResponseBody.ts +103 -0
- package/src/models/DescribeApplicationNlbsResponseBodyData.ts +35 -0
- package/src/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.ts +3 -0
- package/src/models/PriceEstimateFeature.ts +7 -0
- package/src/models/model.ts +10 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class BindNlbRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The type of the IP addresses. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* * Internet: public endpoint.
|
|
11
|
+
* * Intranet: private endpoint.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* Internet
|
|
15
|
+
*/
|
|
16
|
+
addressType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @remarks
|
|
19
|
+
* The ID of the application to which the NLB instance is bound.
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
23
|
+
*/
|
|
24
|
+
appId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The listener that you want to manage. The value is a string that consists of JSON arrays. Each listener contains the following fields:
|
|
28
|
+
*
|
|
29
|
+
* * **port**: the port number of the NLB listener. This field is required. Data type: integer. Valid values: 0 to 65535.
|
|
30
|
+
* * **TargetPort**: the port number of the container listener. This field is required. Data type: integer. Valid values: 0 to 65535.
|
|
31
|
+
* * **Protocol**: the listener protocol. This field is required. Data type: string. Valid values: TCP, UDP, and TCPSSL.
|
|
32
|
+
* * **CertIds**: the IDs of the server certificates. This field is optional. Data type: string. This field is supported only by TCPSSL listeners.
|
|
33
|
+
*/
|
|
34
|
+
listeners?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The ID of the NLB instance.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* nlb-7z7jjbzz44d82c9***
|
|
41
|
+
*/
|
|
42
|
+
nlbId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The mappings between zones and vSwitches. The value is a JSON string. You can specify at most 10 zones. If the region supports two or more zones, specify at least two zones. A ZoneMapping contains the following fields:
|
|
46
|
+
*
|
|
47
|
+
* * The ID of the vSwitch in the zone. Each zone can contain only one vSwitch and one subnet. Data type: string.
|
|
48
|
+
* * The zone ID of the NLB instance. Data type: string.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* vsw-sersdf****
|
|
52
|
+
* cn-hangzhou-a
|
|
53
|
+
*/
|
|
54
|
+
zoneMappings?: string;
|
|
55
|
+
static names(): { [key: string]: string } {
|
|
56
|
+
return {
|
|
57
|
+
addressType: 'AddressType',
|
|
58
|
+
appId: 'AppId',
|
|
59
|
+
listeners: 'Listeners',
|
|
60
|
+
nlbId: 'NlbId',
|
|
61
|
+
zoneMappings: 'ZoneMappings',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
addressType: 'string',
|
|
68
|
+
appId: 'string',
|
|
69
|
+
listeners: 'string',
|
|
70
|
+
nlbId: 'string',
|
|
71
|
+
zoneMappings: 'string',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
validate() {
|
|
76
|
+
super.validate();
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
constructor(map?: { [key: string]: any }) {
|
|
80
|
+
super(map);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { BindNlbResponseBody } from "./BindNlbResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BindNlbResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: BindNlbResponseBody;
|
|
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: BindNlbResponseBody,
|
|
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
|
+
import { BindNlbResponseBodyData } from "./BindNlbResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class BindNlbResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
19
|
+
code?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The returned data.
|
|
23
|
+
*/
|
|
24
|
+
data?: BindNlbResponseBodyData;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The status code. Value values:
|
|
28
|
+
*
|
|
29
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
30
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** in this topic.
|
|
31
|
+
*/
|
|
32
|
+
errorCode?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The message returned. Valid values:
|
|
36
|
+
*
|
|
37
|
+
* * If the request was successful, **success** is returned.
|
|
38
|
+
* * If the request failed, an error code is returned.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* success
|
|
42
|
+
*/
|
|
43
|
+
message?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* Id of the request
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
50
|
+
*/
|
|
51
|
+
requestId?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* Indicates whether the applications were stopped. Valid values:
|
|
55
|
+
*
|
|
56
|
+
* * **true**: The applications were stopped.
|
|
57
|
+
* * **false**: The applications failed to be stopped.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* true
|
|
61
|
+
*/
|
|
62
|
+
success?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* 0a06dfe717389800573793090e0589
|
|
69
|
+
*/
|
|
70
|
+
traceId?: string;
|
|
71
|
+
static names(): { [key: string]: string } {
|
|
72
|
+
return {
|
|
73
|
+
code: 'Code',
|
|
74
|
+
data: 'Data',
|
|
75
|
+
errorCode: 'ErrorCode',
|
|
76
|
+
message: 'Message',
|
|
77
|
+
requestId: 'RequestId',
|
|
78
|
+
success: 'Success',
|
|
79
|
+
traceId: 'TraceId',
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
static types(): { [key: string]: any } {
|
|
84
|
+
return {
|
|
85
|
+
code: 'string',
|
|
86
|
+
data: BindNlbResponseBodyData,
|
|
87
|
+
errorCode: 'string',
|
|
88
|
+
message: 'string',
|
|
89
|
+
requestId: 'string',
|
|
90
|
+
success: 'boolean',
|
|
91
|
+
traceId: 'string',
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
validate() {
|
|
96
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
97
|
+
(this.data as any).validate();
|
|
98
|
+
}
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -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 BindNlbResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the change order. The ID can be used to query the status of the change task.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ba386059-69b1-4e65-b1e5-0682d9fa****
|
|
12
|
+
*/
|
|
13
|
+
changeOrderId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
changeOrderId: 'ChangeOrderId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
changeOrderId: '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,58 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DataInstancesValueListenersValue } from "./DataInstancesValueListenersValue";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DataInstancesValue extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The domain name.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* nlb-wb7r6dlwetvt5j****.cn-hangzhou.nlb.aliyuncs.com
|
|
13
|
+
*/
|
|
14
|
+
dnsName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The listeners.
|
|
18
|
+
*/
|
|
19
|
+
listeners?: { [key: string]: DataInstancesValueListenersValue };
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* Indicates whether the instance is created by SAE.
|
|
23
|
+
*
|
|
24
|
+
* * **true**: The instance is created by SAE.
|
|
25
|
+
* * **false**: The existing instance is reused.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* true
|
|
29
|
+
*/
|
|
30
|
+
createdBySae?: boolean;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
dnsName: 'DnsName',
|
|
34
|
+
listeners: 'Listeners',
|
|
35
|
+
createdBySae: 'CreatedBySae',
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
static types(): { [key: string]: any } {
|
|
40
|
+
return {
|
|
41
|
+
dnsName: 'string',
|
|
42
|
+
listeners: { 'type': 'map', 'keyType': 'string', 'valueType': DataInstancesValueListenersValue },
|
|
43
|
+
createdBySae: 'boolean',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
if(this.listeners) {
|
|
49
|
+
$dara.Model.validateMap(this.listeners);
|
|
50
|
+
}
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
constructor(map?: { [key: string]: any }) {
|
|
55
|
+
super(map);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DataInstancesValueListenersValue extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The listener protocol.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* TCPSSL
|
|
12
|
+
*/
|
|
13
|
+
protocol?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The listener port of the NLB instance.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 80
|
|
20
|
+
*/
|
|
21
|
+
port?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The status of the NLB listener.
|
|
25
|
+
*
|
|
26
|
+
* * **Creating**: The listener is being created.
|
|
27
|
+
* * **Configuring**: The listener is being configured.
|
|
28
|
+
* * **Bounded**: The listener runs as expected.
|
|
29
|
+
* * **Unbinding**: The listener is being deleted.
|
|
30
|
+
* * **Failed**: The listener is unavailable.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* Bounded
|
|
34
|
+
*/
|
|
35
|
+
status?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* The open ports of the NLB instance.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* 8080
|
|
42
|
+
*/
|
|
43
|
+
targetPort?: number;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The server certificates.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 123157******
|
|
50
|
+
*/
|
|
51
|
+
certIds?: string;
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
protocol: 'Protocol',
|
|
55
|
+
port: 'Port',
|
|
56
|
+
status: 'Status',
|
|
57
|
+
targetPort: 'TargetPort',
|
|
58
|
+
certIds: 'CertIds',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
static types(): { [key: string]: any } {
|
|
63
|
+
return {
|
|
64
|
+
protocol: 'string',
|
|
65
|
+
port: 'number',
|
|
66
|
+
status: 'string',
|
|
67
|
+
targetPort: 'number',
|
|
68
|
+
certIds: 'string',
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
validate() {
|
|
73
|
+
super.validate();
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
constructor(map?: { [key: string]: any }) {
|
|
77
|
+
super(map);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -190,6 +190,8 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
190
190
|
* [{"name":"TEST_ENV_KEY","value":"TEST_ENV_VAR"}]
|
|
191
191
|
*/
|
|
192
192
|
envs?: string;
|
|
193
|
+
gpuCount?: string;
|
|
194
|
+
gpuType?: string;
|
|
193
195
|
/**
|
|
194
196
|
* @example
|
|
195
197
|
* 10
|
|
@@ -712,6 +714,8 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
712
714
|
enableIdle: 'EnableIdle',
|
|
713
715
|
enableNewArms: 'EnableNewArms',
|
|
714
716
|
envs: 'Envs',
|
|
717
|
+
gpuCount: 'GpuCount',
|
|
718
|
+
gpuType: 'GpuType',
|
|
715
719
|
imagePullSecrets: 'ImagePullSecrets',
|
|
716
720
|
imageUrl: 'ImageUrl',
|
|
717
721
|
initContainersConfig: 'InitContainersConfig',
|
|
@@ -801,6 +805,8 @@ export class DescribeApplicationConfigResponseBodyData extends $dara.Model {
|
|
|
801
805
|
enableIdle: 'boolean',
|
|
802
806
|
enableNewArms: 'boolean',
|
|
803
807
|
envs: 'string',
|
|
808
|
+
gpuCount: 'string',
|
|
809
|
+
gpuType: 'string',
|
|
804
810
|
imagePullSecrets: 'string',
|
|
805
811
|
imageUrl: 'string',
|
|
806
812
|
initContainersConfig: { 'type': 'array', 'itemType': DescribeApplicationConfigResponseBodyDataInitContainersConfig },
|
|
@@ -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 DescribeApplicationNlbsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the application.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 7171a6ca-d1cd-4928-8642-7d5cfe69****
|
|
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 { DescribeApplicationNlbsResponseBody } from "./DescribeApplicationNlbsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApplicationNlbsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeApplicationNlbsResponseBody;
|
|
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: DescribeApplicationNlbsResponseBody,
|
|
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,103 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeApplicationNlbsResponseBodyData } from "./DescribeApplicationNlbsResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApplicationNlbsResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The HTTP status code. Valid values:
|
|
10
|
+
*
|
|
11
|
+
* * **2xx**: The request was successful.
|
|
12
|
+
* * **3xx**: The request was redirected.
|
|
13
|
+
* * **4xx**: The request failed.
|
|
14
|
+
* * **5xx**: A server error occurred.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 200
|
|
18
|
+
*/
|
|
19
|
+
code?: string;
|
|
20
|
+
/**
|
|
21
|
+
* @remarks
|
|
22
|
+
* The returned data.
|
|
23
|
+
*/
|
|
24
|
+
data?: DescribeApplicationNlbsResponseBodyData;
|
|
25
|
+
/**
|
|
26
|
+
* @remarks
|
|
27
|
+
* The status code. Value values:
|
|
28
|
+
*
|
|
29
|
+
* * If the request was successful, **ErrorCode** is not returned.
|
|
30
|
+
* * If the request failed, **ErrorCode** is returned. For more information, see **Error codes** section in this topic.
|
|
31
|
+
*/
|
|
32
|
+
errorCode?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The message returned. Valid values:If the request was successful, success is returned. If the request failed, an error code is returned.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* success
|
|
39
|
+
*/
|
|
40
|
+
message?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* The request ID.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* 91F93257-7A4A-4BD3-9A7E-2F6EAE6D****
|
|
47
|
+
*/
|
|
48
|
+
requestId?: string;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* Indicates whether the NLB instance was successfully associated with the application. Valid values:
|
|
52
|
+
*
|
|
53
|
+
* * **true**: The application was associated.
|
|
54
|
+
* * **false**: The application failed to be associated.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* true
|
|
58
|
+
*/
|
|
59
|
+
success?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The ID of the trace. The ID is used to query the details of a request.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ac1a0b2215622246421415014e****
|
|
66
|
+
*/
|
|
67
|
+
traceId?: string;
|
|
68
|
+
static names(): { [key: string]: string } {
|
|
69
|
+
return {
|
|
70
|
+
code: 'Code',
|
|
71
|
+
data: 'Data',
|
|
72
|
+
errorCode: 'ErrorCode',
|
|
73
|
+
message: 'Message',
|
|
74
|
+
requestId: 'RequestId',
|
|
75
|
+
success: 'Success',
|
|
76
|
+
traceId: 'TraceId',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static types(): { [key: string]: any } {
|
|
81
|
+
return {
|
|
82
|
+
code: 'string',
|
|
83
|
+
data: DescribeApplicationNlbsResponseBodyData,
|
|
84
|
+
errorCode: 'string',
|
|
85
|
+
message: 'string',
|
|
86
|
+
requestId: 'string',
|
|
87
|
+
success: 'string',
|
|
88
|
+
traceId: 'string',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
validate() {
|
|
93
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
94
|
+
(this.data as any).validate();
|
|
95
|
+
}
|
|
96
|
+
super.validate();
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
constructor(map?: { [key: string]: any }) {
|
|
100
|
+
super(map);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DataInstancesValue } from "./DataInstancesValue";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeApplicationNlbsResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The details of the instance.
|
|
10
|
+
*/
|
|
11
|
+
instances?: { [key: string]: DataInstancesValue };
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
instances: 'Instances',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
instances: { 'type': 'map', 'keyType': 'string', 'valueType': DataInstancesValue },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
validate() {
|
|
25
|
+
if(this.instances) {
|
|
26
|
+
$dara.Model.validateMap(this.instances);
|
|
27
|
+
}
|
|
28
|
+
super.validate();
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
constructor(map?: { [key: string]: any }) {
|
|
32
|
+
super(map);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
package/src/models/DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimer.ts
CHANGED
|
@@ -53,12 +53,14 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
|
|
|
53
53
|
* The points in time when the auto scaling policy is triggered within one day.
|
|
54
54
|
*/
|
|
55
55
|
schedules?: DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules[];
|
|
56
|
+
timeZone?: string;
|
|
56
57
|
static names(): { [key: string]: string } {
|
|
57
58
|
return {
|
|
58
59
|
beginDate: 'BeginDate',
|
|
59
60
|
endDate: 'EndDate',
|
|
60
61
|
period: 'Period',
|
|
61
62
|
schedules: 'Schedules',
|
|
63
|
+
timeZone: 'TimeZone',
|
|
62
64
|
};
|
|
63
65
|
}
|
|
64
66
|
|
|
@@ -68,6 +70,7 @@ export class DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRu
|
|
|
68
70
|
endDate: 'string',
|
|
69
71
|
period: 'string',
|
|
70
72
|
schedules: { 'type': 'array', 'itemType': DescribeApplicationScalingRulesResponseBodyDataApplicationScalingRulesTimerSchedules },
|
|
73
|
+
timeZone: 'string',
|
|
71
74
|
};
|
|
72
75
|
}
|
|
73
76
|
|
|
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class PriceEstimateFeature extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1
|
|
9
|
+
*/
|
|
10
|
+
appCount?: number;
|
|
6
11
|
/**
|
|
7
12
|
* @remarks
|
|
8
13
|
* This parameter is required.
|
|
@@ -139,6 +144,7 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
139
144
|
resourceType?: string;
|
|
140
145
|
static names(): { [key: string]: string } {
|
|
141
146
|
return {
|
|
147
|
+
appCount: 'AppCount',
|
|
142
148
|
appType: 'AppType',
|
|
143
149
|
cpuCore: 'CpuCore',
|
|
144
150
|
cpuStrategy: 'CpuStrategy',
|
|
@@ -168,6 +174,7 @@ export class PriceEstimateFeature extends $dara.Model {
|
|
|
168
174
|
|
|
169
175
|
static types(): { [key: string]: any } {
|
|
170
176
|
return {
|
|
177
|
+
appCount: 'number',
|
|
171
178
|
appType: 'string',
|
|
172
179
|
cpuCore: 'number',
|
|
173
180
|
cpuStrategy: 'string',
|