@alicloud/ecs20140526 3.0.8 → 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 +7 -0
- package/dist/client.js +23 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +33 -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,
|
|
@@ -19519,6 +19525,7 @@ export class DescribeSecurityGroupsResponse extends $tea.Model {
|
|
|
19519
19525
|
|
|
19520
19526
|
export class DescribeSendFileResultsRequest extends $tea.Model {
|
|
19521
19527
|
instanceId?: string;
|
|
19528
|
+
invocationStatus?: string;
|
|
19522
19529
|
invokeId?: string;
|
|
19523
19530
|
name?: string;
|
|
19524
19531
|
ownerAccount?: string;
|
|
@@ -19533,6 +19540,7 @@ export class DescribeSendFileResultsRequest extends $tea.Model {
|
|
|
19533
19540
|
static names(): { [key: string]: string } {
|
|
19534
19541
|
return {
|
|
19535
19542
|
instanceId: 'InstanceId',
|
|
19543
|
+
invocationStatus: 'InvocationStatus',
|
|
19536
19544
|
invokeId: 'InvokeId',
|
|
19537
19545
|
name: 'Name',
|
|
19538
19546
|
ownerAccount: 'OwnerAccount',
|
|
@@ -19550,6 +19558,7 @@ export class DescribeSendFileResultsRequest extends $tea.Model {
|
|
|
19550
19558
|
static types(): { [key: string]: any } {
|
|
19551
19559
|
return {
|
|
19552
19560
|
instanceId: 'string',
|
|
19561
|
+
invocationStatus: 'string',
|
|
19553
19562
|
invokeId: 'string',
|
|
19554
19563
|
name: 'string',
|
|
19555
19564
|
ownerAccount: 'string',
|
|
@@ -27784,6 +27793,7 @@ export class ModifyManagedInstanceResponse extends $tea.Model {
|
|
|
27784
27793
|
}
|
|
27785
27794
|
|
|
27786
27795
|
export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
27796
|
+
deleteOnRelease?: boolean;
|
|
27787
27797
|
description?: string;
|
|
27788
27798
|
networkInterfaceId?: string;
|
|
27789
27799
|
networkInterfaceName?: string;
|
|
@@ -27796,6 +27806,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
27796
27806
|
securityGroupId?: string[];
|
|
27797
27807
|
static names(): { [key: string]: string } {
|
|
27798
27808
|
return {
|
|
27809
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
27799
27810
|
description: 'Description',
|
|
27800
27811
|
networkInterfaceId: 'NetworkInterfaceId',
|
|
27801
27812
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
@@ -27811,6 +27822,7 @@ export class ModifyNetworkInterfaceAttributeRequest extends $tea.Model {
|
|
|
27811
27822
|
|
|
27812
27823
|
static types(): { [key: string]: any } {
|
|
27813
27824
|
return {
|
|
27825
|
+
deleteOnRelease: 'boolean',
|
|
27814
27826
|
description: 'string',
|
|
27815
27827
|
networkInterfaceId: 'string',
|
|
27816
27828
|
networkInterfaceName: 'string',
|
|
@@ -47032,6 +47044,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47032
47044
|
associatedPublicIp?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp;
|
|
47033
47045
|
attachment?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment;
|
|
47034
47046
|
creationTime?: string;
|
|
47047
|
+
deleteOnRelease?: boolean;
|
|
47035
47048
|
description?: string;
|
|
47036
47049
|
instanceId?: string;
|
|
47037
47050
|
ipv4PrefixSets?: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets;
|
|
@@ -47061,6 +47074,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47061
47074
|
associatedPublicIp: 'AssociatedPublicIp',
|
|
47062
47075
|
attachment: 'Attachment',
|
|
47063
47076
|
creationTime: 'CreationTime',
|
|
47077
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
47064
47078
|
description: 'Description',
|
|
47065
47079
|
instanceId: 'InstanceId',
|
|
47066
47080
|
ipv4PrefixSets: 'Ipv4PrefixSets',
|
|
@@ -47093,6 +47107,7 @@ export class DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInt
|
|
|
47093
47107
|
associatedPublicIp: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAssociatedPublicIp,
|
|
47094
47108
|
attachment: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetAttachment,
|
|
47095
47109
|
creationTime: 'string',
|
|
47110
|
+
deleteOnRelease: 'boolean',
|
|
47096
47111
|
description: 'string',
|
|
47097
47112
|
instanceId: 'string',
|
|
47098
47113
|
ipv4PrefixSets: DescribeNetworkInterfacesResponseBodyNetworkInterfaceSetsNetworkInterfaceSetIpv4PrefixSets,
|
|
@@ -53273,11 +53288,13 @@ export class RunInstancesRequestImageOptions extends $tea.Model {
|
|
|
53273
53288
|
}
|
|
53274
53289
|
|
|
53275
53290
|
export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
53291
|
+
deleteOnRelease?: boolean;
|
|
53276
53292
|
description?: string;
|
|
53277
53293
|
instanceType?: string;
|
|
53278
53294
|
ipv6Address?: string[];
|
|
53279
53295
|
ipv6AddressCount?: number;
|
|
53280
53296
|
networkCardIndex?: number;
|
|
53297
|
+
networkInterfaceId?: string;
|
|
53281
53298
|
networkInterfaceName?: string;
|
|
53282
53299
|
networkInterfaceTrafficMode?: string;
|
|
53283
53300
|
primaryIpAddress?: string;
|
|
@@ -53288,11 +53305,13 @@ export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
53288
53305
|
vSwitchId?: string;
|
|
53289
53306
|
static names(): { [key: string]: string } {
|
|
53290
53307
|
return {
|
|
53308
|
+
deleteOnRelease: 'DeleteOnRelease',
|
|
53291
53309
|
description: 'Description',
|
|
53292
53310
|
instanceType: 'InstanceType',
|
|
53293
53311
|
ipv6Address: 'Ipv6Address',
|
|
53294
53312
|
ipv6AddressCount: 'Ipv6AddressCount',
|
|
53295
53313
|
networkCardIndex: 'NetworkCardIndex',
|
|
53314
|
+
networkInterfaceId: 'NetworkInterfaceId',
|
|
53296
53315
|
networkInterfaceName: 'NetworkInterfaceName',
|
|
53297
53316
|
networkInterfaceTrafficMode: 'NetworkInterfaceTrafficMode',
|
|
53298
53317
|
primaryIpAddress: 'PrimaryIpAddress',
|
|
@@ -53306,11 +53325,13 @@ export class RunInstancesRequestNetworkInterface extends $tea.Model {
|
|
|
53306
53325
|
|
|
53307
53326
|
static types(): { [key: string]: any } {
|
|
53308
53327
|
return {
|
|
53328
|
+
deleteOnRelease: 'boolean',
|
|
53309
53329
|
description: 'string',
|
|
53310
53330
|
instanceType: 'string',
|
|
53311
53331
|
ipv6Address: { 'type': 'array', 'itemType': 'string' },
|
|
53312
53332
|
ipv6AddressCount: 'number',
|
|
53313
53333
|
networkCardIndex: 'number',
|
|
53334
|
+
networkInterfaceId: 'string',
|
|
53314
53335
|
networkInterfaceName: 'string',
|
|
53315
53336
|
networkInterfaceTrafficMode: 'string',
|
|
53316
53337
|
primaryIpAddress: 'string',
|
|
@@ -58954,6 +58975,10 @@ export default class Client extends OpenApi {
|
|
|
58954
58975
|
query["ClientToken"] = request.clientToken;
|
|
58955
58976
|
}
|
|
58956
58977
|
|
|
58978
|
+
if (!Util.isUnset(request.deleteOnRelease)) {
|
|
58979
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
58980
|
+
}
|
|
58981
|
+
|
|
58957
58982
|
if (!Util.isUnset(request.description)) {
|
|
58958
58983
|
query["Description"] = request.description;
|
|
58959
58984
|
}
|
|
@@ -70191,6 +70216,10 @@ export default class Client extends OpenApi {
|
|
|
70191
70216
|
query["InstanceId"] = request.instanceId;
|
|
70192
70217
|
}
|
|
70193
70218
|
|
|
70219
|
+
if (!Util.isUnset(request.invocationStatus)) {
|
|
70220
|
+
query["InvocationStatus"] = request.invocationStatus;
|
|
70221
|
+
}
|
|
70222
|
+
|
|
70194
70223
|
if (!Util.isUnset(request.invokeId)) {
|
|
70195
70224
|
query["InvokeId"] = request.invokeId;
|
|
70196
70225
|
}
|
|
@@ -77309,6 +77338,10 @@ export default class Client extends OpenApi {
|
|
|
77309
77338
|
async modifyNetworkInterfaceAttributeWithOptions(request: ModifyNetworkInterfaceAttributeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNetworkInterfaceAttributeResponse> {
|
|
77310
77339
|
Util.validateModel(request);
|
|
77311
77340
|
let query = { };
|
|
77341
|
+
if (!Util.isUnset(request.deleteOnRelease)) {
|
|
77342
|
+
query["DeleteOnRelease"] = request.deleteOnRelease;
|
|
77343
|
+
}
|
|
77344
|
+
|
|
77312
77345
|
if (!Util.isUnset(request.description)) {
|
|
77313
77346
|
query["Description"] = request.description;
|
|
77314
77347
|
}
|