@alicloud/cloudfw20171207 1.1.8 → 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 -52
- package/dist/client.js +22 -125
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +32 -158
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;
|
|
@@ -2775,6 +2728,7 @@ export declare class DescribeRiskEventGroupResponseBodyDataList extends $tea.Mod
|
|
|
2775
2728
|
ruleResult?: number;
|
|
2776
2729
|
ruleSource?: number;
|
|
2777
2730
|
srcIP?: string;
|
|
2731
|
+
srcIPTag?: string;
|
|
2778
2732
|
srcPrivateIPList?: string[];
|
|
2779
2733
|
tag?: string;
|
|
2780
2734
|
vpcDstInfo?: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo;
|
|
@@ -2971,6 +2925,7 @@ export declare class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends
|
|
|
2971
2925
|
destPortType?: string;
|
|
2972
2926
|
destination?: string;
|
|
2973
2927
|
destinationGroupCidrs?: string[];
|
|
2928
|
+
destinationGroupType?: string;
|
|
2974
2929
|
destinationType?: string;
|
|
2975
2930
|
hitTimes?: number;
|
|
2976
2931
|
memberUid?: string;
|
|
@@ -2979,6 +2934,7 @@ export declare class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends
|
|
|
2979
2934
|
release?: string;
|
|
2980
2935
|
source?: string;
|
|
2981
2936
|
sourceGroupCidrs?: string[];
|
|
2937
|
+
sourceGroupType?: string;
|
|
2982
2938
|
sourceType?: string;
|
|
2983
2939
|
static names(): {
|
|
2984
2940
|
[key: string]: string;
|
|
@@ -3180,6 +3136,7 @@ export declare class DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc exte
|
|
|
3180
3136
|
}
|
|
3181
3137
|
export declare class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
3182
3138
|
bandwidth?: number;
|
|
3139
|
+
connectSubType?: string;
|
|
3183
3140
|
connectType?: string;
|
|
3184
3141
|
firewallSwitchStatus?: string;
|
|
3185
3142
|
ipsConfig?: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig;
|
|
@@ -3187,6 +3144,7 @@ export declare class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $te
|
|
|
3187
3144
|
memberUid?: string;
|
|
3188
3145
|
peerVpc?: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc;
|
|
3189
3146
|
regionStatus?: string;
|
|
3147
|
+
resultCode?: string;
|
|
3190
3148
|
vpcFirewallId?: string;
|
|
3191
3149
|
vpcFirewallName?: string;
|
|
3192
3150
|
static names(): {
|
|
@@ -3240,8 +3198,6 @@ export default class Client extends OpenApi {
|
|
|
3240
3198
|
batchCopyVpcFirewallControlPolicy(request: BatchCopyVpcFirewallControlPolicyRequest): Promise<BatchCopyVpcFirewallControlPolicyResponse>;
|
|
3241
3199
|
createVpcFirewallCenConfigureWithOptions(request: CreateVpcFirewallCenConfigureRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallCenConfigureResponse>;
|
|
3242
3200
|
createVpcFirewallCenConfigure(request: CreateVpcFirewallCenConfigureRequest): Promise<CreateVpcFirewallCenConfigureResponse>;
|
|
3243
|
-
createVpcFirewallConfigureWithOptions(request: CreateVpcFirewallConfigureRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallConfigureResponse>;
|
|
3244
|
-
createVpcFirewallConfigure(request: CreateVpcFirewallConfigureRequest): Promise<CreateVpcFirewallConfigureResponse>;
|
|
3245
3201
|
createVpcFirewallControlPolicyWithOptions(request: CreateVpcFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallControlPolicyResponse>;
|
|
3246
3202
|
createVpcFirewallControlPolicy(request: CreateVpcFirewallControlPolicyRequest): Promise<CreateVpcFirewallControlPolicyResponse>;
|
|
3247
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',
|
|
@@ -3980,6 +3914,7 @@ class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
3980
3914
|
ruleResult: 'RuleResult',
|
|
3981
3915
|
ruleSource: 'RuleSource',
|
|
3982
3916
|
srcIP: 'SrcIP',
|
|
3917
|
+
srcIPTag: 'SrcIPTag',
|
|
3983
3918
|
srcPrivateIPList: 'SrcPrivateIPList',
|
|
3984
3919
|
tag: 'Tag',
|
|
3985
3920
|
vpcDstInfo: 'VpcDstInfo',
|
|
@@ -4006,6 +3941,7 @@ class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
|
|
|
4006
3941
|
ruleResult: 'number',
|
|
4007
3942
|
ruleSource: 'number',
|
|
4008
3943
|
srcIP: 'string',
|
|
3944
|
+
srcIPTag: 'string',
|
|
4009
3945
|
srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
|
|
4010
3946
|
tag: 'string',
|
|
4011
3947
|
vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
|
|
@@ -4290,6 +4226,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4290
4226
|
destPortType: 'DestPortType',
|
|
4291
4227
|
destination: 'Destination',
|
|
4292
4228
|
destinationGroupCidrs: 'DestinationGroupCidrs',
|
|
4229
|
+
destinationGroupType: 'DestinationGroupType',
|
|
4293
4230
|
destinationType: 'DestinationType',
|
|
4294
4231
|
hitTimes: 'HitTimes',
|
|
4295
4232
|
memberUid: 'MemberUid',
|
|
@@ -4298,6 +4235,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4298
4235
|
release: 'Release',
|
|
4299
4236
|
source: 'Source',
|
|
4300
4237
|
sourceGroupCidrs: 'SourceGroupCidrs',
|
|
4238
|
+
sourceGroupType: 'SourceGroupType',
|
|
4301
4239
|
sourceType: 'SourceType',
|
|
4302
4240
|
};
|
|
4303
4241
|
}
|
|
@@ -4314,6 +4252,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4314
4252
|
destPortType: 'string',
|
|
4315
4253
|
destination: 'string',
|
|
4316
4254
|
destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
4255
|
+
destinationGroupType: 'string',
|
|
4317
4256
|
destinationType: 'string',
|
|
4318
4257
|
hitTimes: 'number',
|
|
4319
4258
|
memberUid: 'string',
|
|
@@ -4322,6 +4261,7 @@ class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
|
|
|
4322
4261
|
release: 'string',
|
|
4323
4262
|
source: 'string',
|
|
4324
4263
|
sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
|
|
4264
|
+
sourceGroupType: 'string',
|
|
4325
4265
|
sourceType: 'string',
|
|
4326
4266
|
};
|
|
4327
4267
|
}
|
|
@@ -4606,6 +4546,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4606
4546
|
static names() {
|
|
4607
4547
|
return {
|
|
4608
4548
|
bandwidth: 'Bandwidth',
|
|
4549
|
+
connectSubType: 'ConnectSubType',
|
|
4609
4550
|
connectType: 'ConnectType',
|
|
4610
4551
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
4611
4552
|
ipsConfig: 'IpsConfig',
|
|
@@ -4613,6 +4554,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4613
4554
|
memberUid: 'MemberUid',
|
|
4614
4555
|
peerVpc: 'PeerVpc',
|
|
4615
4556
|
regionStatus: 'RegionStatus',
|
|
4557
|
+
resultCode: 'ResultCode',
|
|
4616
4558
|
vpcFirewallId: 'VpcFirewallId',
|
|
4617
4559
|
vpcFirewallName: 'VpcFirewallName',
|
|
4618
4560
|
};
|
|
@@ -4620,6 +4562,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4620
4562
|
static types() {
|
|
4621
4563
|
return {
|
|
4622
4564
|
bandwidth: 'number',
|
|
4565
|
+
connectSubType: 'string',
|
|
4623
4566
|
connectType: 'string',
|
|
4624
4567
|
firewallSwitchStatus: 'string',
|
|
4625
4568
|
ipsConfig: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig,
|
|
@@ -4627,6 +4570,7 @@ class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
|
|
|
4627
4570
|
memberUid: 'string',
|
|
4628
4571
|
peerVpc: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc,
|
|
4629
4572
|
regionStatus: 'string',
|
|
4573
|
+
resultCode: 'string',
|
|
4630
4574
|
vpcFirewallId: 'string',
|
|
4631
4575
|
vpcFirewallName: 'string',
|
|
4632
4576
|
};
|
|
@@ -4921,59 +4865,6 @@ class Client extends openapi_client_1.default {
|
|
|
4921
4865
|
let runtime = new $Util.RuntimeOptions({});
|
|
4922
4866
|
return await this.createVpcFirewallCenConfigureWithOptions(request, runtime);
|
|
4923
4867
|
}
|
|
4924
|
-
async createVpcFirewallConfigureWithOptions(request, runtime) {
|
|
4925
|
-
tea_util_1.default.validateModel(request);
|
|
4926
|
-
let query = {};
|
|
4927
|
-
if (!tea_util_1.default.isUnset(request.firewallSwitch)) {
|
|
4928
|
-
query["FirewallSwitch"] = request.firewallSwitch;
|
|
4929
|
-
}
|
|
4930
|
-
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
4931
|
-
query["Lang"] = request.lang;
|
|
4932
|
-
}
|
|
4933
|
-
if (!tea_util_1.default.isUnset(request.localVpcCidrTableList)) {
|
|
4934
|
-
query["LocalVpcCidrTableList"] = request.localVpcCidrTableList;
|
|
4935
|
-
}
|
|
4936
|
-
if (!tea_util_1.default.isUnset(request.localVpcId)) {
|
|
4937
|
-
query["LocalVpcId"] = request.localVpcId;
|
|
4938
|
-
}
|
|
4939
|
-
if (!tea_util_1.default.isUnset(request.localVpcRegion)) {
|
|
4940
|
-
query["LocalVpcRegion"] = request.localVpcRegion;
|
|
4941
|
-
}
|
|
4942
|
-
if (!tea_util_1.default.isUnset(request.memberUid)) {
|
|
4943
|
-
query["MemberUid"] = request.memberUid;
|
|
4944
|
-
}
|
|
4945
|
-
if (!tea_util_1.default.isUnset(request.peerVpcCidrTableList)) {
|
|
4946
|
-
query["PeerVpcCidrTableList"] = request.peerVpcCidrTableList;
|
|
4947
|
-
}
|
|
4948
|
-
if (!tea_util_1.default.isUnset(request.peerVpcId)) {
|
|
4949
|
-
query["PeerVpcId"] = request.peerVpcId;
|
|
4950
|
-
}
|
|
4951
|
-
if (!tea_util_1.default.isUnset(request.peerVpcRegion)) {
|
|
4952
|
-
query["PeerVpcRegion"] = request.peerVpcRegion;
|
|
4953
|
-
}
|
|
4954
|
-
if (!tea_util_1.default.isUnset(request.vpcFirewallName)) {
|
|
4955
|
-
query["VpcFirewallName"] = request.vpcFirewallName;
|
|
4956
|
-
}
|
|
4957
|
-
let req = new $OpenApi.OpenApiRequest({
|
|
4958
|
-
query: openapi_util_1.default.query(query),
|
|
4959
|
-
});
|
|
4960
|
-
let params = new $OpenApi.Params({
|
|
4961
|
-
action: "CreateVpcFirewallConfigure",
|
|
4962
|
-
version: "2017-12-07",
|
|
4963
|
-
protocol: "HTTPS",
|
|
4964
|
-
pathname: "/",
|
|
4965
|
-
method: "POST",
|
|
4966
|
-
authType: "AK",
|
|
4967
|
-
style: "RPC",
|
|
4968
|
-
reqBodyType: "formData",
|
|
4969
|
-
bodyType: "json",
|
|
4970
|
-
});
|
|
4971
|
-
return $tea.cast(await this.callApi(params, req, runtime), new CreateVpcFirewallConfigureResponse({}));
|
|
4972
|
-
}
|
|
4973
|
-
async createVpcFirewallConfigure(request) {
|
|
4974
|
-
let runtime = new $Util.RuntimeOptions({});
|
|
4975
|
-
return await this.createVpcFirewallConfigureWithOptions(request, runtime);
|
|
4976
|
-
}
|
|
4977
4868
|
async createVpcFirewallControlPolicyWithOptions(request, runtime) {
|
|
4978
4869
|
tea_util_1.default.validateModel(request);
|
|
4979
4870
|
let query = {};
|
|
@@ -6098,6 +5989,9 @@ class Client extends openapi_client_1.default {
|
|
|
6098
5989
|
async describeVpcFirewallListWithOptions(request, runtime) {
|
|
6099
5990
|
tea_util_1.default.validateModel(request);
|
|
6100
5991
|
let query = {};
|
|
5992
|
+
if (!tea_util_1.default.isUnset(request.connectSubType)) {
|
|
5993
|
+
query["ConnectSubType"] = request.connectSubType;
|
|
5994
|
+
}
|
|
6101
5995
|
if (!tea_util_1.default.isUnset(request.currentPage)) {
|
|
6102
5996
|
query["CurrentPage"] = request.currentPage;
|
|
6103
5997
|
}
|
|
@@ -6116,6 +6010,9 @@ class Client extends openapi_client_1.default {
|
|
|
6116
6010
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
6117
6011
|
query["PageSize"] = request.pageSize;
|
|
6118
6012
|
}
|
|
6013
|
+
if (!tea_util_1.default.isUnset(request.peerUid)) {
|
|
6014
|
+
query["PeerUid"] = request.peerUid;
|
|
6015
|
+
}
|
|
6119
6016
|
if (!tea_util_1.default.isUnset(request.regionNo)) {
|
|
6120
6017
|
query["RegionNo"] = request.regionNo;
|
|
6121
6018
|
}
|