@alicloud/cloudfw20171207 1.1.7 → 1.1.9
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 +8 -53
- package/dist/client.js +22 -130
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +32 -165
package/dist/client.d.ts
CHANGED
|
@@ -241,56 +241,6 @@ export declare class CreateVpcFirewallCenConfigureResponse extends $tea.Model {
|
|
|
241
241
|
[key: string]: any;
|
|
242
242
|
});
|
|
243
243
|
}
|
|
244
|
-
export declare class CreateVpcFirewallConfigureRequest extends $tea.Model {
|
|
245
|
-
firewallSwitch?: string;
|
|
246
|
-
lang?: string;
|
|
247
|
-
localVpcCidrTableList?: string;
|
|
248
|
-
localVpcId?: string;
|
|
249
|
-
localVpcRegion?: string;
|
|
250
|
-
memberUid?: string;
|
|
251
|
-
peerVpcCidrTableList?: string;
|
|
252
|
-
peerVpcId?: string;
|
|
253
|
-
peerVpcRegion?: string;
|
|
254
|
-
vpcFirewallName?: string;
|
|
255
|
-
static names(): {
|
|
256
|
-
[key: string]: string;
|
|
257
|
-
};
|
|
258
|
-
static types(): {
|
|
259
|
-
[key: string]: any;
|
|
260
|
-
};
|
|
261
|
-
constructor(map?: {
|
|
262
|
-
[key: string]: any;
|
|
263
|
-
});
|
|
264
|
-
}
|
|
265
|
-
export declare class CreateVpcFirewallConfigureResponseBody extends $tea.Model {
|
|
266
|
-
requestId?: string;
|
|
267
|
-
vpcFirewallId?: string;
|
|
268
|
-
static names(): {
|
|
269
|
-
[key: string]: string;
|
|
270
|
-
};
|
|
271
|
-
static types(): {
|
|
272
|
-
[key: string]: any;
|
|
273
|
-
};
|
|
274
|
-
constructor(map?: {
|
|
275
|
-
[key: string]: any;
|
|
276
|
-
});
|
|
277
|
-
}
|
|
278
|
-
export declare class CreateVpcFirewallConfigureResponse extends $tea.Model {
|
|
279
|
-
headers: {
|
|
280
|
-
[key: string]: string;
|
|
281
|
-
};
|
|
282
|
-
statusCode: number;
|
|
283
|
-
body: CreateVpcFirewallConfigureResponseBody;
|
|
284
|
-
static names(): {
|
|
285
|
-
[key: string]: string;
|
|
286
|
-
};
|
|
287
|
-
static types(): {
|
|
288
|
-
[key: string]: any;
|
|
289
|
-
};
|
|
290
|
-
constructor(map?: {
|
|
291
|
-
[key: string]: any;
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
244
|
export declare class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
295
245
|
aclAction?: string;
|
|
296
246
|
applicationName?: string;
|
|
@@ -1470,6 +1420,7 @@ export declare class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
1470
1420
|
connectType?: string;
|
|
1471
1421
|
firewallSwitchStatus?: string;
|
|
1472
1422
|
localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
|
|
1423
|
+
memberUid?: string;
|
|
1473
1424
|
peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
|
|
1474
1425
|
requestId?: string;
|
|
1475
1426
|
vpcFirewallId?: string;
|
|
@@ -1501,11 +1452,13 @@ export declare class DescribeVpcFirewallDetailResponse extends $tea.Model {
|
|
|
1501
1452
|
});
|
|
1502
1453
|
}
|
|
1503
1454
|
export declare class DescribeVpcFirewallListRequest extends $tea.Model {
|
|
1455
|
+
connectSubType?: string;
|
|
1504
1456
|
currentPage?: string;
|
|
1505
1457
|
firewallSwitchStatus?: string;
|
|
1506
1458
|
lang?: string;
|
|
1507
1459
|
memberUid?: string;
|
|
1508
1460
|
pageSize?: string;
|
|
1461
|
+
peerUid?: string;
|
|
1509
1462
|
regionNo?: string;
|
|
1510
1463
|
vpcFirewallId?: string;
|
|
1511
1464
|
vpcFirewallName?: string;
|
|
@@ -1654,7 +1607,6 @@ export declare class ModifyControlPolicyRequest extends $tea.Model {
|
|
|
1654
1607
|
destinationType?: string;
|
|
1655
1608
|
direction?: string;
|
|
1656
1609
|
lang?: string;
|
|
1657
|
-
messageType?: string;
|
|
1658
1610
|
proto?: string;
|
|
1659
1611
|
release?: string;
|
|
1660
1612
|
source?: string;
|
|
@@ -2776,6 +2728,7 @@ export declare class DescribeRiskEventGroupResponseBodyDataList extends $tea.Mod
|
|
|
2776
2728
|
ruleResult?: number;
|
|
2777
2729
|
ruleSource?: number;
|
|
2778
2730
|
srcIP?: string;
|
|
2731
|
+
srcIPTag?: string;
|
|
2779
2732
|
srcPrivateIPList?: string[];
|
|
2780
2733
|
tag?: string;
|
|
2781
2734
|
vpcDstInfo?: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo;
|
|
@@ -2972,6 +2925,7 @@ export declare class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends
|
|
|
2972
2925
|
destPortType?: string;
|
|
2973
2926
|
destination?: string;
|
|
2974
2927
|
destinationGroupCidrs?: string[];
|
|
2928
|
+
destinationGroupType?: string;
|
|
2975
2929
|
destinationType?: string;
|
|
2976
2930
|
hitTimes?: number;
|
|
2977
2931
|
memberUid?: string;
|
|
@@ -2980,6 +2934,7 @@ export declare class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends
|
|
|
2980
2934
|
release?: string;
|
|
2981
2935
|
source?: string;
|
|
2982
2936
|
sourceGroupCidrs?: string[];
|
|
2937
|
+
sourceGroupType?: string;
|
|
2983
2938
|
sourceType?: string;
|
|
2984
2939
|
static names(): {
|
|
2985
2940
|
[key: string]: string;
|
|
@@ -3181,6 +3136,7 @@ export declare class DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc exte
|
|
|
3181
3136
|
}
|
|
3182
3137
|
export declare class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
3183
3138
|
bandwidth?: number;
|
|
3139
|
+
connectSubType?: string;
|
|
3184
3140
|
connectType?: string;
|
|
3185
3141
|
firewallSwitchStatus?: string;
|
|
3186
3142
|
ipsConfig?: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig;
|
|
@@ -3188,6 +3144,7 @@ export declare class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $te
|
|
|
3188
3144
|
memberUid?: string;
|
|
3189
3145
|
peerVpc?: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc;
|
|
3190
3146
|
regionStatus?: string;
|
|
3147
|
+
resultCode?: string;
|
|
3191
3148
|
vpcFirewallId?: string;
|
|
3192
3149
|
vpcFirewallName?: string;
|
|
3193
3150
|
static names(): {
|
|
@@ -3241,8 +3198,6 @@ export default class Client extends OpenApi {
|
|
|
3241
3198
|
batchCopyVpcFirewallControlPolicy(request: BatchCopyVpcFirewallControlPolicyRequest): Promise<BatchCopyVpcFirewallControlPolicyResponse>;
|
|
3242
3199
|
createVpcFirewallCenConfigureWithOptions(request: CreateVpcFirewallCenConfigureRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallCenConfigureResponse>;
|
|
3243
3200
|
createVpcFirewallCenConfigure(request: CreateVpcFirewallCenConfigureRequest): Promise<CreateVpcFirewallCenConfigureResponse>;
|
|
3244
|
-
createVpcFirewallConfigureWithOptions(request: CreateVpcFirewallConfigureRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallConfigureResponse>;
|
|
3245
|
-
createVpcFirewallConfigure(request: CreateVpcFirewallConfigureRequest): Promise<CreateVpcFirewallConfigureResponse>;
|
|
3246
3201
|
createVpcFirewallControlPolicyWithOptions(request: CreateVpcFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallControlPolicyResponse>;
|
|
3247
3202
|
createVpcFirewallControlPolicy(request: CreateVpcFirewallControlPolicyRequest): Promise<CreateVpcFirewallControlPolicyResponse>;
|
|
3248
3203
|
deleteAddressBookWithOptions(request: DeleteAddressBookRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAddressBookResponse>;
|
package/dist/client.js
CHANGED
|
@@ -353,78 +353,6 @@ class CreateVpcFirewallCenConfigureResponse extends $tea.Model {
|
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
exports.CreateVpcFirewallCenConfigureResponse = CreateVpcFirewallCenConfigureResponse;
|
|
356
|
-
class CreateVpcFirewallConfigureRequest extends $tea.Model {
|
|
357
|
-
constructor(map) {
|
|
358
|
-
super(map);
|
|
359
|
-
}
|
|
360
|
-
static names() {
|
|
361
|
-
return {
|
|
362
|
-
firewallSwitch: 'FirewallSwitch',
|
|
363
|
-
lang: 'Lang',
|
|
364
|
-
localVpcCidrTableList: 'LocalVpcCidrTableList',
|
|
365
|
-
localVpcId: 'LocalVpcId',
|
|
366
|
-
localVpcRegion: 'LocalVpcRegion',
|
|
367
|
-
memberUid: 'MemberUid',
|
|
368
|
-
peerVpcCidrTableList: 'PeerVpcCidrTableList',
|
|
369
|
-
peerVpcId: 'PeerVpcId',
|
|
370
|
-
peerVpcRegion: 'PeerVpcRegion',
|
|
371
|
-
vpcFirewallName: 'VpcFirewallName',
|
|
372
|
-
};
|
|
373
|
-
}
|
|
374
|
-
static types() {
|
|
375
|
-
return {
|
|
376
|
-
firewallSwitch: 'string',
|
|
377
|
-
lang: 'string',
|
|
378
|
-
localVpcCidrTableList: 'string',
|
|
379
|
-
localVpcId: 'string',
|
|
380
|
-
localVpcRegion: 'string',
|
|
381
|
-
memberUid: 'string',
|
|
382
|
-
peerVpcCidrTableList: 'string',
|
|
383
|
-
peerVpcId: 'string',
|
|
384
|
-
peerVpcRegion: 'string',
|
|
385
|
-
vpcFirewallName: 'string',
|
|
386
|
-
};
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
exports.CreateVpcFirewallConfigureRequest = CreateVpcFirewallConfigureRequest;
|
|
390
|
-
class CreateVpcFirewallConfigureResponseBody extends $tea.Model {
|
|
391
|
-
constructor(map) {
|
|
392
|
-
super(map);
|
|
393
|
-
}
|
|
394
|
-
static names() {
|
|
395
|
-
return {
|
|
396
|
-
requestId: 'RequestId',
|
|
397
|
-
vpcFirewallId: 'VpcFirewallId',
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
static types() {
|
|
401
|
-
return {
|
|
402
|
-
requestId: 'string',
|
|
403
|
-
vpcFirewallId: 'string',
|
|
404
|
-
};
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
exports.CreateVpcFirewallConfigureResponseBody = CreateVpcFirewallConfigureResponseBody;
|
|
408
|
-
class CreateVpcFirewallConfigureResponse extends $tea.Model {
|
|
409
|
-
constructor(map) {
|
|
410
|
-
super(map);
|
|
411
|
-
}
|
|
412
|
-
static names() {
|
|
413
|
-
return {
|
|
414
|
-
headers: 'headers',
|
|
415
|
-
statusCode: 'statusCode',
|
|
416
|
-
body: 'body',
|
|
417
|
-
};
|
|
418
|
-
}
|
|
419
|
-
static types() {
|
|
420
|
-
return {
|
|
421
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
422
|
-
statusCode: 'number',
|
|
423
|
-
body: CreateVpcFirewallConfigureResponseBody,
|
|
424
|
-
};
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
exports.CreateVpcFirewallConfigureResponse = CreateVpcFirewallConfigureResponse;
|
|
428
356
|
class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
429
357
|
constructor(map) {
|
|
430
358
|
super(map);
|
|
@@ -2103,6 +2031,7 @@ class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
2103
2031
|
connectType: 'ConnectType',
|
|
2104
2032
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2105
2033
|
localVpc: 'LocalVpc',
|
|
2034
|
+
memberUid: 'MemberUid',
|
|
2106
2035
|
peerVpc: 'PeerVpc',
|
|
2107
2036
|
requestId: 'RequestId',
|
|
2108
2037
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -2115,6 +2044,7 @@ class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
|
|
|
2115
2044
|
connectType: 'string',
|
|
2116
2045
|
firewallSwitchStatus: 'string',
|
|
2117
2046
|
localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
|
|
2047
|
+
memberUid: 'string',
|
|
2118
2048
|
peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
|
|
2119
2049
|
requestId: 'string',
|
|
2120
2050
|
vpcFirewallId: 'string',
|
|
@@ -2149,11 +2079,13 @@ class DescribeVpcFirewallListRequest extends $tea.Model {
|
|
|
2149
2079
|
}
|
|
2150
2080
|
static names() {
|
|
2151
2081
|
return {
|
|
2082
|
+
connectSubType: 'ConnectSubType',
|
|
2152
2083
|
currentPage: 'CurrentPage',
|
|
2153
2084
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2154
2085
|
lang: 'Lang',
|
|
2155
2086
|
memberUid: 'MemberUid',
|
|
2156
2087
|
pageSize: 'PageSize',
|
|
2088
|
+
peerUid: 'PeerUid',
|
|
2157
2089
|
regionNo: 'RegionNo',
|
|
2158
2090
|
vpcFirewallId: 'VpcFirewallId',
|
|
2159
2091
|
vpcFirewallName: 'VpcFirewallName',
|
|
@@ -2162,11 +2094,13 @@ class DescribeVpcFirewallListRequest extends $tea.Model {
|
|
|
2162
2094
|
}
|
|
2163
2095
|
static types() {
|
|
2164
2096
|
return {
|
|
2097
|
+
connectSubType: 'string',
|
|
2165
2098
|
currentPage: 'string',
|
|
2166
2099
|
firewallSwitchStatus: 'string',
|
|
2167
2100
|
lang: 'string',
|
|
2168
2101
|
memberUid: 'string',
|
|
2169
2102
|
pageSize: 'string',
|
|
2103
|
+
peerUid: 'string',
|
|
2170
2104
|
regionNo: 'string',
|
|
2171
2105
|
vpcFirewallId: 'string',
|
|
2172
2106
|
vpcFirewallName: 'string',
|
|
@@ -2359,7 +2293,6 @@ class ModifyControlPolicyRequest extends $tea.Model {
|
|
|
2359
2293
|
destinationType: 'DestinationType',
|
|
2360
2294
|
direction: 'Direction',
|
|
2361
2295
|
lang: 'Lang',
|
|
2362
|
-
messageType: 'MessageType',
|
|
2363
2296
|
proto: 'Proto',
|
|
2364
2297
|
release: 'Release',
|
|
2365
2298
|
source: 'Source',
|
|
@@ -2381,7 +2314,6 @@ class ModifyControlPolicyRequest extends $tea.Model {
|
|
|
2381
2314
|
destinationType: 'string',
|
|
2382
2315
|
direction: 'string',
|
|
2383
2316
|
lang: 'string',
|
|
2384
|
-
messageType: 'string',
|
|
2385
2317
|
proto: 'string',
|
|
2386
2318
|
release: 'string',
|
|
2387
2319
|
source: 'string',
|
|
@@ -3982,6 +3914,7 @@ class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
3982
3914
|
ruleResult: 'RuleResult',
|
|
3983
3915
|
ruleSource: 'RuleSource',
|
|
3984
3916
|
srcIP: 'SrcIP',
|
|
3917
|
+
srcIPTag: 'SrcIPTag',
|
|
3985
3918
|
srcPrivateIPList: 'SrcPrivateIPList',
|
|
3986
3919
|
tag: 'Tag',
|
|
3987
3920
|
vpcDstInfo: 'VpcDstInfo',
|
|
@@ -4008,6 +3941,7 @@ class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
4008
3941
|
ruleResult: 'number',
|
|
4009
3942
|
ruleSource: 'number',
|
|
4010
3943
|
srcIP: 'string',
|
|
3944
|
+
srcIPTag: 'string',
|
|
4011
3945
|
srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
|
|
4012
3946
|
tag: 'string',
|
|
4013
3947
|
vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
|
|
@@ -4292,6 +4226,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4292
4226
|
destPortType: 'DestPortType',
|
|
4293
4227
|
destination: 'Destination',
|
|
4294
4228
|
destinationGroupCidrs: 'DestinationGroupCidrs',
|
|
4229
|
+
destinationGroupType: 'DestinationGroupType',
|
|
4295
4230
|
destinationType: 'DestinationType',
|
|
4296
4231
|
hitTimes: 'HitTimes',
|
|
4297
4232
|
memberUid: 'MemberUid',
|
|
@@ -4300,6 +4235,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4300
4235
|
release: 'Release',
|
|
4301
4236
|
source: 'Source',
|
|
4302
4237
|
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
4238
|
+
sourceGroupType: 'SourceGroupType',
|
|
4303
4239
|
sourceType: 'SourceType',
|
|
4304
4240
|
};
|
|
4305
4241
|
}
|
|
@@ -4316,6 +4252,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4316
4252
|
destPortType: 'string',
|
|
4317
4253
|
destination: 'string',
|
|
4318
4254
|
destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
4255
|
+
destinationGroupType: 'string',
|
|
4319
4256
|
destinationType: 'string',
|
|
4320
4257
|
hitTimes: 'number',
|
|
4321
4258
|
memberUid: 'string',
|
|
@@ -4324,6 +4261,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4324
4261
|
release: 'string',
|
|
4325
4262
|
source: 'string',
|
|
4326
4263
|
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
4264
|
+
sourceGroupType: 'string',
|
|
4327
4265
|
sourceType: 'string',
|
|
4328
4266
|
};
|
|
4329
4267
|
}
|
|
@@ -4608,6 +4546,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4608
4546
|
static names() {
|
|
4609
4547
|
return {
|
|
4610
4548
|
bandwidth: 'Bandwidth',
|
|
4549
|
+
connectSubType: 'ConnectSubType',
|
|
4611
4550
|
connectType: 'ConnectType',
|
|
4612
4551
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
4613
4552
|
ipsConfig: 'IpsConfig',
|
|
@@ -4615,6 +4554,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4615
4554
|
memberUid: 'MemberUid',
|
|
4616
4555
|
peerVpc: 'PeerVpc',
|
|
4617
4556
|
regionStatus: 'RegionStatus',
|
|
4557
|
+
resultCode: 'ResultCode',
|
|
4618
4558
|
vpcFirewallId: 'VpcFirewallId',
|
|
4619
4559
|
vpcFirewallName: 'VpcFirewallName',
|
|
4620
4560
|
};
|
|
@@ -4622,6 +4562,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4622
4562
|
static types() {
|
|
4623
4563
|
return {
|
|
4624
4564
|
bandwidth: 'number',
|
|
4565
|
+
connectSubType: 'string',
|
|
4625
4566
|
connectType: 'string',
|
|
4626
4567
|
firewallSwitchStatus: 'string',
|
|
4627
4568
|
ipsConfig: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig,
|
|
@@ -4629,6 +4570,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4629
4570
|
memberUid: 'string',
|
|
4630
4571
|
peerVpc: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc,
|
|
4631
4572
|
regionStatus: 'string',
|
|
4573
|
+
resultCode: 'string',
|
|
4632
4574
|
vpcFirewallId: 'string',
|
|
4633
4575
|
vpcFirewallName: 'string',
|
|
4634
4576
|
};
|
|
@@ -4923,59 +4865,6 @@ class Client extends openapi_client_1.default {
|
|
|
4923
4865
|
let runtime = new $Util.RuntimeOptions({});
|
|
4924
4866
|
return await this.createVpcFirewallCenConfigureWithOptions(request, runtime);
|
|
4925
4867
|
}
|
|
4926
|
-
async createVpcFirewallConfigureWithOptions(request, runtime) {
|
|
4927
|
-
tea_util_1.default.validateModel(request);
|
|
4928
|
-
let query = {};
|
|
4929
|
-
if (!tea_util_1.default.isUnset(request.firewallSwitch)) {
|
|
4930
|
-
query["FirewallSwitch"] = request.firewallSwitch;
|
|
4931
|
-
}
|
|
4932
|
-
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
4933
|
-
query["Lang"] = request.lang;
|
|
4934
|
-
}
|
|
4935
|
-
if (!tea_util_1.default.isUnset(request.localVpcCidrTableList)) {
|
|
4936
|
-
query["LocalVpcCidrTableList"] = request.localVpcCidrTableList;
|
|
4937
|
-
}
|
|
4938
|
-
if (!tea_util_1.default.isUnset(request.localVpcId)) {
|
|
4939
|
-
query["LocalVpcId"] = request.localVpcId;
|
|
4940
|
-
}
|
|
4941
|
-
if (!tea_util_1.default.isUnset(request.localVpcRegion)) {
|
|
4942
|
-
query["LocalVpcRegion"] = request.localVpcRegion;
|
|
4943
|
-
}
|
|
4944
|
-
if (!tea_util_1.default.isUnset(request.memberUid)) {
|
|
4945
|
-
query["MemberUid"] = request.memberUid;
|
|
4946
|
-
}
|
|
4947
|
-
if (!tea_util_1.default.isUnset(request.peerVpcCidrTableList)) {
|
|
4948
|
-
query["PeerVpcCidrTableList"] = request.peerVpcCidrTableList;
|
|
4949
|
-
}
|
|
4950
|
-
if (!tea_util_1.default.isUnset(request.peerVpcId)) {
|
|
4951
|
-
query["PeerVpcId"] = request.peerVpcId;
|
|
4952
|
-
}
|
|
4953
|
-
if (!tea_util_1.default.isUnset(request.peerVpcRegion)) {
|
|
4954
|
-
query["PeerVpcRegion"] = request.peerVpcRegion;
|
|
4955
|
-
}
|
|
4956
|
-
if (!tea_util_1.default.isUnset(request.vpcFirewallName)) {
|
|
4957
|
-
query["VpcFirewallName"] = request.vpcFirewallName;
|
|
4958
|
-
}
|
|
4959
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4960
|
-
query: openapi_util_1.default.query(query),
|
|
4961
|
-
});
|
|
4962
|
-
let params = new $OpenApi.Params({
|
|
4963
|
-
action: "CreateVpcFirewallConfigure",
|
|
4964
|
-
version: "2017-12-07",
|
|
4965
|
-
protocol: "HTTPS",
|
|
4966
|
-
pathname: "/",
|
|
4967
|
-
method: "POST",
|
|
4968
|
-
authType: "AK",
|
|
4969
|
-
style: "RPC",
|
|
4970
|
-
reqBodyType: "formData",
|
|
4971
|
-
bodyType: "json",
|
|
4972
|
-
});
|
|
4973
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateVpcFirewallConfigureResponse({}));
|
|
4974
|
-
}
|
|
4975
|
-
async createVpcFirewallConfigure(request) {
|
|
4976
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4977
|
-
return await this.createVpcFirewallConfigureWithOptions(request, runtime);
|
|
4978
|
-
}
|
|
4979
4868
|
async createVpcFirewallControlPolicyWithOptions(request, runtime) {
|
|
4980
4869
|
tea_util_1.default.validateModel(request);
|
|
4981
4870
|
let query = {};
|
|
@@ -6100,6 +5989,9 @@ class Client extends openapi_client_1.default {
|
|
|
6100
5989
|
async describeVpcFirewallListWithOptions(request, runtime) {
|
|
6101
5990
|
tea_util_1.default.validateModel(request);
|
|
6102
5991
|
let query = {};
|
|
5992
|
+
if (!tea_util_1.default.isUnset(request.connectSubType)) {
|
|
5993
|
+
query["ConnectSubType"] = request.connectSubType;
|
|
5994
|
+
}
|
|
6103
5995
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
6104
5996
|
query["CurrentPage"] = request.currentPage;
|
|
6105
5997
|
}
|
|
@@ -6118,6 +6010,9 @@ class Client extends openapi_client_1.default {
|
|
|
6118
6010
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6119
6011
|
query["PageSize"] = request.pageSize;
|
|
6120
6012
|
}
|
|
6013
|
+
if (!tea_util_1.default.isUnset(request.peerUid)) {
|
|
6014
|
+
query["PeerUid"] = request.peerUid;
|
|
6015
|
+
}
|
|
6121
6016
|
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
6122
6017
|
query["RegionNo"] = request.regionNo;
|
|
6123
6018
|
}
|
|
@@ -6268,9 +6163,6 @@ class Client extends openapi_client_1.default {
|
|
|
6268
6163
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6269
6164
|
query["Lang"] = request.lang;
|
|
6270
6165
|
}
|
|
6271
|
-
if (!tea_util_1.default.isUnset(request.messageType)) {
|
|
6272
|
-
query["MessageType"] = request.messageType;
|
|
6273
|
-
}
|
|
6274
6166
|
if (!tea_util_1.default.isUnset(request.proto)) {
|
|
6275
6167
|
query["Proto"] = request.proto;
|
|
6276
6168
|
}
|