@alicloud/vpc20160428 6.4.9 → 6.5.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 +139 -2
- package/dist/client.js +300 -21
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +345 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/vpc20160428",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.8",
|
|
24
|
-
"@alicloud/openapi-client": "^0.4.
|
|
24
|
+
"@alicloud/openapi-client": "^0.4.10",
|
|
25
25
|
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
package/src/client.ts
CHANGED
|
@@ -1146,6 +1146,7 @@ export class AllocateEipSegmentAddressResponse extends $tea.Model {
|
|
|
1146
1146
|
}
|
|
1147
1147
|
|
|
1148
1148
|
export class AllocateIpv6AddressRequest extends $tea.Model {
|
|
1149
|
+
addressType?: string;
|
|
1149
1150
|
clientToken?: string;
|
|
1150
1151
|
dryRun?: boolean;
|
|
1151
1152
|
ipv6Address?: string;
|
|
@@ -1161,6 +1162,7 @@ export class AllocateIpv6AddressRequest extends $tea.Model {
|
|
|
1161
1162
|
vSwitchId?: string;
|
|
1162
1163
|
static names(): { [key: string]: string } {
|
|
1163
1164
|
return {
|
|
1165
|
+
addressType: 'AddressType',
|
|
1164
1166
|
clientToken: 'ClientToken',
|
|
1165
1167
|
dryRun: 'DryRun',
|
|
1166
1168
|
ipv6Address: 'Ipv6Address',
|
|
@@ -1179,6 +1181,7 @@ export class AllocateIpv6AddressRequest extends $tea.Model {
|
|
|
1179
1181
|
|
|
1180
1182
|
static types(): { [key: string]: any } {
|
|
1181
1183
|
return {
|
|
1184
|
+
addressType: 'string',
|
|
1182
1185
|
clientToken: 'string',
|
|
1183
1186
|
dryRun: 'boolean',
|
|
1184
1187
|
ipv6Address: 'string',
|
|
@@ -4574,6 +4577,7 @@ export class CreateExpressConnectTrafficQosRuleResponse extends $tea.Model {
|
|
|
4574
4577
|
export class CreateFailoverTestJobRequest extends $tea.Model {
|
|
4575
4578
|
clientToken?: string;
|
|
4576
4579
|
description?: string;
|
|
4580
|
+
dryRun?: boolean;
|
|
4577
4581
|
jobDuration?: number;
|
|
4578
4582
|
jobType?: string;
|
|
4579
4583
|
name?: string;
|
|
@@ -4587,6 +4591,7 @@ export class CreateFailoverTestJobRequest extends $tea.Model {
|
|
|
4587
4591
|
return {
|
|
4588
4592
|
clientToken: 'ClientToken',
|
|
4589
4593
|
description: 'Description',
|
|
4594
|
+
dryRun: 'DryRun',
|
|
4590
4595
|
jobDuration: 'JobDuration',
|
|
4591
4596
|
jobType: 'JobType',
|
|
4592
4597
|
name: 'Name',
|
|
@@ -4603,6 +4608,7 @@ export class CreateFailoverTestJobRequest extends $tea.Model {
|
|
|
4603
4608
|
return {
|
|
4604
4609
|
clientToken: 'string',
|
|
4605
4610
|
description: 'string',
|
|
4611
|
+
dryRun: 'boolean',
|
|
4606
4612
|
jobDuration: 'number',
|
|
4607
4613
|
jobType: 'string',
|
|
4608
4614
|
name: 'string',
|
|
@@ -17241,6 +17247,7 @@ export class DescribeIPv6TranslatorsResponse extends $tea.Model {
|
|
|
17241
17247
|
}
|
|
17242
17248
|
|
|
17243
17249
|
export class DescribeIpv6AddressesRequest extends $tea.Model {
|
|
17250
|
+
addressType?: string;
|
|
17244
17251
|
associatedInstanceId?: string;
|
|
17245
17252
|
associatedInstanceType?: string;
|
|
17246
17253
|
includeReservationData?: boolean;
|
|
@@ -17263,6 +17270,7 @@ export class DescribeIpv6AddressesRequest extends $tea.Model {
|
|
|
17263
17270
|
vpcId?: string;
|
|
17264
17271
|
static names(): { [key: string]: string } {
|
|
17265
17272
|
return {
|
|
17273
|
+
addressType: 'AddressType',
|
|
17266
17274
|
associatedInstanceId: 'AssociatedInstanceId',
|
|
17267
17275
|
associatedInstanceType: 'AssociatedInstanceType',
|
|
17268
17276
|
includeReservationData: 'IncludeReservationData',
|
|
@@ -17288,6 +17296,7 @@ export class DescribeIpv6AddressesRequest extends $tea.Model {
|
|
|
17288
17296
|
|
|
17289
17297
|
static types(): { [key: string]: any } {
|
|
17290
17298
|
return {
|
|
17299
|
+
addressType: 'string',
|
|
17291
17300
|
associatedInstanceId: 'string',
|
|
17292
17301
|
associatedInstanceType: 'string',
|
|
17293
17302
|
includeReservationData: 'boolean',
|
|
@@ -23954,6 +23963,87 @@ export class GetPhysicalConnectionServiceStatusResponse extends $tea.Model {
|
|
|
23954
23963
|
}
|
|
23955
23964
|
}
|
|
23956
23965
|
|
|
23966
|
+
export class GetPublicIpAddressPoolServiceStatusRequest extends $tea.Model {
|
|
23967
|
+
clientToken?: string;
|
|
23968
|
+
ownerAccount?: string;
|
|
23969
|
+
ownerId?: number;
|
|
23970
|
+
regionId?: string;
|
|
23971
|
+
resourceOwnerAccount?: string;
|
|
23972
|
+
resourceOwnerId?: number;
|
|
23973
|
+
static names(): { [key: string]: string } {
|
|
23974
|
+
return {
|
|
23975
|
+
clientToken: 'ClientToken',
|
|
23976
|
+
ownerAccount: 'OwnerAccount',
|
|
23977
|
+
ownerId: 'OwnerId',
|
|
23978
|
+
regionId: 'RegionId',
|
|
23979
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
23980
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
23981
|
+
};
|
|
23982
|
+
}
|
|
23983
|
+
|
|
23984
|
+
static types(): { [key: string]: any } {
|
|
23985
|
+
return {
|
|
23986
|
+
clientToken: 'string',
|
|
23987
|
+
ownerAccount: 'string',
|
|
23988
|
+
ownerId: 'number',
|
|
23989
|
+
regionId: 'string',
|
|
23990
|
+
resourceOwnerAccount: 'string',
|
|
23991
|
+
resourceOwnerId: 'number',
|
|
23992
|
+
};
|
|
23993
|
+
}
|
|
23994
|
+
|
|
23995
|
+
constructor(map?: { [key: string]: any }) {
|
|
23996
|
+
super(map);
|
|
23997
|
+
}
|
|
23998
|
+
}
|
|
23999
|
+
|
|
24000
|
+
export class GetPublicIpAddressPoolServiceStatusResponseBody extends $tea.Model {
|
|
24001
|
+
enabled?: boolean;
|
|
24002
|
+
requestId?: string;
|
|
24003
|
+
static names(): { [key: string]: string } {
|
|
24004
|
+
return {
|
|
24005
|
+
enabled: 'Enabled',
|
|
24006
|
+
requestId: 'RequestId',
|
|
24007
|
+
};
|
|
24008
|
+
}
|
|
24009
|
+
|
|
24010
|
+
static types(): { [key: string]: any } {
|
|
24011
|
+
return {
|
|
24012
|
+
enabled: 'boolean',
|
|
24013
|
+
requestId: 'string',
|
|
24014
|
+
};
|
|
24015
|
+
}
|
|
24016
|
+
|
|
24017
|
+
constructor(map?: { [key: string]: any }) {
|
|
24018
|
+
super(map);
|
|
24019
|
+
}
|
|
24020
|
+
}
|
|
24021
|
+
|
|
24022
|
+
export class GetPublicIpAddressPoolServiceStatusResponse extends $tea.Model {
|
|
24023
|
+
headers?: { [key: string]: string };
|
|
24024
|
+
statusCode?: number;
|
|
24025
|
+
body?: GetPublicIpAddressPoolServiceStatusResponseBody;
|
|
24026
|
+
static names(): { [key: string]: string } {
|
|
24027
|
+
return {
|
|
24028
|
+
headers: 'headers',
|
|
24029
|
+
statusCode: 'statusCode',
|
|
24030
|
+
body: 'body',
|
|
24031
|
+
};
|
|
24032
|
+
}
|
|
24033
|
+
|
|
24034
|
+
static types(): { [key: string]: any } {
|
|
24035
|
+
return {
|
|
24036
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
24037
|
+
statusCode: 'number',
|
|
24038
|
+
body: GetPublicIpAddressPoolServiceStatusResponseBody,
|
|
24039
|
+
};
|
|
24040
|
+
}
|
|
24041
|
+
|
|
24042
|
+
constructor(map?: { [key: string]: any }) {
|
|
24043
|
+
super(map);
|
|
24044
|
+
}
|
|
24045
|
+
}
|
|
24046
|
+
|
|
23957
24047
|
export class GetTrafficMirrorServiceStatusRequest extends $tea.Model {
|
|
23958
24048
|
clientToken?: string;
|
|
23959
24049
|
ownerAccount?: string;
|
|
@@ -30205,6 +30295,7 @@ export class ModifyRouteTableAttributesRequest extends $tea.Model {
|
|
|
30205
30295
|
regionId?: string;
|
|
30206
30296
|
resourceOwnerAccount?: string;
|
|
30207
30297
|
resourceOwnerId?: number;
|
|
30298
|
+
routePropagationEnable?: boolean;
|
|
30208
30299
|
routeTableId?: string;
|
|
30209
30300
|
routeTableName?: string;
|
|
30210
30301
|
static names(): { [key: string]: string } {
|
|
@@ -30215,6 +30306,7 @@ export class ModifyRouteTableAttributesRequest extends $tea.Model {
|
|
|
30215
30306
|
regionId: 'RegionId',
|
|
30216
30307
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
30217
30308
|
resourceOwnerId: 'ResourceOwnerId',
|
|
30309
|
+
routePropagationEnable: 'RoutePropagationEnable',
|
|
30218
30310
|
routeTableId: 'RouteTableId',
|
|
30219
30311
|
routeTableName: 'RouteTableName',
|
|
30220
30312
|
};
|
|
@@ -30228,6 +30320,7 @@ export class ModifyRouteTableAttributesRequest extends $tea.Model {
|
|
|
30228
30320
|
regionId: 'string',
|
|
30229
30321
|
resourceOwnerAccount: 'string',
|
|
30230
30322
|
resourceOwnerId: 'number',
|
|
30323
|
+
routePropagationEnable: 'boolean',
|
|
30231
30324
|
routeTableId: 'string',
|
|
30232
30325
|
routeTableName: 'string',
|
|
30233
30326
|
};
|
|
@@ -32868,6 +32961,90 @@ export class OpenPhysicalConnectionServiceResponse extends $tea.Model {
|
|
|
32868
32961
|
}
|
|
32869
32962
|
}
|
|
32870
32963
|
|
|
32964
|
+
export class OpenPublicIpAddressPoolServiceRequest extends $tea.Model {
|
|
32965
|
+
clientToken?: string;
|
|
32966
|
+
ownerAccount?: string;
|
|
32967
|
+
ownerId?: number;
|
|
32968
|
+
regionId?: string;
|
|
32969
|
+
resourceOwnerAccount?: string;
|
|
32970
|
+
resourceOwnerId?: number;
|
|
32971
|
+
static names(): { [key: string]: string } {
|
|
32972
|
+
return {
|
|
32973
|
+
clientToken: 'ClientToken',
|
|
32974
|
+
ownerAccount: 'OwnerAccount',
|
|
32975
|
+
ownerId: 'OwnerId',
|
|
32976
|
+
regionId: 'RegionId',
|
|
32977
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
32978
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
32979
|
+
};
|
|
32980
|
+
}
|
|
32981
|
+
|
|
32982
|
+
static types(): { [key: string]: any } {
|
|
32983
|
+
return {
|
|
32984
|
+
clientToken: 'string',
|
|
32985
|
+
ownerAccount: 'string',
|
|
32986
|
+
ownerId: 'number',
|
|
32987
|
+
regionId: 'string',
|
|
32988
|
+
resourceOwnerAccount: 'string',
|
|
32989
|
+
resourceOwnerId: 'number',
|
|
32990
|
+
};
|
|
32991
|
+
}
|
|
32992
|
+
|
|
32993
|
+
constructor(map?: { [key: string]: any }) {
|
|
32994
|
+
super(map);
|
|
32995
|
+
}
|
|
32996
|
+
}
|
|
32997
|
+
|
|
32998
|
+
export class OpenPublicIpAddressPoolServiceResponseBody extends $tea.Model {
|
|
32999
|
+
code?: string;
|
|
33000
|
+
message?: string;
|
|
33001
|
+
requestId?: string;
|
|
33002
|
+
static names(): { [key: string]: string } {
|
|
33003
|
+
return {
|
|
33004
|
+
code: 'Code',
|
|
33005
|
+
message: 'Message',
|
|
33006
|
+
requestId: 'RequestId',
|
|
33007
|
+
};
|
|
33008
|
+
}
|
|
33009
|
+
|
|
33010
|
+
static types(): { [key: string]: any } {
|
|
33011
|
+
return {
|
|
33012
|
+
code: 'string',
|
|
33013
|
+
message: 'string',
|
|
33014
|
+
requestId: 'string',
|
|
33015
|
+
};
|
|
33016
|
+
}
|
|
33017
|
+
|
|
33018
|
+
constructor(map?: { [key: string]: any }) {
|
|
33019
|
+
super(map);
|
|
33020
|
+
}
|
|
33021
|
+
}
|
|
33022
|
+
|
|
33023
|
+
export class OpenPublicIpAddressPoolServiceResponse extends $tea.Model {
|
|
33024
|
+
headers?: { [key: string]: string };
|
|
33025
|
+
statusCode?: number;
|
|
33026
|
+
body?: OpenPublicIpAddressPoolServiceResponseBody;
|
|
33027
|
+
static names(): { [key: string]: string } {
|
|
33028
|
+
return {
|
|
33029
|
+
headers: 'headers',
|
|
33030
|
+
statusCode: 'statusCode',
|
|
33031
|
+
body: 'body',
|
|
33032
|
+
};
|
|
33033
|
+
}
|
|
33034
|
+
|
|
33035
|
+
static types(): { [key: string]: any } {
|
|
33036
|
+
return {
|
|
33037
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
33038
|
+
statusCode: 'number',
|
|
33039
|
+
body: OpenPublicIpAddressPoolServiceResponseBody,
|
|
33040
|
+
};
|
|
33041
|
+
}
|
|
33042
|
+
|
|
33043
|
+
constructor(map?: { [key: string]: any }) {
|
|
33044
|
+
super(map);
|
|
33045
|
+
}
|
|
33046
|
+
}
|
|
33047
|
+
|
|
32871
33048
|
export class OpenTrafficMirrorServiceRequest extends $tea.Model {
|
|
32872
33049
|
clientToken?: string;
|
|
32873
33050
|
ownerAccount?: string;
|
|
@@ -35719,6 +35896,7 @@ export class UpdateDhcpOptionsSetAttributeResponse extends $tea.Model {
|
|
|
35719
35896
|
export class UpdateFailoverTestJobRequest extends $tea.Model {
|
|
35720
35897
|
clientToken?: string;
|
|
35721
35898
|
description?: string;
|
|
35899
|
+
dryRun?: boolean;
|
|
35722
35900
|
jobDuration?: number;
|
|
35723
35901
|
jobId?: string;
|
|
35724
35902
|
name?: string;
|
|
@@ -35731,6 +35909,7 @@ export class UpdateFailoverTestJobRequest extends $tea.Model {
|
|
|
35731
35909
|
return {
|
|
35732
35910
|
clientToken: 'ClientToken',
|
|
35733
35911
|
description: 'Description',
|
|
35912
|
+
dryRun: 'DryRun',
|
|
35734
35913
|
jobDuration: 'JobDuration',
|
|
35735
35914
|
jobId: 'JobId',
|
|
35736
35915
|
name: 'Name',
|
|
@@ -35746,6 +35925,7 @@ export class UpdateFailoverTestJobRequest extends $tea.Model {
|
|
|
35746
35925
|
return {
|
|
35747
35926
|
clientToken: 'string',
|
|
35748
35927
|
description: 'string',
|
|
35928
|
+
dryRun: 'boolean',
|
|
35749
35929
|
jobDuration: 'number',
|
|
35750
35930
|
jobId: 'string',
|
|
35751
35931
|
name: 'string',
|
|
@@ -41300,6 +41480,7 @@ export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags exten
|
|
|
41300
41480
|
}
|
|
41301
41481
|
|
|
41302
41482
|
export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $tea.Model {
|
|
41483
|
+
addressType?: string;
|
|
41303
41484
|
allocationTime?: string;
|
|
41304
41485
|
associatedInstanceId?: string;
|
|
41305
41486
|
associatedInstanceType?: string;
|
|
@@ -41320,6 +41501,7 @@ export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $
|
|
|
41320
41501
|
vpcId?: string;
|
|
41321
41502
|
static names(): { [key: string]: string } {
|
|
41322
41503
|
return {
|
|
41504
|
+
addressType: 'AddressType',
|
|
41323
41505
|
allocationTime: 'AllocationTime',
|
|
41324
41506
|
associatedInstanceId: 'AssociatedInstanceId',
|
|
41325
41507
|
associatedInstanceType: 'AssociatedInstanceType',
|
|
@@ -41343,6 +41525,7 @@ export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $
|
|
|
41343
41525
|
|
|
41344
41526
|
static types(): { [key: string]: any } {
|
|
41345
41527
|
return {
|
|
41528
|
+
addressType: 'string',
|
|
41346
41529
|
allocationTime: 'string',
|
|
41347
41530
|
associatedInstanceId: 'string',
|
|
41348
41531
|
associatedInstanceType: 'string',
|
|
@@ -51817,6 +52000,10 @@ export default class Client extends OpenApi {
|
|
|
51817
52000
|
async allocateIpv6AddressWithOptions(request: AllocateIpv6AddressRequest, runtime: $Util.RuntimeOptions): Promise<AllocateIpv6AddressResponse> {
|
|
51818
52001
|
Util.validateModel(request);
|
|
51819
52002
|
let query = { };
|
|
52003
|
+
if (!Util.isUnset(request.addressType)) {
|
|
52004
|
+
query["AddressType"] = request.addressType;
|
|
52005
|
+
}
|
|
52006
|
+
|
|
51820
52007
|
if (!Util.isUnset(request.clientToken)) {
|
|
51821
52008
|
query["ClientToken"] = request.clientToken;
|
|
51822
52009
|
}
|
|
@@ -55043,6 +55230,10 @@ export default class Client extends OpenApi {
|
|
|
55043
55230
|
query["Description"] = request.description;
|
|
55044
55231
|
}
|
|
55045
55232
|
|
|
55233
|
+
if (!Util.isUnset(request.dryRun)) {
|
|
55234
|
+
query["DryRun"] = request.dryRun;
|
|
55235
|
+
}
|
|
55236
|
+
|
|
55046
55237
|
if (!Util.isUnset(request.jobDuration)) {
|
|
55047
55238
|
query["JobDuration"] = request.jobDuration;
|
|
55048
55239
|
}
|
|
@@ -57040,6 +57231,8 @@ export default class Client extends OpenApi {
|
|
|
57040
57231
|
}
|
|
57041
57232
|
|
|
57042
57233
|
/**
|
|
57234
|
+
* @summary 创建端口初装费订单
|
|
57235
|
+
*
|
|
57043
57236
|
* @param request CreatePhysicalConnectionSetupOrderRequest
|
|
57044
57237
|
* @param runtime runtime options for this request RuntimeOptions
|
|
57045
57238
|
* @return CreatePhysicalConnectionSetupOrderResponse
|
|
@@ -57113,6 +57306,8 @@ export default class Client extends OpenApi {
|
|
|
57113
57306
|
}
|
|
57114
57307
|
|
|
57115
57308
|
/**
|
|
57309
|
+
* @summary 创建端口初装费订单
|
|
57310
|
+
*
|
|
57116
57311
|
* @param request CreatePhysicalConnectionSetupOrderRequest
|
|
57117
57312
|
* @return CreatePhysicalConnectionSetupOrderResponse
|
|
57118
57313
|
*/
|
|
@@ -66638,6 +66833,10 @@ export default class Client extends OpenApi {
|
|
|
66638
66833
|
async describeIpv6AddressesWithOptions(request: DescribeIpv6AddressesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpv6AddressesResponse> {
|
|
66639
66834
|
Util.validateModel(request);
|
|
66640
66835
|
let query = { };
|
|
66836
|
+
if (!Util.isUnset(request.addressType)) {
|
|
66837
|
+
query["AddressType"] = request.addressType;
|
|
66838
|
+
}
|
|
66839
|
+
|
|
66641
66840
|
if (!Util.isUnset(request.associatedInstanceId)) {
|
|
66642
66841
|
query["AssociatedInstanceId"] = request.associatedInstanceId;
|
|
66643
66842
|
}
|
|
@@ -66751,6 +66950,8 @@ export default class Client extends OpenApi {
|
|
|
66751
66950
|
}
|
|
66752
66951
|
|
|
66753
66952
|
/**
|
|
66953
|
+
* @summary 查询创建的仅主动出规则。
|
|
66954
|
+
*
|
|
66754
66955
|
* @param request DescribeIpv6EgressOnlyRulesRequest
|
|
66755
66956
|
* @param runtime runtime options for this request RuntimeOptions
|
|
66756
66957
|
* @return DescribeIpv6EgressOnlyRulesResponse
|
|
@@ -66828,6 +67029,8 @@ export default class Client extends OpenApi {
|
|
|
66828
67029
|
}
|
|
66829
67030
|
|
|
66830
67031
|
/**
|
|
67032
|
+
* @summary 查询创建的仅主动出规则。
|
|
67033
|
+
*
|
|
66831
67034
|
* @param request DescribeIpv6EgressOnlyRulesRequest
|
|
66832
67035
|
* @return DescribeIpv6EgressOnlyRulesResponse
|
|
66833
67036
|
*/
|
|
@@ -71564,6 +71767,72 @@ export default class Client extends OpenApi {
|
|
|
71564
71767
|
return await this.getPhysicalConnectionServiceStatusWithOptions(request, runtime);
|
|
71565
71768
|
}
|
|
71566
71769
|
|
|
71770
|
+
/**
|
|
71771
|
+
* @summary Queries whether the IP address pool feature is enabled.
|
|
71772
|
+
*
|
|
71773
|
+
* @param request GetPublicIpAddressPoolServiceStatusRequest
|
|
71774
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
71775
|
+
* @return GetPublicIpAddressPoolServiceStatusResponse
|
|
71776
|
+
*/
|
|
71777
|
+
async getPublicIpAddressPoolServiceStatusWithOptions(request: GetPublicIpAddressPoolServiceStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetPublicIpAddressPoolServiceStatusResponse> {
|
|
71778
|
+
Util.validateModel(request);
|
|
71779
|
+
let query = { };
|
|
71780
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
71781
|
+
query["ClientToken"] = request.clientToken;
|
|
71782
|
+
}
|
|
71783
|
+
|
|
71784
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
71785
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
71786
|
+
}
|
|
71787
|
+
|
|
71788
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
71789
|
+
query["OwnerId"] = request.ownerId;
|
|
71790
|
+
}
|
|
71791
|
+
|
|
71792
|
+
if (!Util.isUnset(request.regionId)) {
|
|
71793
|
+
query["RegionId"] = request.regionId;
|
|
71794
|
+
}
|
|
71795
|
+
|
|
71796
|
+
if (!Util.isUnset(request.regionId)) {
|
|
71797
|
+
query["RegionId"] = request.regionId;
|
|
71798
|
+
}
|
|
71799
|
+
|
|
71800
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
71801
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
71802
|
+
}
|
|
71803
|
+
|
|
71804
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
71805
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
71806
|
+
}
|
|
71807
|
+
|
|
71808
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
71809
|
+
query: OpenApiUtil.query(query),
|
|
71810
|
+
});
|
|
71811
|
+
let params = new $OpenApi.Params({
|
|
71812
|
+
action: "GetPublicIpAddressPoolServiceStatus",
|
|
71813
|
+
version: "2016-04-28",
|
|
71814
|
+
protocol: "HTTPS",
|
|
71815
|
+
pathname: "/",
|
|
71816
|
+
method: "POST",
|
|
71817
|
+
authType: "AK",
|
|
71818
|
+
style: "RPC",
|
|
71819
|
+
reqBodyType: "formData",
|
|
71820
|
+
bodyType: "json",
|
|
71821
|
+
});
|
|
71822
|
+
return $tea.cast<GetPublicIpAddressPoolServiceStatusResponse>(await this.callApi(params, req, runtime), new GetPublicIpAddressPoolServiceStatusResponse({}));
|
|
71823
|
+
}
|
|
71824
|
+
|
|
71825
|
+
/**
|
|
71826
|
+
* @summary Queries whether the IP address pool feature is enabled.
|
|
71827
|
+
*
|
|
71828
|
+
* @param request GetPublicIpAddressPoolServiceStatusRequest
|
|
71829
|
+
* @return GetPublicIpAddressPoolServiceStatusResponse
|
|
71830
|
+
*/
|
|
71831
|
+
async getPublicIpAddressPoolServiceStatus(request: GetPublicIpAddressPoolServiceStatusRequest): Promise<GetPublicIpAddressPoolServiceStatusResponse> {
|
|
71832
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
71833
|
+
return await this.getPublicIpAddressPoolServiceStatusWithOptions(request, runtime);
|
|
71834
|
+
}
|
|
71835
|
+
|
|
71567
71836
|
/**
|
|
71568
71837
|
* @summary Queries the status of the traffic mirroring feature.
|
|
71569
71838
|
*
|
|
@@ -73180,7 +73449,7 @@ export default class Client extends OpenApi {
|
|
|
73180
73449
|
}
|
|
73181
73450
|
|
|
73182
73451
|
/**
|
|
73183
|
-
* @summary Queries
|
|
73452
|
+
* @summary Queries available IP address pools.
|
|
73184
73453
|
*
|
|
73185
73454
|
* @param request ListPublicIpAddressPoolsRequest
|
|
73186
73455
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -73267,7 +73536,7 @@ export default class Client extends OpenApi {
|
|
|
73267
73536
|
}
|
|
73268
73537
|
|
|
73269
73538
|
/**
|
|
73270
|
-
* @summary Queries
|
|
73539
|
+
* @summary Queries available IP address pools.
|
|
73271
73540
|
*
|
|
73272
73541
|
* @param request ListPublicIpAddressPoolsRequest
|
|
73273
73542
|
* @return ListPublicIpAddressPoolsResponse
|
|
@@ -76897,6 +77166,10 @@ export default class Client extends OpenApi {
|
|
|
76897
77166
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
76898
77167
|
}
|
|
76899
77168
|
|
|
77169
|
+
if (!Util.isUnset(request.routePropagationEnable)) {
|
|
77170
|
+
query["RoutePropagationEnable"] = request.routePropagationEnable;
|
|
77171
|
+
}
|
|
77172
|
+
|
|
76900
77173
|
if (!Util.isUnset(request.routeTableId)) {
|
|
76901
77174
|
query["RouteTableId"] = request.routeTableId;
|
|
76902
77175
|
}
|
|
@@ -79206,6 +79479,72 @@ export default class Client extends OpenApi {
|
|
|
79206
79479
|
return await this.openPhysicalConnectionServiceWithOptions(request, runtime);
|
|
79207
79480
|
}
|
|
79208
79481
|
|
|
79482
|
+
/**
|
|
79483
|
+
* @summary 开通IP地址池功能。
|
|
79484
|
+
*
|
|
79485
|
+
* @param request OpenPublicIpAddressPoolServiceRequest
|
|
79486
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
79487
|
+
* @return OpenPublicIpAddressPoolServiceResponse
|
|
79488
|
+
*/
|
|
79489
|
+
async openPublicIpAddressPoolServiceWithOptions(request: OpenPublicIpAddressPoolServiceRequest, runtime: $Util.RuntimeOptions): Promise<OpenPublicIpAddressPoolServiceResponse> {
|
|
79490
|
+
Util.validateModel(request);
|
|
79491
|
+
let query = { };
|
|
79492
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
79493
|
+
query["ClientToken"] = request.clientToken;
|
|
79494
|
+
}
|
|
79495
|
+
|
|
79496
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
79497
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
79498
|
+
}
|
|
79499
|
+
|
|
79500
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
79501
|
+
query["OwnerId"] = request.ownerId;
|
|
79502
|
+
}
|
|
79503
|
+
|
|
79504
|
+
if (!Util.isUnset(request.regionId)) {
|
|
79505
|
+
query["RegionId"] = request.regionId;
|
|
79506
|
+
}
|
|
79507
|
+
|
|
79508
|
+
if (!Util.isUnset(request.regionId)) {
|
|
79509
|
+
query["RegionId"] = request.regionId;
|
|
79510
|
+
}
|
|
79511
|
+
|
|
79512
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
79513
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
79514
|
+
}
|
|
79515
|
+
|
|
79516
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
79517
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
79518
|
+
}
|
|
79519
|
+
|
|
79520
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
79521
|
+
query: OpenApiUtil.query(query),
|
|
79522
|
+
});
|
|
79523
|
+
let params = new $OpenApi.Params({
|
|
79524
|
+
action: "OpenPublicIpAddressPoolService",
|
|
79525
|
+
version: "2016-04-28",
|
|
79526
|
+
protocol: "HTTPS",
|
|
79527
|
+
pathname: "/",
|
|
79528
|
+
method: "POST",
|
|
79529
|
+
authType: "AK",
|
|
79530
|
+
style: "RPC",
|
|
79531
|
+
reqBodyType: "formData",
|
|
79532
|
+
bodyType: "json",
|
|
79533
|
+
});
|
|
79534
|
+
return $tea.cast<OpenPublicIpAddressPoolServiceResponse>(await this.callApi(params, req, runtime), new OpenPublicIpAddressPoolServiceResponse({}));
|
|
79535
|
+
}
|
|
79536
|
+
|
|
79537
|
+
/**
|
|
79538
|
+
* @summary 开通IP地址池功能。
|
|
79539
|
+
*
|
|
79540
|
+
* @param request OpenPublicIpAddressPoolServiceRequest
|
|
79541
|
+
* @return OpenPublicIpAddressPoolServiceResponse
|
|
79542
|
+
*/
|
|
79543
|
+
async openPublicIpAddressPoolService(request: OpenPublicIpAddressPoolServiceRequest): Promise<OpenPublicIpAddressPoolServiceResponse> {
|
|
79544
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
79545
|
+
return await this.openPublicIpAddressPoolServiceWithOptions(request, runtime);
|
|
79546
|
+
}
|
|
79547
|
+
|
|
79209
79548
|
/**
|
|
79210
79549
|
* @summary Enables traffic mirroring.
|
|
79211
79550
|
*
|
|
@@ -81816,6 +82155,10 @@ export default class Client extends OpenApi {
|
|
|
81816
82155
|
query["Description"] = request.description;
|
|
81817
82156
|
}
|
|
81818
82157
|
|
|
82158
|
+
if (!Util.isUnset(request.dryRun)) {
|
|
82159
|
+
query["DryRun"] = request.dryRun;
|
|
82160
|
+
}
|
|
82161
|
+
|
|
81819
82162
|
if (!Util.isUnset(request.jobDuration)) {
|
|
81820
82163
|
query["JobDuration"] = request.jobDuration;
|
|
81821
82164
|
}
|