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