@alicloud/ecs20140526 7.3.0 → 7.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 +30 -0
- package/dist/client.js +117 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.d.ts +52 -0
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js +57 -1
- package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js.map +1 -1
- package/dist/models/DisableNetworkInterfaceQoSrequest.d.ts +33 -0
- package/dist/models/DisableNetworkInterfaceQoSrequest.js +68 -0
- package/dist/models/DisableNetworkInterfaceQoSrequest.js.map +1 -0
- package/dist/models/DisableNetworkInterfaceQoSresponse.d.ts +19 -0
- package/dist/models/DisableNetworkInterfaceQoSresponse.js +69 -0
- package/dist/models/DisableNetworkInterfaceQoSresponse.js.map +1 -0
- package/dist/models/DisableNetworkInterfaceQoSresponseBody.d.ts +18 -0
- package/dist/models/DisableNetworkInterfaceQoSresponseBody.js +58 -0
- package/dist/models/DisableNetworkInterfaceQoSresponseBody.js.map +1 -0
- package/dist/models/EnableNetworkInterfaceQoSrequest.d.ts +71 -0
- package/dist/models/EnableNetworkInterfaceQoSrequest.js +100 -0
- package/dist/models/EnableNetworkInterfaceQoSrequest.js.map +1 -0
- package/dist/models/EnableNetworkInterfaceQoSresponse.d.ts +19 -0
- package/dist/models/EnableNetworkInterfaceQoSresponse.js +69 -0
- package/dist/models/EnableNetworkInterfaceQoSresponse.js.map +1 -0
- package/dist/models/EnableNetworkInterfaceQoSresponseBody.d.ts +18 -0
- package/dist/models/EnableNetworkInterfaceQoSresponseBody.js +58 -0
- package/dist/models/EnableNetworkInterfaceQoSresponseBody.js.map +1 -0
- package/dist/models/model.d.ts +9 -0
- package/dist/models/model.js +53 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +136 -0
- package/src/models/DescribeNetworkInterfaceAttributeResponseBody.ts +90 -0
- package/src/models/DisableNetworkInterfaceQoSrequest.ts +56 -0
- package/src/models/DisableNetworkInterfaceQoSresponse.ts +40 -0
- package/src/models/DisableNetworkInterfaceQoSresponseBody.ts +31 -0
- package/src/models/EnableNetworkInterfaceQoSrequest.ts +117 -0
- package/src/models/EnableNetworkInterfaceQoSresponse.ts +40 -0
- package/src/models/EnableNetworkInterfaceQoSresponseBody.ts +31 -0
- package/src/models/model.ts +9 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DisableNetworkInterfaceQoSRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* eni-bp1iqejowblx6h8j****
|
|
12
|
+
*/
|
|
13
|
+
networkInterfaceId?: string;
|
|
14
|
+
ownerAccount?: string;
|
|
15
|
+
ownerId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* This parameter is required.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* cn-hangzhou
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
resourceOwnerAccount?: string;
|
|
25
|
+
resourceOwnerId?: number;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
29
|
+
ownerAccount: 'OwnerAccount',
|
|
30
|
+
ownerId: 'OwnerId',
|
|
31
|
+
regionId: 'RegionId',
|
|
32
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
33
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
networkInterfaceId: 'string',
|
|
40
|
+
ownerAccount: 'string',
|
|
41
|
+
ownerId: 'number',
|
|
42
|
+
regionId: 'string',
|
|
43
|
+
resourceOwnerAccount: 'string',
|
|
44
|
+
resourceOwnerId: 'number',
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
validate() {
|
|
49
|
+
super.validate();
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
constructor(map?: { [key: string]: any }) {
|
|
53
|
+
super(map);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DisableNetworkInterfaceQoSResponseBody } from "./DisableNetworkInterfaceQoSresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DisableNetworkInterfaceQoSResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DisableNetworkInterfaceQoSResponseBody;
|
|
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: DisableNetworkInterfaceQoSResponseBody,
|
|
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 DisableNetworkInterfaceQoSResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 745CEC9F-0DD7-4451-9FE7-8B752F39****
|
|
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,117 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class EnableNetworkInterfaceQoSRequestQoS extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 50000
|
|
9
|
+
*/
|
|
10
|
+
bandwidthRx?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 50000
|
|
14
|
+
*/
|
|
15
|
+
bandwidthTx?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 50000
|
|
19
|
+
*/
|
|
20
|
+
concurrentConnections?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 50000
|
|
24
|
+
*/
|
|
25
|
+
ppsRx?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 50000
|
|
29
|
+
*/
|
|
30
|
+
ppsTx?: number;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
bandwidthRx: 'BandwidthRx',
|
|
34
|
+
bandwidthTx: 'BandwidthTx',
|
|
35
|
+
concurrentConnections: 'ConcurrentConnections',
|
|
36
|
+
ppsRx: 'PpsRx',
|
|
37
|
+
ppsTx: 'PpsTx',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
bandwidthRx: 'number',
|
|
44
|
+
bandwidthTx: 'number',
|
|
45
|
+
concurrentConnections: 'number',
|
|
46
|
+
ppsRx: 'number',
|
|
47
|
+
ppsTx: 'number',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class EnableNetworkInterfaceQoSRequest extends $dara.Model {
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* This parameter is required.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* eni-2zeh9atclduxvf1z****
|
|
67
|
+
*/
|
|
68
|
+
networkInterfaceId?: string;
|
|
69
|
+
ownerAccount?: string;
|
|
70
|
+
ownerId?: number;
|
|
71
|
+
qoS?: EnableNetworkInterfaceQoSRequestQoS;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* This parameter is required.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* cn-hangzhou
|
|
78
|
+
*/
|
|
79
|
+
regionId?: string;
|
|
80
|
+
resourceOwnerAccount?: string;
|
|
81
|
+
resourceOwnerId?: number;
|
|
82
|
+
static names(): { [key: string]: string } {
|
|
83
|
+
return {
|
|
84
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
85
|
+
ownerAccount: 'OwnerAccount',
|
|
86
|
+
ownerId: 'OwnerId',
|
|
87
|
+
qoS: 'QoS',
|
|
88
|
+
regionId: 'RegionId',
|
|
89
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
90
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
networkInterfaceId: 'string',
|
|
97
|
+
ownerAccount: 'string',
|
|
98
|
+
ownerId: 'number',
|
|
99
|
+
qoS: EnableNetworkInterfaceQoSRequestQoS,
|
|
100
|
+
regionId: 'string',
|
|
101
|
+
resourceOwnerAccount: 'string',
|
|
102
|
+
resourceOwnerId: 'number',
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
validate() {
|
|
107
|
+
if(this.qoS && typeof (this.qoS as any).validate === 'function') {
|
|
108
|
+
(this.qoS as any).validate();
|
|
109
|
+
}
|
|
110
|
+
super.validate();
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
constructor(map?: { [key: string]: any }) {
|
|
114
|
+
super(map);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { EnableNetworkInterfaceQoSResponseBody } from "./EnableNetworkInterfaceQoSresponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class EnableNetworkInterfaceQoSResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: EnableNetworkInterfaceQoSResponseBody;
|
|
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: EnableNetworkInterfaceQoSResponseBody,
|
|
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 EnableNetworkInterfaceQoSResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
|
|
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
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -560,6 +560,8 @@ export { DescribeNetworkInterfaceAttributeResponseBodyNetworkInterfaceTrafficCon
|
|
|
560
560
|
export { DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSetsPrivateIpSetAssociatedPublicIp } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
561
561
|
export { DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSetsPrivateIpSet } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
562
562
|
export { DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSets } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
563
|
+
export { DescribeNetworkInterfaceAttributeResponseBodyQoSConfigQoS } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
564
|
+
export { DescribeNetworkInterfaceAttributeResponseBodyQoSConfig } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
563
565
|
export { DescribeNetworkInterfaceAttributeResponseBodySecurityGroupIds } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
564
566
|
export { DescribeNetworkInterfaceAttributeResponseBodySlaveInterfaceSpecification } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
565
567
|
export { DescribeNetworkInterfaceAttributeResponseBodyTagsTag } from './DescribeNetworkInterfaceAttributeResponseBody';
|
|
@@ -776,6 +778,7 @@ export { DetachInstanceRamRoleResponseBodyDetachInstanceRamRoleResults } from '.
|
|
|
776
778
|
export { DetachKeyPairResponseBodyResultsResult } from './DetachKeyPairResponseBody';
|
|
777
779
|
export { DetachKeyPairResponseBodyResults } from './DetachKeyPairResponseBody';
|
|
778
780
|
export { DisableActivationResponseBodyActivation } from './DisableActivationResponseBody';
|
|
781
|
+
export { EnableNetworkInterfaceQoSRequestQoS } from './EnableNetworkInterfaceQoSrequest';
|
|
779
782
|
export { ImportImageRequestDiskDeviceMapping } from './ImportImageRequest';
|
|
780
783
|
export { ImportImageRequestFeatures } from './ImportImageRequest';
|
|
781
784
|
export { ImportImageRequestTag } from './ImportImageRequest';
|
|
@@ -1582,9 +1585,15 @@ export { DisableActivationResponse } from './DisableActivationResponse';
|
|
|
1582
1585
|
export { DisableDiskEncryptionByDefaultRequest } from './DisableDiskEncryptionByDefaultRequest';
|
|
1583
1586
|
export { DisableDiskEncryptionByDefaultResponseBody } from './DisableDiskEncryptionByDefaultResponseBody';
|
|
1584
1587
|
export { DisableDiskEncryptionByDefaultResponse } from './DisableDiskEncryptionByDefaultResponse';
|
|
1588
|
+
export { DisableNetworkInterfaceQoSRequest } from './DisableNetworkInterfaceQoSrequest';
|
|
1589
|
+
export { DisableNetworkInterfaceQoSResponseBody } from './DisableNetworkInterfaceQoSresponseBody';
|
|
1590
|
+
export { DisableNetworkInterfaceQoSResponse } from './DisableNetworkInterfaceQoSresponse';
|
|
1585
1591
|
export { EnableDiskEncryptionByDefaultRequest } from './EnableDiskEncryptionByDefaultRequest';
|
|
1586
1592
|
export { EnableDiskEncryptionByDefaultResponseBody } from './EnableDiskEncryptionByDefaultResponseBody';
|
|
1587
1593
|
export { EnableDiskEncryptionByDefaultResponse } from './EnableDiskEncryptionByDefaultResponse';
|
|
1594
|
+
export { EnableNetworkInterfaceQoSRequest } from './EnableNetworkInterfaceQoSrequest';
|
|
1595
|
+
export { EnableNetworkInterfaceQoSResponseBody } from './EnableNetworkInterfaceQoSresponseBody';
|
|
1596
|
+
export { EnableNetworkInterfaceQoSResponse } from './EnableNetworkInterfaceQoSresponse';
|
|
1588
1597
|
export { EnablePhysicalConnectionRequest } from './EnablePhysicalConnectionRequest';
|
|
1589
1598
|
export { EnablePhysicalConnectionResponseBody } from './EnablePhysicalConnectionResponseBody';
|
|
1590
1599
|
export { EnablePhysicalConnectionResponse } from './EnablePhysicalConnectionResponse';
|