@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -5414,6 +5414,7 @@ export class CreateNatGatewayResponse extends $tea.Model {
|
|
|
5414
5414
|
export class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
5415
5415
|
businessType?: string;
|
|
5416
5416
|
clientToken?: string;
|
|
5417
|
+
deleteOnRelease?: boolean;
|
|
5417
5418
|
description?: string;
|
|
5418
5419
|
instanceType?: string;
|
|
5419
5420
|
ipv4Prefix?: string[];
|
|
@@ -5444,6 +5445,7 @@ export class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
5444
5445
|
return {
|
|
5445
5446
|
businessType: 'BusinessType',
|
|
5446
5447
|
clientToken: 'ClientToken',
|
|
5448
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
5447
5449
|
description: 'Description',
|
|
5448
5450
|
instanceType: 'InstanceType',
|
|
5449
5451
|
ipv4Prefix: 'Ipv4Prefix',
|
|
@@ -5477,6 +5479,7 @@ export class CreateNetworkInterfaceRequest extends $tea.Model {
|
|
|
5477
5479
|
return {
|
|
5478
5480
|
businessType: 'string',
|
|
5479
5481
|
clientToken: 'string',
|
|
5482
|
+
deleteOnRelease: 'boolean',
|
|
5480
5483
|
description: 'string',
|
|
5481
5484
|
instanceType: 'string',
|
|
5482
5485
|
ipv4Prefix: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -17282,6 +17285,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
17282
17285
|
attachment?: DescribeNetworkInterfaceAttributeResponseBodyAttachment;
|
|
17283
17286
|
bondInterfaceSpecification?: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification;
|
|
17284
17287
|
creationTime?: string;
|
|
17288
|
+
deleteOnRelease?: boolean;
|
|
17285
17289
|
description?: string;
|
|
17286
17290
|
instanceId?: string;
|
|
17287
17291
|
ipv4PrefixSets?: DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSets;
|
|
@@ -17314,6 +17318,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
17314
17318
|
attachment: 'Attachment',
|
|
17315
17319
|
bondInterfaceSpecification: 'BondInterfaceSpecification',
|
|
17316
17320
|
creationTime: 'CreationTime',
|
|
17321
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
17317
17322
|
description: 'Description',
|
|
17318
17323
|
instanceId: 'InstanceId',
|
|
17319
17324
|
ipv4PrefixSets: 'Ipv4PrefixSets',
|
|
@@ -17349,6 +17354,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $tea.Model {
|
|
|
17349
17354
|
attachment: DescribeNetworkInterfaceAttributeResponseBodyAttachment,
|
|
17350
17355
|
bondInterfaceSpecification: DescribeNetworkInterfaceAttributeResponseBodyBondInterfaceSpecification,
|
|
17351
17356
|
creationTime: 'string',
|
|
17357
|
+
deleteOnRelease: 'boolean',
|
|
17352
17358
|
description: 'string',
|
|
17353
17359
|
instanceId: 'string',
|
|
17354
17360
|
ipv4PrefixSets: DescribeNetworkInterfaceAttributeResponseBodyIpv4PrefixSets,
|
|
@@ -27787,6 +27793,7 @@ export class ModifyManagedInstanceResponse extends $tea.Model {
|
|
|
27787
27793
|
}
|
|
27788
27794
|
|
|
27789
27795
|
export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
27796
|
+
deleteOnRelease?: boolean;
|
|
27790
27797
|
description?: string;
|
|
27791
27798
|
networkInterfaceId?: string;
|
|
27792
27799
|
networkInterfaceName?: string;
|
|
@@ -27799,6 +27806,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
27799
27806
|
securityGroupId?: string[];
|
|
27800
27807
|
static names(): { [key: string]: string } {
|
|
27801
27808
|
return {
|
|
27809
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
27802
27810
|
description: 'Description',
|
|
27803
27811
|
networkInterfaceId: 'NetworkInterfaceId',
|
|
27804
27812
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
@@ -27814,6 +27822,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
27814
27822
|
|
|
27815
27823
|
static types(): { [key: string]: any } {
|
|
27816
27824
|
return {
|
|
27825
|
+
deleteOnRelease: 'boolean',
|
|
27817
27826
|
description: 'string',
|
|
27818
27827
|
networkInterfaceId: 'string',
|
|
27819
27828
|
networkInterfaceName: 'string',
|
|
@@ -47035,6 +47044,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47035
47044
|
associatedPublicIp?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp;
|
|
47036
47045
|
attachment?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment;
|
|
47037
47046
|
creationTime?: string;
|
|
47047
|
+
deleteOnRelease?: boolean;
|
|
47038
47048
|
description?: string;
|
|
47039
47049
|
instanceId?: string;
|
|
47040
47050
|
ipv4PrefixSets?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets;
|
|
@@ -47064,6 +47074,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47064
47074
|
associatedPublicIp: 'AssociatedPublicIp',
|
|
47065
47075
|
attachment: 'Attachment',
|
|
47066
47076
|
creationTime: 'CreationTime',
|
|
47077
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
47067
47078
|
description: 'Description',
|
|
47068
47079
|
instanceId: 'InstanceId',
|
|
47069
47080
|
ipv4PrefixSets: 'Ipv4PrefixSets',
|
|
@@ -47096,6 +47107,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47096
47107
|
associatedPublicIp: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp,
|
|
47097
47108
|
attachment: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment,
|
|
47098
47109
|
creationTime: 'string',
|
|
47110
|
+
deleteOnRelease: 'boolean',
|
|
47099
47111
|
description: 'string',
|
|
47100
47112
|
instanceId: 'string',
|
|
47101
47113
|
ipv4PrefixSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets,
|
|
@@ -53276,11 +53288,13 @@ export class RunInstancesRequestImageOptions extends $tea.Model {
|
|
|
53276
53288
|
}
|
|
53277
53289
|
|
|
53278
53290
|
export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
53291
|
+
deleteOnRelease?: boolean;
|
|
53279
53292
|
description?: string;
|
|
53280
53293
|
instanceType?: string;
|
|
53281
53294
|
ipv6Address?: string[];
|
|
53282
53295
|
ipv6AddressCount?: number;
|
|
53283
53296
|
networkCardIndex?: number;
|
|
53297
|
+
networkInterfaceId?: string;
|
|
53284
53298
|
networkInterfaceName?: string;
|
|
53285
53299
|
networkInterfaceTrafficMode?: string;
|
|
53286
53300
|
primaryIpAddress?: string;
|
|
@@ -53291,11 +53305,13 @@ export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
53291
53305
|
vSwitchId?: string;
|
|
53292
53306
|
static names(): { [key: string]: string } {
|
|
53293
53307
|
return {
|
|
53308
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
53294
53309
|
description: 'Description',
|
|
53295
53310
|
instanceType: 'InstanceType',
|
|
53296
53311
|
ipv6Address: 'Ipv6Address',
|
|
53297
53312
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
53298
53313
|
networkCardIndex: 'NetworkCardIndex',
|
|
53314
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
53299
53315
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
53300
53316
|
networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
|
|
53301
53317
|
primaryIpAddress: 'PrimaryIpAddress',
|
|
@@ -53309,11 +53325,13 @@ export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
53309
53325
|
|
|
53310
53326
|
static types(): { [key: string]: any } {
|
|
53311
53327
|
return {
|
|
53328
|
+
deleteOnRelease: 'boolean',
|
|
53312
53329
|
description: 'string',
|
|
53313
53330
|
instanceType: 'string',
|
|
53314
53331
|
ipv6Address: { 'type': 'array', 'itemType': 'string' },
|
|
53315
53332
|
ipv6AddressCount: 'number',
|
|
53316
53333
|
networkCardIndex: 'number',
|
|
53334
|
+
networkInterfaceId: 'string',
|
|
53317
53335
|
networkInterfaceName: 'string',
|
|
53318
53336
|
networkInterfaceTrafficMode: 'string',
|
|
53319
53337
|
primaryIpAddress: 'string',
|
|
@@ -58957,6 +58975,10 @@ export default class Client extends OpenApi {
|
|
|
58957
58975
|
query["ClientToken"] = request.clientToken;
|
|
58958
58976
|
}
|
|
58959
58977
|
|
|
58978
|
+
if (!Util.isUnset(request.deleteOnRelease)) {
|
|
58979
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
58980
|
+
}
|
|
58981
|
+
|
|
58960
58982
|
if (!Util.isUnset(request.description)) {
|
|
58961
58983
|
query["Description"] = request.description;
|
|
58962
58984
|
}
|
|
@@ -77316,6 +77338,10 @@ export default class Client extends OpenApi {
|
|
|
77316
77338
|
async modifyNetworkInterfaceAttributeWithOptions(request: ModifyNetworkInterfaceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNetworkInterfaceAttributeResponse> {
|
|
77317
77339
|
Util.validateModel(request);
|
|
77318
77340
|
let query = { };
|
|
77341
|
+
if (!Util.isUnset(request.deleteOnRelease)) {
|
|
77342
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
77343
|
+
}
|
|
77344
|
+
|
|
77319
77345
|
if (!Util.isUnset(request.description)) {
|
|
77320
77346
|
query["Description"] = request.description;
|
|
77321
77347
|
}
|