@alicloud/vpc20160428 6.4.9 → 6.5.0
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 +135 -0
- package/dist/client.js +288 -19
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +329 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/vpc20160428",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
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',
|
|
@@ -17241,6 +17244,7 @@ export class DescribeIPv6TranslatorsResponse extends $tea.Model {
|
|
|
17241
17244
|
}
|
|
17242
17245
|
|
|
17243
17246
|
export class DescribeIpv6AddressesRequest extends $tea.Model {
|
|
17247
|
+
addressType?: string;
|
|
17244
17248
|
associatedInstanceId?: string;
|
|
17245
17249
|
associatedInstanceType?: string;
|
|
17246
17250
|
includeReservationData?: boolean;
|
|
@@ -17263,6 +17267,7 @@ export class DescribeIpv6AddressesRequest extends $tea.Model {
|
|
|
17263
17267
|
vpcId?: string;
|
|
17264
17268
|
static names(): { [key: string]: string } {
|
|
17265
17269
|
return {
|
|
17270
|
+
addressType: 'AddressType',
|
|
17266
17271
|
associatedInstanceId: 'AssociatedInstanceId',
|
|
17267
17272
|
associatedInstanceType: 'AssociatedInstanceType',
|
|
17268
17273
|
includeReservationData: 'IncludeReservationData',
|
|
@@ -17288,6 +17293,7 @@ export class DescribeIpv6AddressesRequest extends $tea.Model {
|
|
|
17288
17293
|
|
|
17289
17294
|
static types(): { [key: string]: any } {
|
|
17290
17295
|
return {
|
|
17296
|
+
addressType: 'string',
|
|
17291
17297
|
associatedInstanceId: 'string',
|
|
17292
17298
|
associatedInstanceType: 'string',
|
|
17293
17299
|
includeReservationData: 'boolean',
|
|
@@ -23954,6 +23960,87 @@ export class GetPhysicalConnectionServiceStatusResponse extends $tea.Model {
|
|
|
23954
23960
|
}
|
|
23955
23961
|
}
|
|
23956
23962
|
|
|
23963
|
+
export class GetPublicIpAddressPoolServiceStatusRequest extends $tea.Model {
|
|
23964
|
+
clientToken?: string;
|
|
23965
|
+
ownerAccount?: string;
|
|
23966
|
+
ownerId?: number;
|
|
23967
|
+
regionId?: string;
|
|
23968
|
+
resourceOwnerAccount?: string;
|
|
23969
|
+
resourceOwnerId?: number;
|
|
23970
|
+
static names(): { [key: string]: string } {
|
|
23971
|
+
return {
|
|
23972
|
+
clientToken: 'ClientToken',
|
|
23973
|
+
ownerAccount: 'OwnerAccount',
|
|
23974
|
+
ownerId: 'OwnerId',
|
|
23975
|
+
regionId: 'RegionId',
|
|
23976
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
23977
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
23978
|
+
};
|
|
23979
|
+
}
|
|
23980
|
+
|
|
23981
|
+
static types(): { [key: string]: any } {
|
|
23982
|
+
return {
|
|
23983
|
+
clientToken: 'string',
|
|
23984
|
+
ownerAccount: 'string',
|
|
23985
|
+
ownerId: 'number',
|
|
23986
|
+
regionId: 'string',
|
|
23987
|
+
resourceOwnerAccount: 'string',
|
|
23988
|
+
resourceOwnerId: 'number',
|
|
23989
|
+
};
|
|
23990
|
+
}
|
|
23991
|
+
|
|
23992
|
+
constructor(map?: { [key: string]: any }) {
|
|
23993
|
+
super(map);
|
|
23994
|
+
}
|
|
23995
|
+
}
|
|
23996
|
+
|
|
23997
|
+
export class GetPublicIpAddressPoolServiceStatusResponseBody extends $tea.Model {
|
|
23998
|
+
enabled?: boolean;
|
|
23999
|
+
requestId?: string;
|
|
24000
|
+
static names(): { [key: string]: string } {
|
|
24001
|
+
return {
|
|
24002
|
+
enabled: 'Enabled',
|
|
24003
|
+
requestId: 'RequestId',
|
|
24004
|
+
};
|
|
24005
|
+
}
|
|
24006
|
+
|
|
24007
|
+
static types(): { [key: string]: any } {
|
|
24008
|
+
return {
|
|
24009
|
+
enabled: 'boolean',
|
|
24010
|
+
requestId: 'string',
|
|
24011
|
+
};
|
|
24012
|
+
}
|
|
24013
|
+
|
|
24014
|
+
constructor(map?: { [key: string]: any }) {
|
|
24015
|
+
super(map);
|
|
24016
|
+
}
|
|
24017
|
+
}
|
|
24018
|
+
|
|
24019
|
+
export class GetPublicIpAddressPoolServiceStatusResponse extends $tea.Model {
|
|
24020
|
+
headers?: { [key: string]: string };
|
|
24021
|
+
statusCode?: number;
|
|
24022
|
+
body?: GetPublicIpAddressPoolServiceStatusResponseBody;
|
|
24023
|
+
static names(): { [key: string]: string } {
|
|
24024
|
+
return {
|
|
24025
|
+
headers: 'headers',
|
|
24026
|
+
statusCode: 'statusCode',
|
|
24027
|
+
body: 'body',
|
|
24028
|
+
};
|
|
24029
|
+
}
|
|
24030
|
+
|
|
24031
|
+
static types(): { [key: string]: any } {
|
|
24032
|
+
return {
|
|
24033
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
24034
|
+
statusCode: 'number',
|
|
24035
|
+
body: GetPublicIpAddressPoolServiceStatusResponseBody,
|
|
24036
|
+
};
|
|
24037
|
+
}
|
|
24038
|
+
|
|
24039
|
+
constructor(map?: { [key: string]: any }) {
|
|
24040
|
+
super(map);
|
|
24041
|
+
}
|
|
24042
|
+
}
|
|
24043
|
+
|
|
23957
24044
|
export class GetTrafficMirrorServiceStatusRequest extends $tea.Model {
|
|
23958
24045
|
clientToken?: string;
|
|
23959
24046
|
ownerAccount?: string;
|
|
@@ -30205,6 +30292,7 @@ export class ModifyRouteTableAttributesRequest extends $tea.Model {
|
|
|
30205
30292
|
regionId?: string;
|
|
30206
30293
|
resourceOwnerAccount?: string;
|
|
30207
30294
|
resourceOwnerId?: number;
|
|
30295
|
+
routePropagationEnable?: boolean;
|
|
30208
30296
|
routeTableId?: string;
|
|
30209
30297
|
routeTableName?: string;
|
|
30210
30298
|
static names(): { [key: string]: string } {
|
|
@@ -30215,6 +30303,7 @@ export class ModifyRouteTableAttributesRequest extends $tea.Model {
|
|
|
30215
30303
|
regionId: 'RegionId',
|
|
30216
30304
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
30217
30305
|
resourceOwnerId: 'ResourceOwnerId',
|
|
30306
|
+
routePropagationEnable: 'RoutePropagationEnable',
|
|
30218
30307
|
routeTableId: 'RouteTableId',
|
|
30219
30308
|
routeTableName: 'RouteTableName',
|
|
30220
30309
|
};
|
|
@@ -30228,6 +30317,7 @@ export class ModifyRouteTableAttributesRequest extends $tea.Model {
|
|
|
30228
30317
|
regionId: 'string',
|
|
30229
30318
|
resourceOwnerAccount: 'string',
|
|
30230
30319
|
resourceOwnerId: 'number',
|
|
30320
|
+
routePropagationEnable: 'boolean',
|
|
30231
30321
|
routeTableId: 'string',
|
|
30232
30322
|
routeTableName: 'string',
|
|
30233
30323
|
};
|
|
@@ -32868,6 +32958,90 @@ export class OpenPhysicalConnectionServiceResponse extends $tea.Model {
|
|
|
32868
32958
|
}
|
|
32869
32959
|
}
|
|
32870
32960
|
|
|
32961
|
+
export class OpenPublicIpAddressPoolServiceRequest extends $tea.Model {
|
|
32962
|
+
clientToken?: string;
|
|
32963
|
+
ownerAccount?: string;
|
|
32964
|
+
ownerId?: number;
|
|
32965
|
+
regionId?: string;
|
|
32966
|
+
resourceOwnerAccount?: string;
|
|
32967
|
+
resourceOwnerId?: number;
|
|
32968
|
+
static names(): { [key: string]: string } {
|
|
32969
|
+
return {
|
|
32970
|
+
clientToken: 'ClientToken',
|
|
32971
|
+
ownerAccount: 'OwnerAccount',
|
|
32972
|
+
ownerId: 'OwnerId',
|
|
32973
|
+
regionId: 'RegionId',
|
|
32974
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
32975
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
32976
|
+
};
|
|
32977
|
+
}
|
|
32978
|
+
|
|
32979
|
+
static types(): { [key: string]: any } {
|
|
32980
|
+
return {
|
|
32981
|
+
clientToken: 'string',
|
|
32982
|
+
ownerAccount: 'string',
|
|
32983
|
+
ownerId: 'number',
|
|
32984
|
+
regionId: 'string',
|
|
32985
|
+
resourceOwnerAccount: 'string',
|
|
32986
|
+
resourceOwnerId: 'number',
|
|
32987
|
+
};
|
|
32988
|
+
}
|
|
32989
|
+
|
|
32990
|
+
constructor(map?: { [key: string]: any }) {
|
|
32991
|
+
super(map);
|
|
32992
|
+
}
|
|
32993
|
+
}
|
|
32994
|
+
|
|
32995
|
+
export class OpenPublicIpAddressPoolServiceResponseBody extends $tea.Model {
|
|
32996
|
+
code?: string;
|
|
32997
|
+
message?: string;
|
|
32998
|
+
requestId?: string;
|
|
32999
|
+
static names(): { [key: string]: string } {
|
|
33000
|
+
return {
|
|
33001
|
+
code: 'Code',
|
|
33002
|
+
message: 'Message',
|
|
33003
|
+
requestId: 'RequestId',
|
|
33004
|
+
};
|
|
33005
|
+
}
|
|
33006
|
+
|
|
33007
|
+
static types(): { [key: string]: any } {
|
|
33008
|
+
return {
|
|
33009
|
+
code: 'string',
|
|
33010
|
+
message: 'string',
|
|
33011
|
+
requestId: 'string',
|
|
33012
|
+
};
|
|
33013
|
+
}
|
|
33014
|
+
|
|
33015
|
+
constructor(map?: { [key: string]: any }) {
|
|
33016
|
+
super(map);
|
|
33017
|
+
}
|
|
33018
|
+
}
|
|
33019
|
+
|
|
33020
|
+
export class OpenPublicIpAddressPoolServiceResponse extends $tea.Model {
|
|
33021
|
+
headers?: { [key: string]: string };
|
|
33022
|
+
statusCode?: number;
|
|
33023
|
+
body?: OpenPublicIpAddressPoolServiceResponseBody;
|
|
33024
|
+
static names(): { [key: string]: string } {
|
|
33025
|
+
return {
|
|
33026
|
+
headers: 'headers',
|
|
33027
|
+
statusCode: 'statusCode',
|
|
33028
|
+
body: 'body',
|
|
33029
|
+
};
|
|
33030
|
+
}
|
|
33031
|
+
|
|
33032
|
+
static types(): { [key: string]: any } {
|
|
33033
|
+
return {
|
|
33034
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
33035
|
+
statusCode: 'number',
|
|
33036
|
+
body: OpenPublicIpAddressPoolServiceResponseBody,
|
|
33037
|
+
};
|
|
33038
|
+
}
|
|
33039
|
+
|
|
33040
|
+
constructor(map?: { [key: string]: any }) {
|
|
33041
|
+
super(map);
|
|
33042
|
+
}
|
|
33043
|
+
}
|
|
33044
|
+
|
|
32871
33045
|
export class OpenTrafficMirrorServiceRequest extends $tea.Model {
|
|
32872
33046
|
clientToken?: string;
|
|
32873
33047
|
ownerAccount?: string;
|
|
@@ -41300,6 +41474,7 @@ export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6AddressTags exten
|
|
|
41300
41474
|
}
|
|
41301
41475
|
|
|
41302
41476
|
export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $tea.Model {
|
|
41477
|
+
addressType?: string;
|
|
41303
41478
|
allocationTime?: string;
|
|
41304
41479
|
associatedInstanceId?: string;
|
|
41305
41480
|
associatedInstanceType?: string;
|
|
@@ -41320,6 +41495,7 @@ export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $
|
|
|
41320
41495
|
vpcId?: string;
|
|
41321
41496
|
static names(): { [key: string]: string } {
|
|
41322
41497
|
return {
|
|
41498
|
+
addressType: 'AddressType',
|
|
41323
41499
|
allocationTime: 'AllocationTime',
|
|
41324
41500
|
associatedInstanceId: 'AssociatedInstanceId',
|
|
41325
41501
|
associatedInstanceType: 'AssociatedInstanceType',
|
|
@@ -41343,6 +41519,7 @@ export class DescribeIpv6AddressesResponseBodyIpv6AddressesIpv6Address extends $
|
|
|
41343
41519
|
|
|
41344
41520
|
static types(): { [key: string]: any } {
|
|
41345
41521
|
return {
|
|
41522
|
+
addressType: 'string',
|
|
41346
41523
|
allocationTime: 'string',
|
|
41347
41524
|
associatedInstanceId: 'string',
|
|
41348
41525
|
associatedInstanceType: 'string',
|
|
@@ -51817,6 +51994,10 @@ export default class Client extends OpenApi {
|
|
|
51817
51994
|
async allocateIpv6AddressWithOptions(request: AllocateIpv6AddressRequest, runtime: $Util.RuntimeOptions): Promise<AllocateIpv6AddressResponse> {
|
|
51818
51995
|
Util.validateModel(request);
|
|
51819
51996
|
let query = { };
|
|
51997
|
+
if (!Util.isUnset(request.addressType)) {
|
|
51998
|
+
query["AddressType"] = request.addressType;
|
|
51999
|
+
}
|
|
52000
|
+
|
|
51820
52001
|
if (!Util.isUnset(request.clientToken)) {
|
|
51821
52002
|
query["ClientToken"] = request.clientToken;
|
|
51822
52003
|
}
|
|
@@ -57040,6 +57221,8 @@ export default class Client extends OpenApi {
|
|
|
57040
57221
|
}
|
|
57041
57222
|
|
|
57042
57223
|
/**
|
|
57224
|
+
* @summary 创建端口初装费订单
|
|
57225
|
+
*
|
|
57043
57226
|
* @param request CreatePhysicalConnectionSetupOrderRequest
|
|
57044
57227
|
* @param runtime runtime options for this request RuntimeOptions
|
|
57045
57228
|
* @return CreatePhysicalConnectionSetupOrderResponse
|
|
@@ -57113,6 +57296,8 @@ export default class Client extends OpenApi {
|
|
|
57113
57296
|
}
|
|
57114
57297
|
|
|
57115
57298
|
/**
|
|
57299
|
+
* @summary 创建端口初装费订单
|
|
57300
|
+
*
|
|
57116
57301
|
* @param request CreatePhysicalConnectionSetupOrderRequest
|
|
57117
57302
|
* @return CreatePhysicalConnectionSetupOrderResponse
|
|
57118
57303
|
*/
|
|
@@ -66638,6 +66823,10 @@ export default class Client extends OpenApi {
|
|
|
66638
66823
|
async describeIpv6AddressesWithOptions(request: DescribeIpv6AddressesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpv6AddressesResponse> {
|
|
66639
66824
|
Util.validateModel(request);
|
|
66640
66825
|
let query = { };
|
|
66826
|
+
if (!Util.isUnset(request.addressType)) {
|
|
66827
|
+
query["AddressType"] = request.addressType;
|
|
66828
|
+
}
|
|
66829
|
+
|
|
66641
66830
|
if (!Util.isUnset(request.associatedInstanceId)) {
|
|
66642
66831
|
query["AssociatedInstanceId"] = request.associatedInstanceId;
|
|
66643
66832
|
}
|
|
@@ -66751,6 +66940,8 @@ export default class Client extends OpenApi {
|
|
|
66751
66940
|
}
|
|
66752
66941
|
|
|
66753
66942
|
/**
|
|
66943
|
+
* @summary 查询创建的仅主动出规则。
|
|
66944
|
+
*
|
|
66754
66945
|
* @param request DescribeIpv6EgressOnlyRulesRequest
|
|
66755
66946
|
* @param runtime runtime options for this request RuntimeOptions
|
|
66756
66947
|
* @return DescribeIpv6EgressOnlyRulesResponse
|
|
@@ -66828,6 +67019,8 @@ export default class Client extends OpenApi {
|
|
|
66828
67019
|
}
|
|
66829
67020
|
|
|
66830
67021
|
/**
|
|
67022
|
+
* @summary 查询创建的仅主动出规则。
|
|
67023
|
+
*
|
|
66831
67024
|
* @param request DescribeIpv6EgressOnlyRulesRequest
|
|
66832
67025
|
* @return DescribeIpv6EgressOnlyRulesResponse
|
|
66833
67026
|
*/
|
|
@@ -71564,6 +71757,72 @@ export default class Client extends OpenApi {
|
|
|
71564
71757
|
return await this.getPhysicalConnectionServiceStatusWithOptions(request, runtime);
|
|
71565
71758
|
}
|
|
71566
71759
|
|
|
71760
|
+
/**
|
|
71761
|
+
* @summary 查询IP地址池功能的开通状态。
|
|
71762
|
+
*
|
|
71763
|
+
* @param request GetPublicIpAddressPoolServiceStatusRequest
|
|
71764
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
71765
|
+
* @return GetPublicIpAddressPoolServiceStatusResponse
|
|
71766
|
+
*/
|
|
71767
|
+
async getPublicIpAddressPoolServiceStatusWithOptions(request: GetPublicIpAddressPoolServiceStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetPublicIpAddressPoolServiceStatusResponse> {
|
|
71768
|
+
Util.validateModel(request);
|
|
71769
|
+
let query = { };
|
|
71770
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
71771
|
+
query["ClientToken"] = request.clientToken;
|
|
71772
|
+
}
|
|
71773
|
+
|
|
71774
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
71775
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
71776
|
+
}
|
|
71777
|
+
|
|
71778
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
71779
|
+
query["OwnerId"] = request.ownerId;
|
|
71780
|
+
}
|
|
71781
|
+
|
|
71782
|
+
if (!Util.isUnset(request.regionId)) {
|
|
71783
|
+
query["RegionId"] = request.regionId;
|
|
71784
|
+
}
|
|
71785
|
+
|
|
71786
|
+
if (!Util.isUnset(request.regionId)) {
|
|
71787
|
+
query["RegionId"] = request.regionId;
|
|
71788
|
+
}
|
|
71789
|
+
|
|
71790
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
71791
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
71792
|
+
}
|
|
71793
|
+
|
|
71794
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
71795
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
71796
|
+
}
|
|
71797
|
+
|
|
71798
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
71799
|
+
query: OpenApiUtil.query(query),
|
|
71800
|
+
});
|
|
71801
|
+
let params = new $OpenApi.Params({
|
|
71802
|
+
action: "GetPublicIpAddressPoolServiceStatus",
|
|
71803
|
+
version: "2016-04-28",
|
|
71804
|
+
protocol: "HTTPS",
|
|
71805
|
+
pathname: "/",
|
|
71806
|
+
method: "POST",
|
|
71807
|
+
authType: "AK",
|
|
71808
|
+
style: "RPC",
|
|
71809
|
+
reqBodyType: "formData",
|
|
71810
|
+
bodyType: "json",
|
|
71811
|
+
});
|
|
71812
|
+
return $tea.cast<GetPublicIpAddressPoolServiceStatusResponse>(await this.callApi(params, req, runtime), new GetPublicIpAddressPoolServiceStatusResponse({}));
|
|
71813
|
+
}
|
|
71814
|
+
|
|
71815
|
+
/**
|
|
71816
|
+
* @summary 查询IP地址池功能的开通状态。
|
|
71817
|
+
*
|
|
71818
|
+
* @param request GetPublicIpAddressPoolServiceStatusRequest
|
|
71819
|
+
* @return GetPublicIpAddressPoolServiceStatusResponse
|
|
71820
|
+
*/
|
|
71821
|
+
async getPublicIpAddressPoolServiceStatus(request: GetPublicIpAddressPoolServiceStatusRequest): Promise<GetPublicIpAddressPoolServiceStatusResponse> {
|
|
71822
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
71823
|
+
return await this.getPublicIpAddressPoolServiceStatusWithOptions(request, runtime);
|
|
71824
|
+
}
|
|
71825
|
+
|
|
71567
71826
|
/**
|
|
71568
71827
|
* @summary Queries the status of the traffic mirroring feature.
|
|
71569
71828
|
*
|
|
@@ -76897,6 +77156,10 @@ export default class Client extends OpenApi {
|
|
|
76897
77156
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
76898
77157
|
}
|
|
76899
77158
|
|
|
77159
|
+
if (!Util.isUnset(request.routePropagationEnable)) {
|
|
77160
|
+
query["RoutePropagationEnable"] = request.routePropagationEnable;
|
|
77161
|
+
}
|
|
77162
|
+
|
|
76900
77163
|
if (!Util.isUnset(request.routeTableId)) {
|
|
76901
77164
|
query["RouteTableId"] = request.routeTableId;
|
|
76902
77165
|
}
|
|
@@ -79206,6 +79469,72 @@ export default class Client extends OpenApi {
|
|
|
79206
79469
|
return await this.openPhysicalConnectionServiceWithOptions(request, runtime);
|
|
79207
79470
|
}
|
|
79208
79471
|
|
|
79472
|
+
/**
|
|
79473
|
+
* @summary 开通IP地址池功能。
|
|
79474
|
+
*
|
|
79475
|
+
* @param request OpenPublicIpAddressPoolServiceRequest
|
|
79476
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
79477
|
+
* @return OpenPublicIpAddressPoolServiceResponse
|
|
79478
|
+
*/
|
|
79479
|
+
async openPublicIpAddressPoolServiceWithOptions(request: OpenPublicIpAddressPoolServiceRequest, runtime: $Util.RuntimeOptions): Promise<OpenPublicIpAddressPoolServiceResponse> {
|
|
79480
|
+
Util.validateModel(request);
|
|
79481
|
+
let query = { };
|
|
79482
|
+
if (!Util.isUnset(request.clientToken)) {
|
|
79483
|
+
query["ClientToken"] = request.clientToken;
|
|
79484
|
+
}
|
|
79485
|
+
|
|
79486
|
+
if (!Util.isUnset(request.ownerAccount)) {
|
|
79487
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
79488
|
+
}
|
|
79489
|
+
|
|
79490
|
+
if (!Util.isUnset(request.ownerId)) {
|
|
79491
|
+
query["OwnerId"] = request.ownerId;
|
|
79492
|
+
}
|
|
79493
|
+
|
|
79494
|
+
if (!Util.isUnset(request.regionId)) {
|
|
79495
|
+
query["RegionId"] = request.regionId;
|
|
79496
|
+
}
|
|
79497
|
+
|
|
79498
|
+
if (!Util.isUnset(request.regionId)) {
|
|
79499
|
+
query["RegionId"] = request.regionId;
|
|
79500
|
+
}
|
|
79501
|
+
|
|
79502
|
+
if (!Util.isUnset(request.resourceOwnerAccount)) {
|
|
79503
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
79504
|
+
}
|
|
79505
|
+
|
|
79506
|
+
if (!Util.isUnset(request.resourceOwnerId)) {
|
|
79507
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
79508
|
+
}
|
|
79509
|
+
|
|
79510
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
79511
|
+
query: OpenApiUtil.query(query),
|
|
79512
|
+
});
|
|
79513
|
+
let params = new $OpenApi.Params({
|
|
79514
|
+
action: "OpenPublicIpAddressPoolService",
|
|
79515
|
+
version: "2016-04-28",
|
|
79516
|
+
protocol: "HTTPS",
|
|
79517
|
+
pathname: "/",
|
|
79518
|
+
method: "POST",
|
|
79519
|
+
authType: "AK",
|
|
79520
|
+
style: "RPC",
|
|
79521
|
+
reqBodyType: "formData",
|
|
79522
|
+
bodyType: "json",
|
|
79523
|
+
});
|
|
79524
|
+
return $tea.cast<OpenPublicIpAddressPoolServiceResponse>(await this.callApi(params, req, runtime), new OpenPublicIpAddressPoolServiceResponse({}));
|
|
79525
|
+
}
|
|
79526
|
+
|
|
79527
|
+
/**
|
|
79528
|
+
* @summary 开通IP地址池功能。
|
|
79529
|
+
*
|
|
79530
|
+
* @param request OpenPublicIpAddressPoolServiceRequest
|
|
79531
|
+
* @return OpenPublicIpAddressPoolServiceResponse
|
|
79532
|
+
*/
|
|
79533
|
+
async openPublicIpAddressPoolService(request: OpenPublicIpAddressPoolServiceRequest): Promise<OpenPublicIpAddressPoolServiceResponse> {
|
|
79534
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
79535
|
+
return await this.openPublicIpAddressPoolServiceWithOptions(request, runtime);
|
|
79536
|
+
}
|
|
79537
|
+
|
|
79209
79538
|
/**
|
|
79210
79539
|
* @summary Enables traffic mirroring.
|
|
79211
79540
|
*
|