@alicloud/vpc20160428 6.2.2 → 6.3.1
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 +153 -0
- package/dist/client.js +339 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +432 -0
package/dist/client.js
CHANGED
|
@@ -895,6 +895,88 @@ class AllocateEipSegmentAddressResponse extends $tea.Model {
|
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
897
|
exports.AllocateEipSegmentAddressResponse = AllocateEipSegmentAddressResponse;
|
|
898
|
+
class AllocateIpv6AddressRequest extends $tea.Model {
|
|
899
|
+
constructor(map) {
|
|
900
|
+
super(map);
|
|
901
|
+
}
|
|
902
|
+
static names() {
|
|
903
|
+
return {
|
|
904
|
+
clientToken: 'ClientToken',
|
|
905
|
+
dryRun: 'DryRun',
|
|
906
|
+
ipv6Address: 'Ipv6Address',
|
|
907
|
+
ipv6AddressDescription: 'Ipv6AddressDescription',
|
|
908
|
+
ipv6AddressName: 'Ipv6AddressName',
|
|
909
|
+
ownerAccount: 'OwnerAccount',
|
|
910
|
+
ownerId: 'OwnerId',
|
|
911
|
+
regionId: 'RegionId',
|
|
912
|
+
resourceGroupId: 'ResourceGroupId',
|
|
913
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
914
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
915
|
+
tag: 'Tag',
|
|
916
|
+
vSwitchId: 'VSwitchId',
|
|
917
|
+
};
|
|
918
|
+
}
|
|
919
|
+
static types() {
|
|
920
|
+
return {
|
|
921
|
+
clientToken: 'string',
|
|
922
|
+
dryRun: 'boolean',
|
|
923
|
+
ipv6Address: 'string',
|
|
924
|
+
ipv6AddressDescription: 'string',
|
|
925
|
+
ipv6AddressName: 'string',
|
|
926
|
+
ownerAccount: 'string',
|
|
927
|
+
ownerId: 'number',
|
|
928
|
+
regionId: 'string',
|
|
929
|
+
resourceGroupId: 'string',
|
|
930
|
+
resourceOwnerAccount: 'string',
|
|
931
|
+
resourceOwnerId: 'number',
|
|
932
|
+
tag: { 'type': 'array', 'itemType': AllocateIpv6AddressRequestTag },
|
|
933
|
+
vSwitchId: 'string',
|
|
934
|
+
};
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
exports.AllocateIpv6AddressRequest = AllocateIpv6AddressRequest;
|
|
938
|
+
class AllocateIpv6AddressResponseBody extends $tea.Model {
|
|
939
|
+
constructor(map) {
|
|
940
|
+
super(map);
|
|
941
|
+
}
|
|
942
|
+
static names() {
|
|
943
|
+
return {
|
|
944
|
+
ipv6Address: 'Ipv6Address',
|
|
945
|
+
ipv6AddressId: 'Ipv6AddressId',
|
|
946
|
+
requestId: 'RequestId',
|
|
947
|
+
resourceGroupId: 'ResourceGroupId',
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
static types() {
|
|
951
|
+
return {
|
|
952
|
+
ipv6Address: 'string',
|
|
953
|
+
ipv6AddressId: 'string',
|
|
954
|
+
requestId: 'string',
|
|
955
|
+
resourceGroupId: 'string',
|
|
956
|
+
};
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
exports.AllocateIpv6AddressResponseBody = AllocateIpv6AddressResponseBody;
|
|
960
|
+
class AllocateIpv6AddressResponse extends $tea.Model {
|
|
961
|
+
constructor(map) {
|
|
962
|
+
super(map);
|
|
963
|
+
}
|
|
964
|
+
static names() {
|
|
965
|
+
return {
|
|
966
|
+
headers: 'headers',
|
|
967
|
+
statusCode: 'statusCode',
|
|
968
|
+
body: 'body',
|
|
969
|
+
};
|
|
970
|
+
}
|
|
971
|
+
static types() {
|
|
972
|
+
return {
|
|
973
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
974
|
+
statusCode: 'number',
|
|
975
|
+
body: AllocateIpv6AddressResponseBody,
|
|
976
|
+
};
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
exports.AllocateIpv6AddressResponse = AllocateIpv6AddressResponse;
|
|
898
980
|
class AllocateIpv6InternetBandwidthRequest extends $tea.Model {
|
|
899
981
|
constructor(map) {
|
|
900
982
|
super(map);
|
|
@@ -4927,6 +5009,7 @@ class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
4927
5009
|
resourceGroupId: 'ResourceGroupId',
|
|
4928
5010
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4929
5011
|
resourceOwnerId: 'ResourceOwnerId',
|
|
5012
|
+
securityProtectionTypes: 'SecurityProtectionTypes',
|
|
4930
5013
|
tag: 'Tag',
|
|
4931
5014
|
zones: 'Zones',
|
|
4932
5015
|
};
|
|
@@ -4945,6 +5028,7 @@ class CreatePublicIpAddressPoolRequest extends $tea.Model {
|
|
|
4945
5028
|
resourceGroupId: 'string',
|
|
4946
5029
|
resourceOwnerAccount: 'string',
|
|
4947
5030
|
resourceOwnerId: 'number',
|
|
5031
|
+
securityProtectionTypes: { 'type': 'array', 'itemType': 'string' },
|
|
4948
5032
|
tag: { 'type': 'array', 'itemType': CreatePublicIpAddressPoolRequestTag },
|
|
4949
5033
|
zones: { 'type': 'array', 'itemType': 'string' },
|
|
4950
5034
|
};
|
|
@@ -15190,6 +15274,7 @@ class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
15190
15274
|
static names() {
|
|
15191
15275
|
return {
|
|
15192
15276
|
associatedCens: 'AssociatedCens',
|
|
15277
|
+
associatedPropagationSources: 'AssociatedPropagationSources',
|
|
15193
15278
|
cidrBlock: 'CidrBlock',
|
|
15194
15279
|
classicLinkEnabled: 'ClassicLinkEnabled',
|
|
15195
15280
|
cloudResources: 'CloudResources',
|
|
@@ -15219,6 +15304,7 @@ class DescribeVpcAttributeResponseBody extends $tea.Model {
|
|
|
15219
15304
|
static types() {
|
|
15220
15305
|
return {
|
|
15221
15306
|
associatedCens: DescribeVpcAttributeResponseBodyAssociatedCens,
|
|
15307
|
+
associatedPropagationSources: DescribeVpcAttributeResponseBodyAssociatedPropagationSources,
|
|
15222
15308
|
cidrBlock: 'string',
|
|
15223
15309
|
classicLinkEnabled: 'boolean',
|
|
15224
15310
|
cloudResources: DescribeVpcAttributeResponseBodyCloudResources,
|
|
@@ -19247,6 +19333,7 @@ class ListPublicIpAddressPoolsRequest extends $tea.Model {
|
|
|
19247
19333
|
resourceGroupId: 'ResourceGroupId',
|
|
19248
19334
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
19249
19335
|
resourceOwnerId: 'ResourceOwnerId',
|
|
19336
|
+
securityProtectionEnabled: 'SecurityProtectionEnabled',
|
|
19250
19337
|
status: 'Status',
|
|
19251
19338
|
tags: 'Tags',
|
|
19252
19339
|
};
|
|
@@ -19265,6 +19352,7 @@ class ListPublicIpAddressPoolsRequest extends $tea.Model {
|
|
|
19265
19352
|
resourceGroupId: 'string',
|
|
19266
19353
|
resourceOwnerAccount: 'string',
|
|
19267
19354
|
resourceOwnerId: 'number',
|
|
19355
|
+
securityProtectionEnabled: 'boolean',
|
|
19268
19356
|
status: 'string',
|
|
19269
19357
|
tags: { 'type': 'array', 'itemType': ListPublicIpAddressPoolsRequestTags },
|
|
19270
19358
|
};
|
|
@@ -24549,6 +24637,72 @@ class ReleaseEipSegmentAddressResponse extends $tea.Model {
|
|
|
24549
24637
|
}
|
|
24550
24638
|
}
|
|
24551
24639
|
exports.ReleaseEipSegmentAddressResponse = ReleaseEipSegmentAddressResponse;
|
|
24640
|
+
class ReleaseIpv6AddressRequest extends $tea.Model {
|
|
24641
|
+
constructor(map) {
|
|
24642
|
+
super(map);
|
|
24643
|
+
}
|
|
24644
|
+
static names() {
|
|
24645
|
+
return {
|
|
24646
|
+
clientToken: 'ClientToken',
|
|
24647
|
+
dryRun: 'DryRun',
|
|
24648
|
+
ipv6AddressId: 'Ipv6AddressId',
|
|
24649
|
+
ownerAccount: 'OwnerAccount',
|
|
24650
|
+
ownerId: 'OwnerId',
|
|
24651
|
+
regionId: 'RegionId',
|
|
24652
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
24653
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
24654
|
+
};
|
|
24655
|
+
}
|
|
24656
|
+
static types() {
|
|
24657
|
+
return {
|
|
24658
|
+
clientToken: 'string',
|
|
24659
|
+
dryRun: 'boolean',
|
|
24660
|
+
ipv6AddressId: 'string',
|
|
24661
|
+
ownerAccount: 'string',
|
|
24662
|
+
ownerId: 'number',
|
|
24663
|
+
regionId: 'string',
|
|
24664
|
+
resourceOwnerAccount: 'string',
|
|
24665
|
+
resourceOwnerId: 'number',
|
|
24666
|
+
};
|
|
24667
|
+
}
|
|
24668
|
+
}
|
|
24669
|
+
exports.ReleaseIpv6AddressRequest = ReleaseIpv6AddressRequest;
|
|
24670
|
+
class ReleaseIpv6AddressResponseBody extends $tea.Model {
|
|
24671
|
+
constructor(map) {
|
|
24672
|
+
super(map);
|
|
24673
|
+
}
|
|
24674
|
+
static names() {
|
|
24675
|
+
return {
|
|
24676
|
+
requestId: 'RequestId',
|
|
24677
|
+
};
|
|
24678
|
+
}
|
|
24679
|
+
static types() {
|
|
24680
|
+
return {
|
|
24681
|
+
requestId: 'string',
|
|
24682
|
+
};
|
|
24683
|
+
}
|
|
24684
|
+
}
|
|
24685
|
+
exports.ReleaseIpv6AddressResponseBody = ReleaseIpv6AddressResponseBody;
|
|
24686
|
+
class ReleaseIpv6AddressResponse extends $tea.Model {
|
|
24687
|
+
constructor(map) {
|
|
24688
|
+
super(map);
|
|
24689
|
+
}
|
|
24690
|
+
static names() {
|
|
24691
|
+
return {
|
|
24692
|
+
headers: 'headers',
|
|
24693
|
+
statusCode: 'statusCode',
|
|
24694
|
+
body: 'body',
|
|
24695
|
+
};
|
|
24696
|
+
}
|
|
24697
|
+
static types() {
|
|
24698
|
+
return {
|
|
24699
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
24700
|
+
statusCode: 'number',
|
|
24701
|
+
body: ReleaseIpv6AddressResponseBody,
|
|
24702
|
+
};
|
|
24703
|
+
}
|
|
24704
|
+
}
|
|
24705
|
+
exports.ReleaseIpv6AddressResponse = ReleaseIpv6AddressResponse;
|
|
24552
24706
|
class RemoveCommonBandwidthPackageIpRequest extends $tea.Model {
|
|
24553
24707
|
constructor(map) {
|
|
24554
24708
|
super(map);
|
|
@@ -27347,6 +27501,24 @@ class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse extends $tea.Model {
|
|
|
27347
27501
|
}
|
|
27348
27502
|
}
|
|
27349
27503
|
exports.VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse = VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse;
|
|
27504
|
+
class AllocateIpv6AddressRequestTag extends $tea.Model {
|
|
27505
|
+
constructor(map) {
|
|
27506
|
+
super(map);
|
|
27507
|
+
}
|
|
27508
|
+
static names() {
|
|
27509
|
+
return {
|
|
27510
|
+
key: 'Key',
|
|
27511
|
+
value: 'Value',
|
|
27512
|
+
};
|
|
27513
|
+
}
|
|
27514
|
+
static types() {
|
|
27515
|
+
return {
|
|
27516
|
+
key: 'string',
|
|
27517
|
+
value: 'string',
|
|
27518
|
+
};
|
|
27519
|
+
}
|
|
27520
|
+
}
|
|
27521
|
+
exports.AllocateIpv6AddressRequestTag = AllocateIpv6AddressRequestTag;
|
|
27350
27522
|
class ApplyPhysicalConnectionLOARequestPMInfo extends $tea.Model {
|
|
27351
27523
|
constructor(map) {
|
|
27352
27524
|
super(map);
|
|
@@ -31718,6 +31890,7 @@ class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $tea.Model
|
|
|
31718
31890
|
gmtModified: 'GmtModified',
|
|
31719
31891
|
ipVersion: 'IpVersion',
|
|
31720
31892
|
nextHops: 'NextHops',
|
|
31893
|
+
origin: 'Origin',
|
|
31721
31894
|
routeEntryId: 'RouteEntryId',
|
|
31722
31895
|
routeEntryName: 'RouteEntryName',
|
|
31723
31896
|
routeTableId: 'RouteTableId',
|
|
@@ -31733,6 +31906,7 @@ class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $tea.Model
|
|
|
31733
31906
|
gmtModified: 'string',
|
|
31734
31907
|
ipVersion: 'string',
|
|
31735
31908
|
nextHops: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops,
|
|
31909
|
+
origin: 'string',
|
|
31736
31910
|
routeEntryId: 'string',
|
|
31737
31911
|
routeEntryName: 'string',
|
|
31738
31912
|
routeTableId: 'string',
|
|
@@ -31855,6 +32029,7 @@ class DescribeRouteTableListResponseBodyRouterTableListRouterTableListType exten
|
|
|
31855
32029
|
gatewayIds: 'GatewayIds',
|
|
31856
32030
|
ownerId: 'OwnerId',
|
|
31857
32031
|
resourceGroupId: 'ResourceGroupId',
|
|
32032
|
+
routePropagationEnable: 'RoutePropagationEnable',
|
|
31858
32033
|
routeTableId: 'RouteTableId',
|
|
31859
32034
|
routeTableName: 'RouteTableName',
|
|
31860
32035
|
routeTableType: 'RouteTableType',
|
|
@@ -31874,6 +32049,7 @@ class DescribeRouteTableListResponseBodyRouterTableListRouterTableListType exten
|
|
|
31874
32049
|
gatewayIds: DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeGatewayIds,
|
|
31875
32050
|
ownerId: 'number',
|
|
31876
32051
|
resourceGroupId: 'string',
|
|
32052
|
+
routePropagationEnable: 'boolean',
|
|
31877
32053
|
routeTableId: 'string',
|
|
31878
32054
|
routeTableName: 'string',
|
|
31879
32055
|
routeTableType: 'string',
|
|
@@ -33303,6 +33479,46 @@ class DescribeVpcAttributeResponseBodyAssociatedCens extends $tea.Model {
|
|
|
33303
33479
|
}
|
|
33304
33480
|
}
|
|
33305
33481
|
exports.DescribeVpcAttributeResponseBodyAssociatedCens = DescribeVpcAttributeResponseBodyAssociatedCens;
|
|
33482
|
+
class DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources extends $tea.Model {
|
|
33483
|
+
constructor(map) {
|
|
33484
|
+
super(map);
|
|
33485
|
+
}
|
|
33486
|
+
static names() {
|
|
33487
|
+
return {
|
|
33488
|
+
routePropagated: 'RoutePropagated',
|
|
33489
|
+
sourceInstanceId: 'SourceInstanceId',
|
|
33490
|
+
sourceOwnerId: 'SourceOwnerId',
|
|
33491
|
+
sourceType: 'SourceType',
|
|
33492
|
+
status: 'Status',
|
|
33493
|
+
};
|
|
33494
|
+
}
|
|
33495
|
+
static types() {
|
|
33496
|
+
return {
|
|
33497
|
+
routePropagated: 'boolean',
|
|
33498
|
+
sourceInstanceId: 'string',
|
|
33499
|
+
sourceOwnerId: 'number',
|
|
33500
|
+
sourceType: 'string',
|
|
33501
|
+
status: 'string',
|
|
33502
|
+
};
|
|
33503
|
+
}
|
|
33504
|
+
}
|
|
33505
|
+
exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources = DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources;
|
|
33506
|
+
class DescribeVpcAttributeResponseBodyAssociatedPropagationSources extends $tea.Model {
|
|
33507
|
+
constructor(map) {
|
|
33508
|
+
super(map);
|
|
33509
|
+
}
|
|
33510
|
+
static names() {
|
|
33511
|
+
return {
|
|
33512
|
+
associatedPropagationSources: 'AssociatedPropagationSources',
|
|
33513
|
+
};
|
|
33514
|
+
}
|
|
33515
|
+
static types() {
|
|
33516
|
+
return {
|
|
33517
|
+
associatedPropagationSources: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources },
|
|
33518
|
+
};
|
|
33519
|
+
}
|
|
33520
|
+
}
|
|
33521
|
+
exports.DescribeVpcAttributeResponseBodyAssociatedPropagationSources = DescribeVpcAttributeResponseBodyAssociatedPropagationSources;
|
|
33306
33522
|
class DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType extends $tea.Model {
|
|
33307
33523
|
constructor(map) {
|
|
33308
33524
|
super(map);
|
|
@@ -36031,6 +36247,7 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.M
|
|
|
36031
36247
|
publicIpAddressPoolId: 'PublicIpAddressPoolId',
|
|
36032
36248
|
regionId: 'RegionId',
|
|
36033
36249
|
resourceGroupId: 'ResourceGroupId',
|
|
36250
|
+
securityProtectionTypes: 'SecurityProtectionTypes',
|
|
36034
36251
|
shareType: 'ShareType',
|
|
36035
36252
|
status: 'Status',
|
|
36036
36253
|
tags: 'Tags',
|
|
@@ -36052,6 +36269,7 @@ class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends $tea.M
|
|
|
36052
36269
|
publicIpAddressPoolId: 'string',
|
|
36053
36270
|
regionId: 'string',
|
|
36054
36271
|
resourceGroupId: 'string',
|
|
36272
|
+
securityProtectionTypes: { 'type': 'array', 'itemType': 'string' },
|
|
36055
36273
|
shareType: 'string',
|
|
36056
36274
|
status: 'string',
|
|
36057
36275
|
tags: { 'type': 'array', 'itemType': ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolListTags },
|
|
@@ -38409,6 +38627,71 @@ class Client extends openapi_client_1.default {
|
|
|
38409
38627
|
let runtime = new $Util.RuntimeOptions({});
|
|
38410
38628
|
return await this.allocateEipSegmentAddressWithOptions(request, runtime);
|
|
38411
38629
|
}
|
|
38630
|
+
async allocateIpv6AddressWithOptions(request, runtime) {
|
|
38631
|
+
tea_util_1.default.validateModel(request);
|
|
38632
|
+
let query = {};
|
|
38633
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
38634
|
+
query["ClientToken"] = request.clientToken;
|
|
38635
|
+
}
|
|
38636
|
+
if (!tea_util_1.default.isUnset(request.dryRun)) {
|
|
38637
|
+
query["DryRun"] = request.dryRun;
|
|
38638
|
+
}
|
|
38639
|
+
if (!tea_util_1.default.isUnset(request.ipv6Address)) {
|
|
38640
|
+
query["Ipv6Address"] = request.ipv6Address;
|
|
38641
|
+
}
|
|
38642
|
+
if (!tea_util_1.default.isUnset(request.ipv6AddressDescription)) {
|
|
38643
|
+
query["Ipv6AddressDescription"] = request.ipv6AddressDescription;
|
|
38644
|
+
}
|
|
38645
|
+
if (!tea_util_1.default.isUnset(request.ipv6AddressName)) {
|
|
38646
|
+
query["Ipv6AddressName"] = request.ipv6AddressName;
|
|
38647
|
+
}
|
|
38648
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
38649
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
38650
|
+
}
|
|
38651
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
38652
|
+
query["OwnerId"] = request.ownerId;
|
|
38653
|
+
}
|
|
38654
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
38655
|
+
query["RegionId"] = request.regionId;
|
|
38656
|
+
}
|
|
38657
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
38658
|
+
query["RegionId"] = request.regionId;
|
|
38659
|
+
}
|
|
38660
|
+
if (!tea_util_1.default.isUnset(request.resourceGroupId)) {
|
|
38661
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
38662
|
+
}
|
|
38663
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
38664
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
38665
|
+
}
|
|
38666
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
38667
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
38668
|
+
}
|
|
38669
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
38670
|
+
query["Tag"] = request.tag;
|
|
38671
|
+
}
|
|
38672
|
+
if (!tea_util_1.default.isUnset(request.vSwitchId)) {
|
|
38673
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
38674
|
+
}
|
|
38675
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
38676
|
+
query: openapi_util_1.default.query(query),
|
|
38677
|
+
});
|
|
38678
|
+
let params = new $OpenApi.Params({
|
|
38679
|
+
action: "AllocateIpv6Address",
|
|
38680
|
+
version: "2016-04-28",
|
|
38681
|
+
protocol: "HTTPS",
|
|
38682
|
+
pathname: "/",
|
|
38683
|
+
method: "POST",
|
|
38684
|
+
authType: "AK",
|
|
38685
|
+
style: "RPC",
|
|
38686
|
+
reqBodyType: "formData",
|
|
38687
|
+
bodyType: "json",
|
|
38688
|
+
});
|
|
38689
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AllocateIpv6AddressResponse({}));
|
|
38690
|
+
}
|
|
38691
|
+
async allocateIpv6Address(request) {
|
|
38692
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
38693
|
+
return await this.allocateIpv6AddressWithOptions(request, runtime);
|
|
38694
|
+
}
|
|
38412
38695
|
/**
|
|
38413
38696
|
* You cannot repeatedly call the **AllocateIpv6InternetBandwidth** operation within a specific time period.
|
|
38414
38697
|
*
|
|
@@ -42324,6 +42607,9 @@ class Client extends openapi_client_1.default {
|
|
|
42324
42607
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
42325
42608
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
42326
42609
|
}
|
|
42610
|
+
if (!tea_util_1.default.isUnset(request.securityProtectionTypes)) {
|
|
42611
|
+
query["SecurityProtectionTypes"] = request.securityProtectionTypes;
|
|
42612
|
+
}
|
|
42327
42613
|
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
42328
42614
|
query["Tag"] = request.tag;
|
|
42329
42615
|
}
|
|
@@ -53958,6 +54244,9 @@ class Client extends openapi_client_1.default {
|
|
|
53958
54244
|
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
53959
54245
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
53960
54246
|
}
|
|
54247
|
+
if (!tea_util_1.default.isUnset(request.securityProtectionEnabled)) {
|
|
54248
|
+
query["SecurityProtectionEnabled"] = request.securityProtectionEnabled;
|
|
54249
|
+
}
|
|
53961
54250
|
if (!tea_util_1.default.isUnset(request.status)) {
|
|
53962
54251
|
query["Status"] = request.status;
|
|
53963
54252
|
}
|
|
@@ -58648,6 +58937,56 @@ class Client extends openapi_client_1.default {
|
|
|
58648
58937
|
let runtime = new $Util.RuntimeOptions({});
|
|
58649
58938
|
return await this.releaseEipSegmentAddressWithOptions(request, runtime);
|
|
58650
58939
|
}
|
|
58940
|
+
async releaseIpv6AddressWithOptions(request, runtime) {
|
|
58941
|
+
tea_util_1.default.validateModel(request);
|
|
58942
|
+
let query = {};
|
|
58943
|
+
if (!tea_util_1.default.isUnset(request.clientToken)) {
|
|
58944
|
+
query["ClientToken"] = request.clientToken;
|
|
58945
|
+
}
|
|
58946
|
+
if (!tea_util_1.default.isUnset(request.dryRun)) {
|
|
58947
|
+
query["DryRun"] = request.dryRun;
|
|
58948
|
+
}
|
|
58949
|
+
if (!tea_util_1.default.isUnset(request.ipv6AddressId)) {
|
|
58950
|
+
query["Ipv6AddressId"] = request.ipv6AddressId;
|
|
58951
|
+
}
|
|
58952
|
+
if (!tea_util_1.default.isUnset(request.ownerAccount)) {
|
|
58953
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
58954
|
+
}
|
|
58955
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
58956
|
+
query["OwnerId"] = request.ownerId;
|
|
58957
|
+
}
|
|
58958
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
58959
|
+
query["RegionId"] = request.regionId;
|
|
58960
|
+
}
|
|
58961
|
+
if (!tea_util_1.default.isUnset(request.regionId)) {
|
|
58962
|
+
query["RegionId"] = request.regionId;
|
|
58963
|
+
}
|
|
58964
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
58965
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
58966
|
+
}
|
|
58967
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
58968
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
58969
|
+
}
|
|
58970
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
58971
|
+
query: openapi_util_1.default.query(query),
|
|
58972
|
+
});
|
|
58973
|
+
let params = new $OpenApi.Params({
|
|
58974
|
+
action: "ReleaseIpv6Address",
|
|
58975
|
+
version: "2016-04-28",
|
|
58976
|
+
protocol: "HTTPS",
|
|
58977
|
+
pathname: "/",
|
|
58978
|
+
method: "POST",
|
|
58979
|
+
authType: "AK",
|
|
58980
|
+
style: "RPC",
|
|
58981
|
+
reqBodyType: "formData",
|
|
58982
|
+
bodyType: "json",
|
|
58983
|
+
});
|
|
58984
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ReleaseIpv6AddressResponse({}));
|
|
58985
|
+
}
|
|
58986
|
+
async releaseIpv6Address(request) {
|
|
58987
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
58988
|
+
return await this.releaseIpv6AddressWithOptions(request, runtime);
|
|
58989
|
+
}
|
|
58651
58990
|
async removeCommonBandwidthPackageIpWithOptions(request, runtime) {
|
|
58652
58991
|
tea_util_1.default.validateModel(request);
|
|
58653
58992
|
let query = {};
|