@alicloud/vpc20160428 2.0.3 → 2.0.6
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 +141 -66
- package/dist/client.js +291 -152
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +355 -186
package/dist/client.js
CHANGED
|
@@ -11759,6 +11759,7 @@ class DescribeNatGatewaysRequest extends $tea.Model {
|
|
|
11759
11759
|
resourceOwnerId: 'ResourceOwnerId',
|
|
11760
11760
|
spec: 'Spec',
|
|
11761
11761
|
status: 'Status',
|
|
11762
|
+
tag: 'Tag',
|
|
11762
11763
|
vpcId: 'VpcId',
|
|
11763
11764
|
zoneId: 'ZoneId',
|
|
11764
11765
|
};
|
|
@@ -11781,6 +11782,7 @@ class DescribeNatGatewaysRequest extends $tea.Model {
|
|
|
11781
11782
|
resourceOwnerId: 'number',
|
|
11782
11783
|
spec: 'string',
|
|
11783
11784
|
status: 'string',
|
|
11785
|
+
tag: { 'type': 'array', 'itemType': DescribeNatGatewaysRequestTag },
|
|
11784
11786
|
vpcId: 'string',
|
|
11785
11787
|
zoneId: 'string',
|
|
11786
11788
|
};
|
|
@@ -12156,7 +12158,6 @@ class DescribePublicIpAddressResponseBody extends $tea.Model {
|
|
|
12156
12158
|
static names() {
|
|
12157
12159
|
return {
|
|
12158
12160
|
code: 'Code',
|
|
12159
|
-
ipRange: 'IpRange',
|
|
12160
12161
|
message: 'Message',
|
|
12161
12162
|
pageNumber: 'PageNumber',
|
|
12162
12163
|
pageSize: 'PageSize',
|
|
@@ -12170,11 +12171,10 @@ class DescribePublicIpAddressResponseBody extends $tea.Model {
|
|
|
12170
12171
|
static types() {
|
|
12171
12172
|
return {
|
|
12172
12173
|
code: 'string',
|
|
12173
|
-
ipRange: DescribePublicIpAddressResponseBodyIpRange,
|
|
12174
12174
|
message: 'string',
|
|
12175
12175
|
pageNumber: 'number',
|
|
12176
12176
|
pageSize: 'number',
|
|
12177
|
-
publicIpAddress: 'string',
|
|
12177
|
+
publicIpAddress: { 'type': 'array', 'itemType': 'string' },
|
|
12178
12178
|
regionId: 'string',
|
|
12179
12179
|
requestId: 'string',
|
|
12180
12180
|
success: 'boolean',
|
|
@@ -15499,6 +15499,70 @@ class GetDhcpOptionsSetResponse extends $tea.Model {
|
|
|
15499
15499
|
}
|
|
15500
15500
|
}
|
|
15501
15501
|
exports.GetDhcpOptionsSetResponse = GetDhcpOptionsSetResponse;
|
|
15502
|
+
class GetFlowLogServiceStatusRequest extends $tea.Model {
|
|
15503
|
+
constructor(map) {
|
|
15504
|
+
super(map);
|
|
15505
|
+
}
|
|
15506
|
+
static names() {
|
|
15507
|
+
return {
|
|
15508
|
+
clientToken: 'ClientToken',
|
|
15509
|
+
ownerAccount: 'OwnerAccount',
|
|
15510
|
+
ownerId: 'OwnerId',
|
|
15511
|
+
regionId: 'RegionId',
|
|
15512
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
15513
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
15514
|
+
};
|
|
15515
|
+
}
|
|
15516
|
+
static types() {
|
|
15517
|
+
return {
|
|
15518
|
+
clientToken: 'string',
|
|
15519
|
+
ownerAccount: 'string',
|
|
15520
|
+
ownerId: 'number',
|
|
15521
|
+
regionId: 'string',
|
|
15522
|
+
resourceOwnerAccount: 'string',
|
|
15523
|
+
resourceOwnerId: 'number',
|
|
15524
|
+
};
|
|
15525
|
+
}
|
|
15526
|
+
}
|
|
15527
|
+
exports.GetFlowLogServiceStatusRequest = GetFlowLogServiceStatusRequest;
|
|
15528
|
+
class GetFlowLogServiceStatusResponseBody extends $tea.Model {
|
|
15529
|
+
constructor(map) {
|
|
15530
|
+
super(map);
|
|
15531
|
+
}
|
|
15532
|
+
static names() {
|
|
15533
|
+
return {
|
|
15534
|
+
enabled: 'Enabled',
|
|
15535
|
+
requestId: 'RequestId',
|
|
15536
|
+
};
|
|
15537
|
+
}
|
|
15538
|
+
static types() {
|
|
15539
|
+
return {
|
|
15540
|
+
enabled: 'boolean',
|
|
15541
|
+
requestId: 'string',
|
|
15542
|
+
};
|
|
15543
|
+
}
|
|
15544
|
+
}
|
|
15545
|
+
exports.GetFlowLogServiceStatusResponseBody = GetFlowLogServiceStatusResponseBody;
|
|
15546
|
+
class GetFlowLogServiceStatusResponse extends $tea.Model {
|
|
15547
|
+
constructor(map) {
|
|
15548
|
+
super(map);
|
|
15549
|
+
}
|
|
15550
|
+
static names() {
|
|
15551
|
+
return {
|
|
15552
|
+
headers: 'headers',
|
|
15553
|
+
statusCode: 'statusCode',
|
|
15554
|
+
body: 'body',
|
|
15555
|
+
};
|
|
15556
|
+
}
|
|
15557
|
+
static types() {
|
|
15558
|
+
return {
|
|
15559
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15560
|
+
statusCode: 'number',
|
|
15561
|
+
body: GetFlowLogServiceStatusResponseBody,
|
|
15562
|
+
};
|
|
15563
|
+
}
|
|
15564
|
+
}
|
|
15565
|
+
exports.GetFlowLogServiceStatusResponse = GetFlowLogServiceStatusResponse;
|
|
15502
15566
|
class GetIpv4GatewayAttributeRequest extends $tea.Model {
|
|
15503
15567
|
constructor(map) {
|
|
15504
15568
|
super(map);
|
|
@@ -17759,78 +17823,6 @@ class ModifyCommonBandwidthPackageAttributeResponse extends $tea.Model {
|
|
|
17759
17823
|
}
|
|
17760
17824
|
}
|
|
17761
17825
|
exports.ModifyCommonBandwidthPackageAttributeResponse = ModifyCommonBandwidthPackageAttributeResponse;
|
|
17762
|
-
class ModifyCommonBandwidthPackageInternetChargeTypeRequest extends $tea.Model {
|
|
17763
|
-
constructor(map) {
|
|
17764
|
-
super(map);
|
|
17765
|
-
}
|
|
17766
|
-
static names() {
|
|
17767
|
-
return {
|
|
17768
|
-
autoPay: 'AutoPay',
|
|
17769
|
-
bandwidth: 'Bandwidth',
|
|
17770
|
-
bandwidthPackageId: 'BandwidthPackageId',
|
|
17771
|
-
instanceChargeType: 'InstanceChargeType',
|
|
17772
|
-
internetChargeType: 'InternetChargeType',
|
|
17773
|
-
ownerAccount: 'OwnerAccount',
|
|
17774
|
-
ownerId: 'OwnerId',
|
|
17775
|
-
ratio: 'Ratio',
|
|
17776
|
-
regionId: 'RegionId',
|
|
17777
|
-
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
17778
|
-
resourceOwnerId: 'ResourceOwnerId',
|
|
17779
|
-
};
|
|
17780
|
-
}
|
|
17781
|
-
static types() {
|
|
17782
|
-
return {
|
|
17783
|
-
autoPay: 'boolean',
|
|
17784
|
-
bandwidth: 'number',
|
|
17785
|
-
bandwidthPackageId: 'string',
|
|
17786
|
-
instanceChargeType: 'string',
|
|
17787
|
-
internetChargeType: 'string',
|
|
17788
|
-
ownerAccount: 'string',
|
|
17789
|
-
ownerId: 'number',
|
|
17790
|
-
ratio: 'number',
|
|
17791
|
-
regionId: 'string',
|
|
17792
|
-
resourceOwnerAccount: 'string',
|
|
17793
|
-
resourceOwnerId: 'number',
|
|
17794
|
-
};
|
|
17795
|
-
}
|
|
17796
|
-
}
|
|
17797
|
-
exports.ModifyCommonBandwidthPackageInternetChargeTypeRequest = ModifyCommonBandwidthPackageInternetChargeTypeRequest;
|
|
17798
|
-
class ModifyCommonBandwidthPackageInternetChargeTypeResponseBody extends $tea.Model {
|
|
17799
|
-
constructor(map) {
|
|
17800
|
-
super(map);
|
|
17801
|
-
}
|
|
17802
|
-
static names() {
|
|
17803
|
-
return {
|
|
17804
|
-
requestId: 'RequestId',
|
|
17805
|
-
};
|
|
17806
|
-
}
|
|
17807
|
-
static types() {
|
|
17808
|
-
return {
|
|
17809
|
-
requestId: 'string',
|
|
17810
|
-
};
|
|
17811
|
-
}
|
|
17812
|
-
}
|
|
17813
|
-
exports.ModifyCommonBandwidthPackageInternetChargeTypeResponseBody = ModifyCommonBandwidthPackageInternetChargeTypeResponseBody;
|
|
17814
|
-
class ModifyCommonBandwidthPackageInternetChargeTypeResponse extends $tea.Model {
|
|
17815
|
-
constructor(map) {
|
|
17816
|
-
super(map);
|
|
17817
|
-
}
|
|
17818
|
-
static names() {
|
|
17819
|
-
return {
|
|
17820
|
-
headers: 'headers',
|
|
17821
|
-
statusCode: 'statusCode',
|
|
17822
|
-
body: 'body',
|
|
17823
|
-
};
|
|
17824
|
-
}
|
|
17825
|
-
static types() {
|
|
17826
|
-
return {
|
|
17827
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
17828
|
-
statusCode: 'number',
|
|
17829
|
-
body: ModifyCommonBandwidthPackageInternetChargeTypeResponseBody,
|
|
17830
|
-
};
|
|
17831
|
-
}
|
|
17832
|
-
}
|
|
17833
|
-
exports.ModifyCommonBandwidthPackageInternetChargeTypeResponse = ModifyCommonBandwidthPackageInternetChargeTypeResponse;
|
|
17834
17826
|
class ModifyCommonBandwidthPackageIpBandwidthRequest extends $tea.Model {
|
|
17835
17827
|
constructor(map) {
|
|
17836
17828
|
super(map);
|
|
@@ -21275,6 +21267,72 @@ class MoveResourceGroupResponse extends $tea.Model {
|
|
|
21275
21267
|
}
|
|
21276
21268
|
}
|
|
21277
21269
|
exports.MoveResourceGroupResponse = MoveResourceGroupResponse;
|
|
21270
|
+
class OpenFlowLogServiceRequest extends $tea.Model {
|
|
21271
|
+
constructor(map) {
|
|
21272
|
+
super(map);
|
|
21273
|
+
}
|
|
21274
|
+
static names() {
|
|
21275
|
+
return {
|
|
21276
|
+
clientToken: 'ClientToken',
|
|
21277
|
+
ownerAccount: 'OwnerAccount',
|
|
21278
|
+
ownerId: 'OwnerId',
|
|
21279
|
+
regionId: 'RegionId',
|
|
21280
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
21281
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
21282
|
+
};
|
|
21283
|
+
}
|
|
21284
|
+
static types() {
|
|
21285
|
+
return {
|
|
21286
|
+
clientToken: 'string',
|
|
21287
|
+
ownerAccount: 'string',
|
|
21288
|
+
ownerId: 'number',
|
|
21289
|
+
regionId: 'string',
|
|
21290
|
+
resourceOwnerAccount: 'string',
|
|
21291
|
+
resourceOwnerId: 'number',
|
|
21292
|
+
};
|
|
21293
|
+
}
|
|
21294
|
+
}
|
|
21295
|
+
exports.OpenFlowLogServiceRequest = OpenFlowLogServiceRequest;
|
|
21296
|
+
class OpenFlowLogServiceResponseBody extends $tea.Model {
|
|
21297
|
+
constructor(map) {
|
|
21298
|
+
super(map);
|
|
21299
|
+
}
|
|
21300
|
+
static names() {
|
|
21301
|
+
return {
|
|
21302
|
+
code: 'Code',
|
|
21303
|
+
message: 'Message',
|
|
21304
|
+
requestId: 'RequestId',
|
|
21305
|
+
};
|
|
21306
|
+
}
|
|
21307
|
+
static types() {
|
|
21308
|
+
return {
|
|
21309
|
+
code: 'string',
|
|
21310
|
+
message: 'string',
|
|
21311
|
+
requestId: 'string',
|
|
21312
|
+
};
|
|
21313
|
+
}
|
|
21314
|
+
}
|
|
21315
|
+
exports.OpenFlowLogServiceResponseBody = OpenFlowLogServiceResponseBody;
|
|
21316
|
+
class OpenFlowLogServiceResponse extends $tea.Model {
|
|
21317
|
+
constructor(map) {
|
|
21318
|
+
super(map);
|
|
21319
|
+
}
|
|
21320
|
+
static names() {
|
|
21321
|
+
return {
|
|
21322
|
+
headers: 'headers',
|
|
21323
|
+
statusCode: 'statusCode',
|
|
21324
|
+
body: 'body',
|
|
21325
|
+
};
|
|
21326
|
+
}
|
|
21327
|
+
static types() {
|
|
21328
|
+
return {
|
|
21329
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21330
|
+
statusCode: 'number',
|
|
21331
|
+
body: OpenFlowLogServiceResponseBody,
|
|
21332
|
+
};
|
|
21333
|
+
}
|
|
21334
|
+
}
|
|
21335
|
+
exports.OpenFlowLogServiceResponse = OpenFlowLogServiceResponse;
|
|
21278
21336
|
class OpenPhysicalConnectionServiceRequest extends $tea.Model {
|
|
21279
21337
|
constructor(map) {
|
|
21280
21338
|
super(map);
|
|
@@ -24818,14 +24876,20 @@ class DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProtectionTy
|
|
|
24818
24876
|
}
|
|
24819
24877
|
exports.DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProtectionTypes = DescribeEipAddressesResponseBodyEipAddressesEipAddressSecurityProtectionTypes;
|
|
24820
24878
|
class DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag extends $tea.Model {
|
|
24879
|
+
constructor(map) {
|
|
24880
|
+
super(map);
|
|
24881
|
+
}
|
|
24821
24882
|
static names() {
|
|
24822
|
-
return {
|
|
24883
|
+
return {
|
|
24884
|
+
key: 'Key',
|
|
24885
|
+
value: 'Value',
|
|
24886
|
+
};
|
|
24823
24887
|
}
|
|
24824
24888
|
static types() {
|
|
24825
|
-
return {
|
|
24826
|
-
|
|
24827
|
-
|
|
24828
|
-
|
|
24889
|
+
return {
|
|
24890
|
+
key: 'string',
|
|
24891
|
+
value: 'string',
|
|
24892
|
+
};
|
|
24829
24893
|
}
|
|
24830
24894
|
}
|
|
24831
24895
|
exports.DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag = DescribeEipAddressesResponseBodyEipAddressesEipAddressTagsTag;
|
|
@@ -25837,6 +25901,24 @@ class DescribeIpv6GatewaysResponseBodyIpv6Gateways extends $tea.Model {
|
|
|
25837
25901
|
}
|
|
25838
25902
|
}
|
|
25839
25903
|
exports.DescribeIpv6GatewaysResponseBodyIpv6Gateways = DescribeIpv6GatewaysResponseBodyIpv6Gateways;
|
|
25904
|
+
class DescribeNatGatewaysRequestTag extends $tea.Model {
|
|
25905
|
+
constructor(map) {
|
|
25906
|
+
super(map);
|
|
25907
|
+
}
|
|
25908
|
+
static names() {
|
|
25909
|
+
return {
|
|
25910
|
+
key: 'Key',
|
|
25911
|
+
value: 'Value',
|
|
25912
|
+
};
|
|
25913
|
+
}
|
|
25914
|
+
static types() {
|
|
25915
|
+
return {
|
|
25916
|
+
key: 'string',
|
|
25917
|
+
value: 'string',
|
|
25918
|
+
};
|
|
25919
|
+
}
|
|
25920
|
+
}
|
|
25921
|
+
exports.DescribeNatGatewaysRequestTag = DescribeNatGatewaysRequestTag;
|
|
25840
25922
|
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds extends $tea.Model {
|
|
25841
25923
|
constructor(map) {
|
|
25842
25924
|
super(map);
|
|
@@ -25955,6 +26037,40 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds extends $
|
|
|
25955
26037
|
}
|
|
25956
26038
|
}
|
|
25957
26039
|
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds;
|
|
26040
|
+
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag extends $tea.Model {
|
|
26041
|
+
constructor(map) {
|
|
26042
|
+
super(map);
|
|
26043
|
+
}
|
|
26044
|
+
static names() {
|
|
26045
|
+
return {
|
|
26046
|
+
tagKey: 'TagKey',
|
|
26047
|
+
tagValue: 'TagValue',
|
|
26048
|
+
};
|
|
26049
|
+
}
|
|
26050
|
+
static types() {
|
|
26051
|
+
return {
|
|
26052
|
+
tagKey: 'string',
|
|
26053
|
+
tagValue: 'string',
|
|
26054
|
+
};
|
|
26055
|
+
}
|
|
26056
|
+
}
|
|
26057
|
+
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag;
|
|
26058
|
+
class DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags extends $tea.Model {
|
|
26059
|
+
constructor(map) {
|
|
26060
|
+
super(map);
|
|
26061
|
+
}
|
|
26062
|
+
static names() {
|
|
26063
|
+
return {
|
|
26064
|
+
tag: 'Tag',
|
|
26065
|
+
};
|
|
26066
|
+
}
|
|
26067
|
+
static types() {
|
|
26068
|
+
return {
|
|
26069
|
+
tag: { 'type': 'array', 'itemType': DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTagsTag },
|
|
26070
|
+
};
|
|
26071
|
+
}
|
|
26072
|
+
}
|
|
26073
|
+
exports.DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags = DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags;
|
|
25958
26074
|
class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
|
|
25959
26075
|
constructor(map) {
|
|
25960
26076
|
super(map);
|
|
@@ -25967,6 +26083,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
|
|
|
25967
26083
|
deletionProtection: 'DeletionProtection',
|
|
25968
26084
|
description: 'Description',
|
|
25969
26085
|
ecsMetricEnabled: 'EcsMetricEnabled',
|
|
26086
|
+
eipBindMode: 'EipBindMode',
|
|
25970
26087
|
expiredTime: 'ExpiredTime',
|
|
25971
26088
|
forwardTableIds: 'ForwardTableIds',
|
|
25972
26089
|
fullNatTableIds: 'FullNatTableIds',
|
|
@@ -25987,6 +26104,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
|
|
|
25987
26104
|
snatTableIds: 'SnatTableIds',
|
|
25988
26105
|
spec: 'Spec',
|
|
25989
26106
|
status: 'Status',
|
|
26107
|
+
tags: 'Tags',
|
|
25990
26108
|
vpcId: 'VpcId',
|
|
25991
26109
|
};
|
|
25992
26110
|
}
|
|
@@ -25998,6 +26116,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
|
|
|
25998
26116
|
deletionProtection: 'boolean',
|
|
25999
26117
|
description: 'string',
|
|
26000
26118
|
ecsMetricEnabled: 'boolean',
|
|
26119
|
+
eipBindMode: 'string',
|
|
26001
26120
|
expiredTime: 'string',
|
|
26002
26121
|
forwardTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayForwardTableIds,
|
|
26003
26122
|
fullNatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayFullNatTableIds,
|
|
@@ -26018,6 +26137,7 @@ class DescribeNatGatewaysResponseBodyNatGatewaysNatGateway extends $tea.Model {
|
|
|
26018
26137
|
snatTableIds: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewaySnatTableIds,
|
|
26019
26138
|
spec: 'string',
|
|
26020
26139
|
status: 'string',
|
|
26140
|
+
tags: DescribeNatGatewaysResponseBodyNatGatewaysNatGatewayTags,
|
|
26021
26141
|
vpcId: 'string',
|
|
26022
26142
|
};
|
|
26023
26143
|
}
|
|
@@ -26567,22 +26687,6 @@ class DescribePhysicalConnectionsResponseBodyPhysicalConnectionSet extends $tea.
|
|
|
26567
26687
|
}
|
|
26568
26688
|
}
|
|
26569
26689
|
exports.DescribePhysicalConnectionsResponseBodyPhysicalConnectionSet = DescribePhysicalConnectionsResponseBodyPhysicalConnectionSet;
|
|
26570
|
-
class DescribePublicIpAddressResponseBodyIpRange extends $tea.Model {
|
|
26571
|
-
constructor(map) {
|
|
26572
|
-
super(map);
|
|
26573
|
-
}
|
|
26574
|
-
static names() {
|
|
26575
|
-
return {
|
|
26576
|
-
ipRange: 'IpRange',
|
|
26577
|
-
};
|
|
26578
|
-
}
|
|
26579
|
-
static types() {
|
|
26580
|
-
return {
|
|
26581
|
-
ipRange: { 'type': 'array', 'itemType': 'string' },
|
|
26582
|
-
};
|
|
26583
|
-
}
|
|
26584
|
-
}
|
|
26585
|
-
exports.DescribePublicIpAddressResponseBodyIpRange = DescribePublicIpAddressResponseBodyIpRange;
|
|
26586
26690
|
class DescribeRegionsResponseBodyRegionsRegion extends $tea.Model {
|
|
26587
26691
|
constructor(map) {
|
|
26588
26692
|
super(map);
|
|
@@ -39145,6 +39249,9 @@ class Client extends openapi_client_1.default {
|
|
|
39145
39249
|
if (!tea_util_1.default.isUnset(request.status)) {
|
|
39146
39250
|
query["Status"] = request.status;
|
|
39147
39251
|
}
|
|
39252
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
39253
|
+
query["Tag"] = request.tag;
|
|
39254
|
+
}
|
|
39148
39255
|
if (!tea_util_1.default.isUnset(request.vpcId)) {
|
|
39149
39256
|
query["VpcId"] = request.vpcId;
|
|
39150
39257
|
}
|
|
@@ -41488,6 +41595,50 @@ class Client extends openapi_client_1.default {
|
|
|
41488
41595
|
let runtime = new $Util.RuntimeOptions({});
|
|
41489
41596
|
return await this.getDhcpOptionsSetWithOptions(request, runtime);
|
|
41490
41597
|
}
|
|
41598
|
+
async getFlowLogServiceStatusWithOptions(request, runtime) {
|
|
41599
|
+
tea_util_1.default.validateModel(request);
|
|
41600
|
+
let query = {};
|
|
41601
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
41602
|
+
query["ClientToken"] = request.clientToken;
|
|
41603
|
+
}
|
|
41604
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
41605
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
41606
|
+
}
|
|
41607
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
41608
|
+
query["OwnerId"] = request.ownerId;
|
|
41609
|
+
}
|
|
41610
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
41611
|
+
query["RegionId"] = request.regionId;
|
|
41612
|
+
}
|
|
41613
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
41614
|
+
query["RegionId"] = request.regionId;
|
|
41615
|
+
}
|
|
41616
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
41617
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
41618
|
+
}
|
|
41619
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
41620
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
41621
|
+
}
|
|
41622
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
41623
|
+
query: openapi_util_1.default.query(query),
|
|
41624
|
+
});
|
|
41625
|
+
let params = new $OpenApi.Params({
|
|
41626
|
+
action: "GetFlowLogServiceStatus",
|
|
41627
|
+
version: "2016-04-28",
|
|
41628
|
+
protocol: "HTTPS",
|
|
41629
|
+
pathname: "/",
|
|
41630
|
+
method: "POST",
|
|
41631
|
+
authType: "AK",
|
|
41632
|
+
style: "RPC",
|
|
41633
|
+
reqBodyType: "formData",
|
|
41634
|
+
bodyType: "json",
|
|
41635
|
+
});
|
|
41636
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowLogServiceStatusResponse({}));
|
|
41637
|
+
}
|
|
41638
|
+
async getFlowLogServiceStatus(request) {
|
|
41639
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
41640
|
+
return await this.getFlowLogServiceStatusWithOptions(request, runtime);
|
|
41641
|
+
}
|
|
41491
41642
|
async getIpv4GatewayAttributeWithOptions(request, runtime) {
|
|
41492
41643
|
tea_util_1.default.validateModel(request);
|
|
41493
41644
|
let query = {};
|
|
@@ -43006,62 +43157,6 @@ class Client extends openapi_client_1.default {
|
|
|
43006
43157
|
let runtime = new $Util.RuntimeOptions({});
|
|
43007
43158
|
return await this.modifyCommonBandwidthPackageAttributeWithOptions(request, runtime);
|
|
43008
43159
|
}
|
|
43009
|
-
async modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request, runtime) {
|
|
43010
|
-
tea_util_1.default.validateModel(request);
|
|
43011
|
-
let query = {};
|
|
43012
|
-
if (!tea_util_1.default.isUnset(request.autoPay)) {
|
|
43013
|
-
query["AutoPay"] = request.autoPay;
|
|
43014
|
-
}
|
|
43015
|
-
if (!tea_util_1.default.isUnset(request.bandwidth)) {
|
|
43016
|
-
query["Bandwidth"] = request.bandwidth;
|
|
43017
|
-
}
|
|
43018
|
-
if (!tea_util_1.default.isUnset(request.bandwidthPackageId)) {
|
|
43019
|
-
query["BandwidthPackageId"] = request.bandwidthPackageId;
|
|
43020
|
-
}
|
|
43021
|
-
if (!tea_util_1.default.isUnset(request.instanceChargeType)) {
|
|
43022
|
-
query["InstanceChargeType"] = request.instanceChargeType;
|
|
43023
|
-
}
|
|
43024
|
-
if (!tea_util_1.default.isUnset(request.internetChargeType)) {
|
|
43025
|
-
query["InternetChargeType"] = request.internetChargeType;
|
|
43026
|
-
}
|
|
43027
|
-
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
43028
|
-
query["OwnerAccount"] = request.ownerAccount;
|
|
43029
|
-
}
|
|
43030
|
-
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
43031
|
-
query["OwnerId"] = request.ownerId;
|
|
43032
|
-
}
|
|
43033
|
-
if (!tea_util_1.default.isUnset(request.ratio)) {
|
|
43034
|
-
query["Ratio"] = request.ratio;
|
|
43035
|
-
}
|
|
43036
|
-
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
43037
|
-
query["RegionId"] = request.regionId;
|
|
43038
|
-
}
|
|
43039
|
-
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
43040
|
-
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
43041
|
-
}
|
|
43042
|
-
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
43043
|
-
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
43044
|
-
}
|
|
43045
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
43046
|
-
query: openapi_util_1.default.query(query),
|
|
43047
|
-
});
|
|
43048
|
-
let params = new $OpenApi.Params({
|
|
43049
|
-
action: "ModifyCommonBandwidthPackageInternetChargeType",
|
|
43050
|
-
version: "2016-04-28",
|
|
43051
|
-
protocol: "HTTPS",
|
|
43052
|
-
pathname: "/",
|
|
43053
|
-
method: "POST",
|
|
43054
|
-
authType: "AK",
|
|
43055
|
-
style: "RPC",
|
|
43056
|
-
reqBodyType: "formData",
|
|
43057
|
-
bodyType: "json",
|
|
43058
|
-
});
|
|
43059
|
-
return $tea.cast(await this.callApi(params, req, runtime), new ModifyCommonBandwidthPackageInternetChargeTypeResponse({}));
|
|
43060
|
-
}
|
|
43061
|
-
async modifyCommonBandwidthPackageInternetChargeType(request) {
|
|
43062
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
43063
|
-
return await this.modifyCommonBandwidthPackageInternetChargeTypeWithOptions(request, runtime);
|
|
43064
|
-
}
|
|
43065
43160
|
async modifyCommonBandwidthPackageIpBandwidthWithOptions(request, runtime) {
|
|
43066
43161
|
tea_util_1.default.validateModel(request);
|
|
43067
43162
|
let query = {};
|
|
@@ -45632,6 +45727,50 @@ class Client extends openapi_client_1.default {
|
|
|
45632
45727
|
let runtime = new $Util.RuntimeOptions({});
|
|
45633
45728
|
return await this.moveResourceGroupWithOptions(request, runtime);
|
|
45634
45729
|
}
|
|
45730
|
+
async openFlowLogServiceWithOptions(request, runtime) {
|
|
45731
|
+
tea_util_1.default.validateModel(request);
|
|
45732
|
+
let query = {};
|
|
45733
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
45734
|
+
query["ClientToken"] = request.clientToken;
|
|
45735
|
+
}
|
|
45736
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
45737
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
45738
|
+
}
|
|
45739
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
45740
|
+
query["OwnerId"] = request.ownerId;
|
|
45741
|
+
}
|
|
45742
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
45743
|
+
query["RegionId"] = request.regionId;
|
|
45744
|
+
}
|
|
45745
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
45746
|
+
query["RegionId"] = request.regionId;
|
|
45747
|
+
}
|
|
45748
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
45749
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
45750
|
+
}
|
|
45751
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
45752
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
45753
|
+
}
|
|
45754
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
45755
|
+
query: openapi_util_1.default.query(query),
|
|
45756
|
+
});
|
|
45757
|
+
let params = new $OpenApi.Params({
|
|
45758
|
+
action: "OpenFlowLogService",
|
|
45759
|
+
version: "2016-04-28",
|
|
45760
|
+
protocol: "HTTPS",
|
|
45761
|
+
pathname: "/",
|
|
45762
|
+
method: "POST",
|
|
45763
|
+
authType: "AK",
|
|
45764
|
+
style: "RPC",
|
|
45765
|
+
reqBodyType: "formData",
|
|
45766
|
+
bodyType: "json",
|
|
45767
|
+
});
|
|
45768
|
+
return $tea.cast(await this.callApi(params, req, runtime), new OpenFlowLogServiceResponse({}));
|
|
45769
|
+
}
|
|
45770
|
+
async openFlowLogService(request) {
|
|
45771
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
45772
|
+
return await this.openFlowLogServiceWithOptions(request, runtime);
|
|
45773
|
+
}
|
|
45635
45774
|
async openPhysicalConnectionServiceWithOptions(request, runtime) {
|
|
45636
45775
|
tea_util_1.default.validateModel(request);
|
|
45637
45776
|
let query = {};
|