@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5066,10 +5066,12 @@ export class CreateLaunchTemplateRequest extends $tea.Model {
|
|
|
5066
5066
|
|
|
5067
5067
|
export class CreateLaunchTemplateResponseBody extends $tea.Model {
|
|
5068
5068
|
launchTemplateId?: string;
|
|
5069
|
+
launchTemplateVersionNumber?: number;
|
|
5069
5070
|
requestId?: string;
|
|
5070
5071
|
static names(): { [key: string]: string } {
|
|
5071
5072
|
return {
|
|
5072
5073
|
launchTemplateId: 'LaunchTemplateId',
|
|
5074
|
+
launchTemplateVersionNumber: 'LaunchTemplateVersionNumber',
|
|
5073
5075
|
requestId: 'RequestId',
|
|
5074
5076
|
};
|
|
5075
5077
|
}
|
|
@@ -5077,6 +5079,7 @@ export class CreateLaunchTemplateResponseBody extends $tea.Model {
|
|
|
5077
5079
|
static types(): { [key: string]: any } {
|
|
5078
5080
|
return {
|
|
5079
5081
|
launchTemplateId: 'string',
|
|
5082
|
+
launchTemplateVersionNumber: 'number',
|
|
5080
5083
|
requestId: 'string',
|
|
5081
5084
|
};
|
|
5082
5085
|
}
|
|
@@ -5414,6 +5417,7 @@ export class CreateNatGatewayResponse extends $tea.Model {
|
|
|
5414
5417
|
export class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
5415
5418
|
businessType?: string;
|
|
5416
5419
|
clientToken?: string;
|
|
5420
|
+
deleteOnRelease?: boolean;
|
|
5417
5421
|
description?: string;
|
|
5418
5422
|
instanceType?: string;
|
|
5419
5423
|
ipv4Prefix?: string[];
|
|
@@ -5444,6 +5448,7 @@ export class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
5444
5448
|
return {
|
|
5445
5449
|
businessType: 'BusinessType',
|
|
5446
5450
|
clientToken: 'ClientToken',
|
|
5451
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
5447
5452
|
description: 'Description',
|
|
5448
5453
|
instanceType: 'InstanceType',
|
|
5449
5454
|
ipv4Prefix: 'Ipv4Prefix',
|
|
@@ -5477,6 +5482,7 @@ export class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
5477
5482
|
return {
|
|
5478
5483
|
businessType: 'string',
|
|
5479
5484
|
clientToken: 'string',
|
|
5485
|
+
deleteOnRelease: 'boolean',
|
|
5480
5486
|
description: 'string',
|
|
5481
5487
|
instanceType: 'string',
|
|
5482
5488
|
ipv4Prefix: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -17282,6 +17288,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
17282
17288
|
attachment?: DescribeNetworkInterfaceAttributeResponseBodyAttachment;
|
|
17283
17289
|
bondInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification;
|
|
17284
17290
|
creationTime?: string;
|
|
17291
|
+
deleteOnRelease?: boolean;
|
|
17285
17292
|
description?: string;
|
|
17286
17293
|
instanceId?: string;
|
|
17287
17294
|
ipv4PrefixSets?: DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSets;
|
|
@@ -17314,6 +17321,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
17314
17321
|
attachment: 'Attachment',
|
|
17315
17322
|
bondInterfaceSpecification: 'BondInterfaceSpecification',
|
|
17316
17323
|
creationTime: 'CreationTime',
|
|
17324
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
17317
17325
|
description: 'Description',
|
|
17318
17326
|
instanceId: 'InstanceId',
|
|
17319
17327
|
ipv4PrefixSets: 'Ipv4PrefixSets',
|
|
@@ -17349,6 +17357,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
17349
17357
|
attachment: DescribeNetworkInterfaceAttributeResponseBodyAttachment,
|
|
17350
17358
|
bondInterfaceSpecification: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification,
|
|
17351
17359
|
creationTime: 'string',
|
|
17360
|
+
deleteOnRelease: 'boolean',
|
|
17352
17361
|
description: 'string',
|
|
17353
17362
|
instanceId: 'string',
|
|
17354
17363
|
ipv4PrefixSets: DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSets,
|
|
@@ -27787,6 +27796,7 @@ export class ModifyManagedInstanceResponse extends $tea.Model {
|
|
|
27787
27796
|
}
|
|
27788
27797
|
|
|
27789
27798
|
export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
27799
|
+
deleteOnRelease?: boolean;
|
|
27790
27800
|
description?: string;
|
|
27791
27801
|
networkInterfaceId?: string;
|
|
27792
27802
|
networkInterfaceName?: string;
|
|
@@ -27799,6 +27809,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
27799
27809
|
securityGroupId?: string[];
|
|
27800
27810
|
static names(): { [key: string]: string } {
|
|
27801
27811
|
return {
|
|
27812
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
27802
27813
|
description: 'Description',
|
|
27803
27814
|
networkInterfaceId: 'NetworkInterfaceId',
|
|
27804
27815
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
@@ -27814,6 +27825,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
27814
27825
|
|
|
27815
27826
|
static types(): { [key: string]: any } {
|
|
27816
27827
|
return {
|
|
27828
|
+
deleteOnRelease: 'boolean',
|
|
27817
27829
|
description: 'string',
|
|
27818
27830
|
networkInterfaceId: 'string',
|
|
27819
27831
|
networkInterfaceName: 'string',
|
|
@@ -47035,6 +47047,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47035
47047
|
associatedPublicIp?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp;
|
|
47036
47048
|
attachment?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment;
|
|
47037
47049
|
creationTime?: string;
|
|
47050
|
+
deleteOnRelease?: boolean;
|
|
47038
47051
|
description?: string;
|
|
47039
47052
|
instanceId?: string;
|
|
47040
47053
|
ipv4PrefixSets?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets;
|
|
@@ -47064,6 +47077,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47064
47077
|
associatedPublicIp: 'AssociatedPublicIp',
|
|
47065
47078
|
attachment: 'Attachment',
|
|
47066
47079
|
creationTime: 'CreationTime',
|
|
47080
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
47067
47081
|
description: 'Description',
|
|
47068
47082
|
instanceId: 'InstanceId',
|
|
47069
47083
|
ipv4PrefixSets: 'Ipv4PrefixSets',
|
|
@@ -47096,6 +47110,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47096
47110
|
associatedPublicIp: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp,
|
|
47097
47111
|
attachment: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment,
|
|
47098
47112
|
creationTime: 'string',
|
|
47113
|
+
deleteOnRelease: 'boolean',
|
|
47099
47114
|
description: 'string',
|
|
47100
47115
|
instanceId: 'string',
|
|
47101
47116
|
ipv4PrefixSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets,
|
|
@@ -53276,11 +53291,13 @@ export class RunInstancesRequestImageOptions extends $tea.Model {
|
|
|
53276
53291
|
}
|
|
53277
53292
|
|
|
53278
53293
|
export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
53294
|
+
deleteOnRelease?: boolean;
|
|
53279
53295
|
description?: string;
|
|
53280
53296
|
instanceType?: string;
|
|
53281
53297
|
ipv6Address?: string[];
|
|
53282
53298
|
ipv6AddressCount?: number;
|
|
53283
53299
|
networkCardIndex?: number;
|
|
53300
|
+
networkInterfaceId?: string;
|
|
53284
53301
|
networkInterfaceName?: string;
|
|
53285
53302
|
networkInterfaceTrafficMode?: string;
|
|
53286
53303
|
primaryIpAddress?: string;
|
|
@@ -53291,11 +53308,13 @@ export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
53291
53308
|
vSwitchId?: string;
|
|
53292
53309
|
static names(): { [key: string]: string } {
|
|
53293
53310
|
return {
|
|
53311
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
53294
53312
|
description: 'Description',
|
|
53295
53313
|
instanceType: 'InstanceType',
|
|
53296
53314
|
ipv6Address: 'Ipv6Address',
|
|
53297
53315
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
53298
53316
|
networkCardIndex: 'NetworkCardIndex',
|
|
53317
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
53299
53318
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
53300
53319
|
networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
|
|
53301
53320
|
primaryIpAddress: 'PrimaryIpAddress',
|
|
@@ -53309,11 +53328,13 @@ export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
53309
53328
|
|
|
53310
53329
|
static types(): { [key: string]: any } {
|
|
53311
53330
|
return {
|
|
53331
|
+
deleteOnRelease: 'boolean',
|
|
53312
53332
|
description: 'string',
|
|
53313
53333
|
instanceType: 'string',
|
|
53314
53334
|
ipv6Address: { 'type': 'array', 'itemType': 'string' },
|
|
53315
53335
|
ipv6AddressCount: 'number',
|
|
53316
53336
|
networkCardIndex: 'number',
|
|
53337
|
+
networkInterfaceId: 'string',
|
|
53317
53338
|
networkInterfaceName: 'string',
|
|
53318
53339
|
networkInterfaceTrafficMode: 'string',
|
|
53319
53340
|
primaryIpAddress: 'string',
|
|
@@ -58957,6 +58978,10 @@ export default class Client extends OpenApi {
|
|
|
58957
58978
|
query["ClientToken"] = request.clientToken;
|
|
58958
58979
|
}
|
|
58959
58980
|
|
|
58981
|
+
if (!Util.isUnset(request.deleteOnRelease)) {
|
|
58982
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
58983
|
+
}
|
|
58984
|
+
|
|
58960
58985
|
if (!Util.isUnset(request.description)) {
|
|
58961
58986
|
query["Description"] = request.description;
|
|
58962
58987
|
}
|
|
@@ -77316,6 +77341,10 @@ export default class Client extends OpenApi {
|
|
|
77316
77341
|
async modifyNetworkInterfaceAttributeWithOptions(request: ModifyNetworkInterfaceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNetworkInterfaceAttributeResponse> {
|
|
77317
77342
|
Util.validateModel(request);
|
|
77318
77343
|
let query = { };
|
|
77344
|
+
if (!Util.isUnset(request.deleteOnRelease)) {
|
|
77345
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
77346
|
+
}
|
|
77347
|
+
|
|
77319
77348
|
if (!Util.isUnset(request.description)) {
|
|
77320
77349
|
query["Description"] = request.description;
|
|
77321
77350
|
}
|