@alicloud/ecs20140526 3.0.9 → 3.0.10
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 +6 -0
- package/dist/client.js +18 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +26 -0
package/dist/client.d.ts
CHANGED
|
@@ -2796,6 +2796,7 @@ export declare class CreateNatGatewayResponse extends $tea.Model {
|
|
|
2796
2796
|
export declare class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
2797
2797
|
businessType?: string;
|
|
2798
2798
|
clientToken?: string;
|
|
2799
|
+
deleteOnRelease?: boolean;
|
|
2799
2800
|
description?: string;
|
|
2800
2801
|
instanceType?: string;
|
|
2801
2802
|
ipv4Prefix?: string[];
|
|
@@ -9058,6 +9059,7 @@ export declare class DescribeNetworkInterfaceAttributeResponseBody extends $tea.
|
|
|
9058
9059
|
attachment?: DescribeNetworkInterfaceAttributeResponseBodyAttachment;
|
|
9059
9060
|
bondInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification;
|
|
9060
9061
|
creationTime?: string;
|
|
9062
|
+
deleteOnRelease?: boolean;
|
|
9061
9063
|
description?: string;
|
|
9062
9064
|
instanceId?: string;
|
|
9063
9065
|
ipv4PrefixSets?: DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSets;
|
|
@@ -14611,6 +14613,7 @@ export declare class ModifyManagedInstanceResponse extends $tea.Model {
|
|
|
14611
14613
|
});
|
|
14612
14614
|
}
|
|
14613
14615
|
export declare class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
14616
|
+
deleteOnRelease?: boolean;
|
|
14614
14617
|
description?: string;
|
|
14615
14618
|
networkInterfaceId?: string;
|
|
14616
14619
|
networkInterfaceName?: string;
|
|
@@ -25005,6 +25008,7 @@ export declare class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNe
|
|
|
25005
25008
|
associatedPublicIp?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp;
|
|
25006
25009
|
attachment?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment;
|
|
25007
25010
|
creationTime?: string;
|
|
25011
|
+
deleteOnRelease?: boolean;
|
|
25008
25012
|
description?: string;
|
|
25009
25013
|
instanceId?: string;
|
|
25010
25014
|
ipv4PrefixSets?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets;
|
|
@@ -28432,11 +28436,13 @@ export declare class RunInstancesRequestImageOptions extends $tea.Model {
|
|
|
28432
28436
|
});
|
|
28433
28437
|
}
|
|
28434
28438
|
export declare class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
28439
|
+
deleteOnRelease?: boolean;
|
|
28435
28440
|
description?: string;
|
|
28436
28441
|
instanceType?: string;
|
|
28437
28442
|
ipv6Address?: string[];
|
|
28438
28443
|
ipv6AddressCount?: number;
|
|
28439
28444
|
networkCardIndex?: number;
|
|
28445
|
+
networkInterfaceId?: string;
|
|
28440
28446
|
networkInterfaceName?: string;
|
|
28441
28447
|
networkInterfaceTrafficMode?: string;
|
|
28442
28448
|
primaryIpAddress?: string;
|
package/dist/client.js
CHANGED
|
@@ -4149,6 +4149,7 @@ class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
4149
4149
|
return {
|
|
4150
4150
|
businessType: 'BusinessType',
|
|
4151
4151
|
clientToken: 'ClientToken',
|
|
4152
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
4152
4153
|
description: 'Description',
|
|
4153
4154
|
instanceType: 'InstanceType',
|
|
4154
4155
|
ipv4Prefix: 'Ipv4Prefix',
|
|
@@ -4181,6 +4182,7 @@ class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
4181
4182
|
return {
|
|
4182
4183
|
businessType: 'string',
|
|
4183
4184
|
clientToken: 'string',
|
|
4185
|
+
deleteOnRelease: 'boolean',
|
|
4184
4186
|
description: 'string',
|
|
4185
4187
|
instanceType: 'string',
|
|
4186
4188
|
ipv4Prefix: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -13275,6 +13277,7 @@ class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
13275
13277
|
attachment: 'Attachment',
|
|
13276
13278
|
bondInterfaceSpecification: 'BondInterfaceSpecification',
|
|
13277
13279
|
creationTime: 'CreationTime',
|
|
13280
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
13278
13281
|
description: 'Description',
|
|
13279
13282
|
instanceId: 'InstanceId',
|
|
13280
13283
|
ipv4PrefixSets: 'Ipv4PrefixSets',
|
|
@@ -13309,6 +13312,7 @@ class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
13309
13312
|
attachment: DescribeNetworkInterfaceAttributeResponseBodyAttachment,
|
|
13310
13313
|
bondInterfaceSpecification: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification,
|
|
13311
13314
|
creationTime: 'string',
|
|
13315
|
+
deleteOnRelease: 'boolean',
|
|
13312
13316
|
description: 'string',
|
|
13313
13317
|
instanceId: 'string',
|
|
13314
13318
|
ipv4PrefixSets: DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSets,
|
|
@@ -21357,6 +21361,7 @@ class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
21357
21361
|
}
|
|
21358
21362
|
static names() {
|
|
21359
21363
|
return {
|
|
21364
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
21360
21365
|
description: 'Description',
|
|
21361
21366
|
networkInterfaceId: 'NetworkInterfaceId',
|
|
21362
21367
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
@@ -21371,6 +21376,7 @@ class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
21371
21376
|
}
|
|
21372
21377
|
static types() {
|
|
21373
21378
|
return {
|
|
21379
|
+
deleteOnRelease: 'boolean',
|
|
21374
21380
|
description: 'string',
|
|
21375
21381
|
networkInterfaceId: 'string',
|
|
21376
21382
|
networkInterfaceName: 'string',
|
|
@@ -36450,6 +36456,7 @@ class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceS
|
|
|
36450
36456
|
associatedPublicIp: 'AssociatedPublicIp',
|
|
36451
36457
|
attachment: 'Attachment',
|
|
36452
36458
|
creationTime: 'CreationTime',
|
|
36459
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
36453
36460
|
description: 'Description',
|
|
36454
36461
|
instanceId: 'InstanceId',
|
|
36455
36462
|
ipv4PrefixSets: 'Ipv4PrefixSets',
|
|
@@ -36481,6 +36488,7 @@ class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceS
|
|
|
36481
36488
|
associatedPublicIp: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp,
|
|
36482
36489
|
attachment: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment,
|
|
36483
36490
|
creationTime: 'string',
|
|
36491
|
+
deleteOnRelease: 'boolean',
|
|
36484
36492
|
description: 'string',
|
|
36485
36493
|
instanceId: 'string',
|
|
36486
36494
|
ipv4PrefixSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets,
|
|
@@ -41403,11 +41411,13 @@ class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
41403
41411
|
}
|
|
41404
41412
|
static names() {
|
|
41405
41413
|
return {
|
|
41414
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
41406
41415
|
description: 'Description',
|
|
41407
41416
|
instanceType: 'InstanceType',
|
|
41408
41417
|
ipv6Address: 'Ipv6Address',
|
|
41409
41418
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
41410
41419
|
networkCardIndex: 'NetworkCardIndex',
|
|
41420
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
41411
41421
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
41412
41422
|
networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
|
|
41413
41423
|
primaryIpAddress: 'PrimaryIpAddress',
|
|
@@ -41420,11 +41430,13 @@ class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
41420
41430
|
}
|
|
41421
41431
|
static types() {
|
|
41422
41432
|
return {
|
|
41433
|
+
deleteOnRelease: 'boolean',
|
|
41423
41434
|
description: 'string',
|
|
41424
41435
|
instanceType: 'string',
|
|
41425
41436
|
ipv6Address: { 'type': 'array', 'itemType': 'string' },
|
|
41426
41437
|
ipv6AddressCount: 'number',
|
|
41427
41438
|
networkCardIndex: 'number',
|
|
41439
|
+
networkInterfaceId: 'string',
|
|
41428
41440
|
networkInterfaceName: 'string',
|
|
41429
41441
|
networkInterfaceTrafficMode: 'string',
|
|
41430
41442
|
primaryIpAddress: 'string',
|
|
@@ -46175,6 +46187,9 @@ class Client extends openapi_client_1.default {
|
|
|
46175
46187
|
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
46176
46188
|
query["ClientToken"] = request.clientToken;
|
|
46177
46189
|
}
|
|
46190
|
+
if (!tea_util_1.default.isUnset(request.deleteOnRelease)) {
|
|
46191
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
46192
|
+
}
|
|
46178
46193
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
46179
46194
|
query["Description"] = request.description;
|
|
46180
46195
|
}
|
|
@@ -61694,6 +61709,9 @@ class Client extends openapi_client_1.default {
|
|
|
61694
61709
|
async modifyNetworkInterfaceAttributeWithOptions(request, runtime) {
|
|
61695
61710
|
tea_util_1.default.validateModel(request);
|
|
61696
61711
|
let query = {};
|
|
61712
|
+
if (!tea_util_1.default.isUnset(request.deleteOnRelease)) {
|
|
61713
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
61714
|
+
}
|
|
61697
61715
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
61698
61716
|
query["Description"] = request.description;
|
|
61699
61717
|
}
|