@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/vpc20160428",
3
- "version": "6.2.2",
3
+ "version": "6.3.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -1142,6 +1142,114 @@ export class AllocateEipSegmentAddressResponse extends $tea.Model {
1142
1142
  }
1143
1143
  }
1144
1144
 
1145
+ export class AllocateIpv6AddressRequest extends $tea.Model {
1146
+ clientToken?: string;
1147
+ dryRun?: boolean;
1148
+ ipv6Address?: string;
1149
+ ipv6AddressDescription?: string;
1150
+ ipv6AddressName?: string;
1151
+ ownerAccount?: string;
1152
+ ownerId?: number;
1153
+ regionId?: string;
1154
+ resourceGroupId?: string;
1155
+ resourceOwnerAccount?: string;
1156
+ resourceOwnerId?: number;
1157
+ tag?: AllocateIpv6AddressRequestTag[];
1158
+ vSwitchId?: string;
1159
+ static names(): { [key: string]: string } {
1160
+ return {
1161
+ clientToken: 'ClientToken',
1162
+ dryRun: 'DryRun',
1163
+ ipv6Address: 'Ipv6Address',
1164
+ ipv6AddressDescription: 'Ipv6AddressDescription',
1165
+ ipv6AddressName: 'Ipv6AddressName',
1166
+ ownerAccount: 'OwnerAccount',
1167
+ ownerId: 'OwnerId',
1168
+ regionId: 'RegionId',
1169
+ resourceGroupId: 'ResourceGroupId',
1170
+ resourceOwnerAccount: 'ResourceOwnerAccount',
1171
+ resourceOwnerId: 'ResourceOwnerId',
1172
+ tag: 'Tag',
1173
+ vSwitchId: 'VSwitchId',
1174
+ };
1175
+ }
1176
+
1177
+ static types(): { [key: string]: any } {
1178
+ return {
1179
+ clientToken: 'string',
1180
+ dryRun: 'boolean',
1181
+ ipv6Address: 'string',
1182
+ ipv6AddressDescription: 'string',
1183
+ ipv6AddressName: 'string',
1184
+ ownerAccount: 'string',
1185
+ ownerId: 'number',
1186
+ regionId: 'string',
1187
+ resourceGroupId: 'string',
1188
+ resourceOwnerAccount: 'string',
1189
+ resourceOwnerId: 'number',
1190
+ tag: { 'type': 'array', 'itemType': AllocateIpv6AddressRequestTag },
1191
+ vSwitchId: 'string',
1192
+ };
1193
+ }
1194
+
1195
+ constructor(map?: { [key: string]: any }) {
1196
+ super(map);
1197
+ }
1198
+ }
1199
+
1200
+ export class AllocateIpv6AddressResponseBody extends $tea.Model {
1201
+ ipv6Address?: string;
1202
+ ipv6AddressId?: string;
1203
+ requestId?: string;
1204
+ resourceGroupId?: string;
1205
+ static names(): { [key: string]: string } {
1206
+ return {
1207
+ ipv6Address: 'Ipv6Address',
1208
+ ipv6AddressId: 'Ipv6AddressId',
1209
+ requestId: 'RequestId',
1210
+ resourceGroupId: 'ResourceGroupId',
1211
+ };
1212
+ }
1213
+
1214
+ static types(): { [key: string]: any } {
1215
+ return {
1216
+ ipv6Address: 'string',
1217
+ ipv6AddressId: 'string',
1218
+ requestId: 'string',
1219
+ resourceGroupId: 'string',
1220
+ };
1221
+ }
1222
+
1223
+ constructor(map?: { [key: string]: any }) {
1224
+ super(map);
1225
+ }
1226
+ }
1227
+
1228
+ export class AllocateIpv6AddressResponse extends $tea.Model {
1229
+ headers: { [key: string]: string };
1230
+ statusCode: number;
1231
+ body: AllocateIpv6AddressResponseBody;
1232
+ static names(): { [key: string]: string } {
1233
+ return {
1234
+ headers: 'headers',
1235
+ statusCode: 'statusCode',
1236
+ body: 'body',
1237
+ };
1238
+ }
1239
+
1240
+ static types(): { [key: string]: any } {
1241
+ return {
1242
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1243
+ statusCode: 'number',
1244
+ body: AllocateIpv6AddressResponseBody,
1245
+ };
1246
+ }
1247
+
1248
+ constructor(map?: { [key: string]: any }) {
1249
+ super(map);
1250
+ }
1251
+ }
1252
+
1145
1253
  export class AllocateIpv6InternetBandwidthRequest extends $tea.Model {
1146
1254
  bandwidth?: number;
1147
1255
  clientToken?: string;
@@ -6366,6 +6474,7 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
6366
6474
  resourceGroupId?: string;
6367
6475
  resourceOwnerAccount?: string;
6368
6476
  resourceOwnerId?: number;
6477
+ securityProtectionTypes?: string[];
6369
6478
  tag?: CreatePublicIpAddressPoolRequestTag[];
6370
6479
  zones?: string[];
6371
6480
  static names(): { [key: string]: string } {
@@ -6382,6 +6491,7 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
6382
6491
  resourceGroupId: 'ResourceGroupId',
6383
6492
  resourceOwnerAccount: 'ResourceOwnerAccount',
6384
6493
  resourceOwnerId: 'ResourceOwnerId',
6494
+ securityProtectionTypes: 'SecurityProtectionTypes',
6385
6495
  tag: 'Tag',
6386
6496
  zones: 'Zones',
6387
6497
  };
@@ -6401,6 +6511,7 @@ export class CreatePublicIpAddressPoolRequest extends $tea.Model {
6401
6511
  resourceGroupId: 'string',
6402
6512
  resourceOwnerAccount: 'string',
6403
6513
  resourceOwnerId: 'number',
6514
+ securityProtectionTypes: { 'type': 'array', 'itemType': 'string' },
6404
6515
  tag: { 'type': 'array', 'itemType': CreatePublicIpAddressPoolRequestTag },
6405
6516
  zones: { 'type': 'array', 'itemType': 'string' },
6406
6517
  };
@@ -19736,6 +19847,7 @@ export class DescribeVpcAttributeRequest extends $tea.Model {
19736
19847
 
19737
19848
  export class DescribeVpcAttributeResponseBody extends $tea.Model {
19738
19849
  associatedCens?: DescribeVpcAttributeResponseBodyAssociatedCens;
19850
+ associatedPropagationSources?: DescribeVpcAttributeResponseBodyAssociatedPropagationSources;
19739
19851
  cidrBlock?: string;
19740
19852
  classicLinkEnabled?: boolean;
19741
19853
  cloudResources?: DescribeVpcAttributeResponseBodyCloudResources;
@@ -19763,6 +19875,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
19763
19875
  static names(): { [key: string]: string } {
19764
19876
  return {
19765
19877
  associatedCens: 'AssociatedCens',
19878
+ associatedPropagationSources: 'AssociatedPropagationSources',
19766
19879
  cidrBlock: 'CidrBlock',
19767
19880
  classicLinkEnabled: 'ClassicLinkEnabled',
19768
19881
  cloudResources: 'CloudResources',
@@ -19793,6 +19906,7 @@ export class DescribeVpcAttributeResponseBody extends $tea.Model {
19793
19906
  static types(): { [key: string]: any } {
19794
19907
  return {
19795
19908
  associatedCens: DescribeVpcAttributeResponseBodyAssociatedCens,
19909
+ associatedPropagationSources: DescribeVpcAttributeResponseBodyAssociatedPropagationSources,
19796
19910
  cidrBlock: 'string',
19797
19911
  classicLinkEnabled: 'boolean',
19798
19912
  cloudResources: DescribeVpcAttributeResponseBodyCloudResources,
@@ -25011,6 +25125,7 @@ export class ListPublicIpAddressPoolsRequest extends $tea.Model {
25011
25125
  resourceGroupId?: string;
25012
25126
  resourceOwnerAccount?: string;
25013
25127
  resourceOwnerId?: number;
25128
+ securityProtectionEnabled?: boolean;
25014
25129
  status?: string;
25015
25130
  tags?: ListPublicIpAddressPoolsRequestTags[];
25016
25131
  static names(): { [key: string]: string } {
@@ -25027,6 +25142,7 @@ export class ListPublicIpAddressPoolsRequest extends $tea.Model {
25027
25142
  resourceGroupId: 'ResourceGroupId',
25028
25143
  resourceOwnerAccount: 'ResourceOwnerAccount',
25029
25144
  resourceOwnerId: 'ResourceOwnerId',
25145
+ securityProtectionEnabled: 'SecurityProtectionEnabled',
25030
25146
  status: 'Status',
25031
25147
  tags: 'Tags',
25032
25148
  };
@@ -25046,6 +25162,7 @@ export class ListPublicIpAddressPoolsRequest extends $tea.Model {
25046
25162
  resourceGroupId: 'string',
25047
25163
  resourceOwnerAccount: 'string',
25048
25164
  resourceOwnerId: 'number',
25165
+ securityProtectionEnabled: 'boolean',
25049
25166
  status: 'string',
25050
25167
  tags: { 'type': 'array', 'itemType': ListPublicIpAddressPoolsRequestTags },
25051
25168
  };
@@ -31913,6 +32030,90 @@ export class ReleaseEipSegmentAddressResponse extends $tea.Model {
31913
32030
  }
31914
32031
  }
31915
32032
 
32033
+ export class ReleaseIpv6AddressRequest extends $tea.Model {
32034
+ clientToken?: string;
32035
+ dryRun?: boolean;
32036
+ ipv6AddressId?: string;
32037
+ ownerAccount?: string;
32038
+ ownerId?: number;
32039
+ regionId?: string;
32040
+ resourceOwnerAccount?: string;
32041
+ resourceOwnerId?: number;
32042
+ static names(): { [key: string]: string } {
32043
+ return {
32044
+ clientToken: 'ClientToken',
32045
+ dryRun: 'DryRun',
32046
+ ipv6AddressId: 'Ipv6AddressId',
32047
+ ownerAccount: 'OwnerAccount',
32048
+ ownerId: 'OwnerId',
32049
+ regionId: 'RegionId',
32050
+ resourceOwnerAccount: 'ResourceOwnerAccount',
32051
+ resourceOwnerId: 'ResourceOwnerId',
32052
+ };
32053
+ }
32054
+
32055
+ static types(): { [key: string]: any } {
32056
+ return {
32057
+ clientToken: 'string',
32058
+ dryRun: 'boolean',
32059
+ ipv6AddressId: 'string',
32060
+ ownerAccount: 'string',
32061
+ ownerId: 'number',
32062
+ regionId: 'string',
32063
+ resourceOwnerAccount: 'string',
32064
+ resourceOwnerId: 'number',
32065
+ };
32066
+ }
32067
+
32068
+ constructor(map?: { [key: string]: any }) {
32069
+ super(map);
32070
+ }
32071
+ }
32072
+
32073
+ export class ReleaseIpv6AddressResponseBody extends $tea.Model {
32074
+ requestId?: string;
32075
+ static names(): { [key: string]: string } {
32076
+ return {
32077
+ requestId: 'RequestId',
32078
+ };
32079
+ }
32080
+
32081
+ static types(): { [key: string]: any } {
32082
+ return {
32083
+ requestId: 'string',
32084
+ };
32085
+ }
32086
+
32087
+ constructor(map?: { [key: string]: any }) {
32088
+ super(map);
32089
+ }
32090
+ }
32091
+
32092
+ export class ReleaseIpv6AddressResponse extends $tea.Model {
32093
+ headers: { [key: string]: string };
32094
+ statusCode: number;
32095
+ body: ReleaseIpv6AddressResponseBody;
32096
+ static names(): { [key: string]: string } {
32097
+ return {
32098
+ headers: 'headers',
32099
+ statusCode: 'statusCode',
32100
+ body: 'body',
32101
+ };
32102
+ }
32103
+
32104
+ static types(): { [key: string]: any } {
32105
+ return {
32106
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
32107
+ statusCode: 'number',
32108
+ body: ReleaseIpv6AddressResponseBody,
32109
+ };
32110
+ }
32111
+
32112
+ constructor(map?: { [key: string]: any }) {
32113
+ super(map);
32114
+ }
32115
+ }
32116
+
31916
32117
  export class RemoveCommonBandwidthPackageIpRequest extends $tea.Model {
31917
32118
  bandwidthPackageId?: string;
31918
32119
  clientToken?: string;
@@ -35505,6 +35706,28 @@ export class VpcDescribeVpcNatGatewayNetworkInterfaceQuotaResponse extends $tea.
35505
35706
  }
35506
35707
  }
35507
35708
 
35709
+ export class AllocateIpv6AddressRequestTag extends $tea.Model {
35710
+ key?: string;
35711
+ value?: string;
35712
+ static names(): { [key: string]: string } {
35713
+ return {
35714
+ key: 'Key',
35715
+ value: 'Value',
35716
+ };
35717
+ }
35718
+
35719
+ static types(): { [key: string]: any } {
35720
+ return {
35721
+ key: 'string',
35722
+ value: 'string',
35723
+ };
35724
+ }
35725
+
35726
+ constructor(map?: { [key: string]: any }) {
35727
+ super(map);
35728
+ }
35729
+ }
35730
+
35508
35731
  export class ApplyPhysicalConnectionLOARequestPMInfo extends $tea.Model {
35509
35732
  PMCertificateNo?: string;
35510
35733
  PMCertificateType?: string;
@@ -41071,6 +41294,7 @@ export class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $te
41071
41294
  gmtModified?: string;
41072
41295
  ipVersion?: string;
41073
41296
  nextHops?: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops;
41297
+ origin?: string;
41074
41298
  routeEntryId?: string;
41075
41299
  routeEntryName?: string;
41076
41300
  routeTableId?: string;
@@ -41084,6 +41308,7 @@ export class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $te
41084
41308
  gmtModified: 'GmtModified',
41085
41309
  ipVersion: 'IpVersion',
41086
41310
  nextHops: 'NextHops',
41311
+ origin: 'Origin',
41087
41312
  routeEntryId: 'RouteEntryId',
41088
41313
  routeEntryName: 'RouteEntryName',
41089
41314
  routeTableId: 'RouteTableId',
@@ -41100,6 +41325,7 @@ export class DescribeRouteEntryListResponseBodyRouteEntrysRouteEntry extends $te
41100
41325
  gmtModified: 'string',
41101
41326
  ipVersion: 'string',
41102
41327
  nextHops: DescribeRouteEntryListResponseBodyRouteEntrysRouteEntryNextHops,
41328
+ origin: 'string',
41103
41329
  routeEntryId: 'string',
41104
41330
  routeEntryName: 'string',
41105
41331
  routeTableId: 'string',
@@ -41241,6 +41467,7 @@ export class DescribeRouteTableListResponseBodyRouterTableListRouterTableListTyp
41241
41467
  gatewayIds?: DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeGatewayIds;
41242
41468
  ownerId?: number;
41243
41469
  resourceGroupId?: string;
41470
+ routePropagationEnable?: boolean;
41244
41471
  routeTableId?: string;
41245
41472
  routeTableName?: string;
41246
41473
  routeTableType?: string;
@@ -41258,6 +41485,7 @@ export class DescribeRouteTableListResponseBodyRouterTableListRouterTableListTyp
41258
41485
  gatewayIds: 'GatewayIds',
41259
41486
  ownerId: 'OwnerId',
41260
41487
  resourceGroupId: 'ResourceGroupId',
41488
+ routePropagationEnable: 'RoutePropagationEnable',
41261
41489
  routeTableId: 'RouteTableId',
41262
41490
  routeTableName: 'RouteTableName',
41263
41491
  routeTableType: 'RouteTableType',
@@ -41278,6 +41506,7 @@ export class DescribeRouteTableListResponseBodyRouterTableListRouterTableListTyp
41278
41506
  gatewayIds: DescribeRouteTableListResponseBodyRouterTableListRouterTableListTypeGatewayIds,
41279
41507
  ownerId: 'number',
41280
41508
  resourceGroupId: 'string',
41509
+ routePropagationEnable: 'boolean',
41281
41510
  routeTableId: 'string',
41282
41511
  routeTableName: 'string',
41283
41512
  routeTableType: 'string',
@@ -43119,6 +43348,56 @@ export class DescribeVpcAttributeResponseBodyAssociatedCens extends $tea.Model {
43119
43348
  }
43120
43349
  }
43121
43350
 
43351
+ export class DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources extends $tea.Model {
43352
+ routePropagated?: boolean;
43353
+ sourceInstanceId?: string;
43354
+ sourceOwnerId?: number;
43355
+ sourceType?: string;
43356
+ status?: string;
43357
+ static names(): { [key: string]: string } {
43358
+ return {
43359
+ routePropagated: 'RoutePropagated',
43360
+ sourceInstanceId: 'SourceInstanceId',
43361
+ sourceOwnerId: 'SourceOwnerId',
43362
+ sourceType: 'SourceType',
43363
+ status: 'Status',
43364
+ };
43365
+ }
43366
+
43367
+ static types(): { [key: string]: any } {
43368
+ return {
43369
+ routePropagated: 'boolean',
43370
+ sourceInstanceId: 'string',
43371
+ sourceOwnerId: 'number',
43372
+ sourceType: 'string',
43373
+ status: 'string',
43374
+ };
43375
+ }
43376
+
43377
+ constructor(map?: { [key: string]: any }) {
43378
+ super(map);
43379
+ }
43380
+ }
43381
+
43382
+ export class DescribeVpcAttributeResponseBodyAssociatedPropagationSources extends $tea.Model {
43383
+ associatedPropagationSources?: DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources[];
43384
+ static names(): { [key: string]: string } {
43385
+ return {
43386
+ associatedPropagationSources: 'AssociatedPropagationSources',
43387
+ };
43388
+ }
43389
+
43390
+ static types(): { [key: string]: any } {
43391
+ return {
43392
+ associatedPropagationSources: { 'type': 'array', 'itemType': DescribeVpcAttributeResponseBodyAssociatedPropagationSourcesAssociatedPropagationSources },
43393
+ };
43394
+ }
43395
+
43396
+ constructor(map?: { [key: string]: any }) {
43397
+ super(map);
43398
+ }
43399
+ }
43400
+
43122
43401
  export class DescribeVpcAttributeResponseBodyCloudResourcesCloudResourceSetType extends $tea.Model {
43123
43402
  resourceCount?: number;
43124
43403
  resourceType?: string;
@@ -46618,6 +46897,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
46618
46897
  publicIpAddressPoolId?: string;
46619
46898
  regionId?: string;
46620
46899
  resourceGroupId?: string;
46900
+ securityProtectionTypes?: string[];
46621
46901
  shareType?: string;
46622
46902
  status?: string;
46623
46903
  tags?: ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolListTags[];
@@ -46637,6 +46917,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
46637
46917
  publicIpAddressPoolId: 'PublicIpAddressPoolId',
46638
46918
  regionId: 'RegionId',
46639
46919
  resourceGroupId: 'ResourceGroupId',
46920
+ securityProtectionTypes: 'SecurityProtectionTypes',
46640
46921
  shareType: 'ShareType',
46641
46922
  status: 'Status',
46642
46923
  tags: 'Tags',
@@ -46659,6 +46940,7 @@ export class ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolList extends
46659
46940
  publicIpAddressPoolId: 'string',
46660
46941
  regionId: 'string',
46661
46942
  resourceGroupId: 'string',
46943
+ securityProtectionTypes: { 'type': 'array', 'itemType': 'string' },
46662
46944
  shareType: 'string',
46663
46945
  status: 'string',
46664
46946
  tags: { 'type': 'array', 'itemType': ListPublicIpAddressPoolsResponseBodyPublicIpAddressPoolListTags },
@@ -49618,6 +49900,87 @@ export default class Client extends OpenApi {
49618
49900
  return await this.allocateEipSegmentAddressWithOptions(request, runtime);
49619
49901
  }
49620
49902
 
49903
+ async allocateIpv6AddressWithOptions(request: AllocateIpv6AddressRequest, runtime: $Util.RuntimeOptions): Promise<AllocateIpv6AddressResponse> {
49904
+ Util.validateModel(request);
49905
+ let query = { };
49906
+ if (!Util.isUnset(request.clientToken)) {
49907
+ query["ClientToken"] = request.clientToken;
49908
+ }
49909
+
49910
+ if (!Util.isUnset(request.dryRun)) {
49911
+ query["DryRun"] = request.dryRun;
49912
+ }
49913
+
49914
+ if (!Util.isUnset(request.ipv6Address)) {
49915
+ query["Ipv6Address"] = request.ipv6Address;
49916
+ }
49917
+
49918
+ if (!Util.isUnset(request.ipv6AddressDescription)) {
49919
+ query["Ipv6AddressDescription"] = request.ipv6AddressDescription;
49920
+ }
49921
+
49922
+ if (!Util.isUnset(request.ipv6AddressName)) {
49923
+ query["Ipv6AddressName"] = request.ipv6AddressName;
49924
+ }
49925
+
49926
+ if (!Util.isUnset(request.ownerAccount)) {
49927
+ query["OwnerAccount"] = request.ownerAccount;
49928
+ }
49929
+
49930
+ if (!Util.isUnset(request.ownerId)) {
49931
+ query["OwnerId"] = request.ownerId;
49932
+ }
49933
+
49934
+ if (!Util.isUnset(request.regionId)) {
49935
+ query["RegionId"] = request.regionId;
49936
+ }
49937
+
49938
+ if (!Util.isUnset(request.regionId)) {
49939
+ query["RegionId"] = request.regionId;
49940
+ }
49941
+
49942
+ if (!Util.isUnset(request.resourceGroupId)) {
49943
+ query["ResourceGroupId"] = request.resourceGroupId;
49944
+ }
49945
+
49946
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
49947
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
49948
+ }
49949
+
49950
+ if (!Util.isUnset(request.resourceOwnerId)) {
49951
+ query["ResourceOwnerId"] = request.resourceOwnerId;
49952
+ }
49953
+
49954
+ if (!Util.isUnset(request.tag)) {
49955
+ query["Tag"] = request.tag;
49956
+ }
49957
+
49958
+ if (!Util.isUnset(request.vSwitchId)) {
49959
+ query["VSwitchId"] = request.vSwitchId;
49960
+ }
49961
+
49962
+ let req = new $OpenApi.OpenApiRequest({
49963
+ query: OpenApiUtil.query(query),
49964
+ });
49965
+ let params = new $OpenApi.Params({
49966
+ action: "AllocateIpv6Address",
49967
+ version: "2016-04-28",
49968
+ protocol: "HTTPS",
49969
+ pathname: "/",
49970
+ method: "POST",
49971
+ authType: "AK",
49972
+ style: "RPC",
49973
+ reqBodyType: "formData",
49974
+ bodyType: "json",
49975
+ });
49976
+ return $tea.cast<AllocateIpv6AddressResponse>(await this.callApi(params, req, runtime), new AllocateIpv6AddressResponse({}));
49977
+ }
49978
+
49979
+ async allocateIpv6Address(request: AllocateIpv6AddressRequest): Promise<AllocateIpv6AddressResponse> {
49980
+ let runtime = new $Util.RuntimeOptions({ });
49981
+ return await this.allocateIpv6AddressWithOptions(request, runtime);
49982
+ }
49983
+
49621
49984
  /**
49622
49985
  * You cannot repeatedly call the **AllocateIpv6InternetBandwidth** operation within a specific time period.
49623
49986
  *
@@ -54266,6 +54629,10 @@ export default class Client extends OpenApi {
54266
54629
  query["ResourceOwnerId"] = request.resourceOwnerId;
54267
54630
  }
54268
54631
 
54632
+ if (!Util.isUnset(request.securityProtectionTypes)) {
54633
+ query["SecurityProtectionTypes"] = request.securityProtectionTypes;
54634
+ }
54635
+
54269
54636
  if (!Util.isUnset(request.tag)) {
54270
54637
  query["Tag"] = request.tag;
54271
54638
  }
@@ -68124,6 +68491,10 @@ export default class Client extends OpenApi {
68124
68491
  query["ResourceOwnerId"] = request.resourceOwnerId;
68125
68492
  }
68126
68493
 
68494
+ if (!Util.isUnset(request.securityProtectionEnabled)) {
68495
+ query["SecurityProtectionEnabled"] = request.securityProtectionEnabled;
68496
+ }
68497
+
68127
68498
  if (!Util.isUnset(request.status)) {
68128
68499
  query["Status"] = request.status;
68129
68500
  }
@@ -73704,6 +74075,67 @@ export default class Client extends OpenApi {
73704
74075
  return await this.releaseEipSegmentAddressWithOptions(request, runtime);
73705
74076
  }
73706
74077
 
74078
+ async releaseIpv6AddressWithOptions(request: ReleaseIpv6AddressRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseIpv6AddressResponse> {
74079
+ Util.validateModel(request);
74080
+ let query = { };
74081
+ if (!Util.isUnset(request.clientToken)) {
74082
+ query["ClientToken"] = request.clientToken;
74083
+ }
74084
+
74085
+ if (!Util.isUnset(request.dryRun)) {
74086
+ query["DryRun"] = request.dryRun;
74087
+ }
74088
+
74089
+ if (!Util.isUnset(request.ipv6AddressId)) {
74090
+ query["Ipv6AddressId"] = request.ipv6AddressId;
74091
+ }
74092
+
74093
+ if (!Util.isUnset(request.ownerAccount)) {
74094
+ query["OwnerAccount"] = request.ownerAccount;
74095
+ }
74096
+
74097
+ if (!Util.isUnset(request.ownerId)) {
74098
+ query["OwnerId"] = request.ownerId;
74099
+ }
74100
+
74101
+ if (!Util.isUnset(request.regionId)) {
74102
+ query["RegionId"] = request.regionId;
74103
+ }
74104
+
74105
+ if (!Util.isUnset(request.regionId)) {
74106
+ query["RegionId"] = request.regionId;
74107
+ }
74108
+
74109
+ if (!Util.isUnset(request.resourceOwnerAccount)) {
74110
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
74111
+ }
74112
+
74113
+ if (!Util.isUnset(request.resourceOwnerId)) {
74114
+ query["ResourceOwnerId"] = request.resourceOwnerId;
74115
+ }
74116
+
74117
+ let req = new $OpenApi.OpenApiRequest({
74118
+ query: OpenApiUtil.query(query),
74119
+ });
74120
+ let params = new $OpenApi.Params({
74121
+ action: "ReleaseIpv6Address",
74122
+ version: "2016-04-28",
74123
+ protocol: "HTTPS",
74124
+ pathname: "/",
74125
+ method: "POST",
74126
+ authType: "AK",
74127
+ style: "RPC",
74128
+ reqBodyType: "formData",
74129
+ bodyType: "json",
74130
+ });
74131
+ return $tea.cast<ReleaseIpv6AddressResponse>(await this.callApi(params, req, runtime), new ReleaseIpv6AddressResponse({}));
74132
+ }
74133
+
74134
+ async releaseIpv6Address(request: ReleaseIpv6AddressRequest): Promise<ReleaseIpv6AddressResponse> {
74135
+ let runtime = new $Util.RuntimeOptions({ });
74136
+ return await this.releaseIpv6AddressWithOptions(request, runtime);
74137
+ }
74138
+
73707
74139
  async removeCommonBandwidthPackageIpWithOptions(request: RemoveCommonBandwidthPackageIpRequest, runtime: $Util.RuntimeOptions): Promise<RemoveCommonBandwidthPackageIpResponse> {
73708
74140
  Util.validateModel(request);
73709
74141
  let query = { };