@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cloudfw20171207",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -20,9 +20,9 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
- "@alicloud/tea-util": "^1.4.4",
24
- "@alicloud/openapi-client": "^0.4.3",
25
- "@alicloud/openapi-util": "^0.2.9",
23
+ "@alicloud/tea-util": "^1.4.5",
24
+ "@alicloud/openapi-client": "^0.4.4",
25
+ "@alicloud/openapi-util": "^0.3.0",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
28
28
  "files": [
package/src/client.ts CHANGED
@@ -434,99 +434,6 @@ export class CreateVpcFirewallCenConfigureResponse extends $tea.Model {
434
434
  }
435
435
  }
436
436
 
437
- export class CreateVpcFirewallConfigureRequest extends $tea.Model {
438
- firewallSwitch?: string;
439
- lang?: string;
440
- localVpcCidrTableList?: string;
441
- localVpcId?: string;
442
- localVpcRegion?: string;
443
- memberUid?: string;
444
- peerVpcCidrTableList?: string;
445
- peerVpcId?: string;
446
- peerVpcRegion?: string;
447
- vpcFirewallName?: string;
448
- static names(): { [key: string]: string } {
449
- return {
450
- firewallSwitch: 'FirewallSwitch',
451
- lang: 'Lang',
452
- localVpcCidrTableList: 'LocalVpcCidrTableList',
453
- localVpcId: 'LocalVpcId',
454
- localVpcRegion: 'LocalVpcRegion',
455
- memberUid: 'MemberUid',
456
- peerVpcCidrTableList: 'PeerVpcCidrTableList',
457
- peerVpcId: 'PeerVpcId',
458
- peerVpcRegion: 'PeerVpcRegion',
459
- vpcFirewallName: 'VpcFirewallName',
460
- };
461
- }
462
-
463
- static types(): { [key: string]: any } {
464
- return {
465
- firewallSwitch: 'string',
466
- lang: 'string',
467
- localVpcCidrTableList: 'string',
468
- localVpcId: 'string',
469
- localVpcRegion: 'string',
470
- memberUid: 'string',
471
- peerVpcCidrTableList: 'string',
472
- peerVpcId: 'string',
473
- peerVpcRegion: 'string',
474
- vpcFirewallName: 'string',
475
- };
476
- }
477
-
478
- constructor(map?: { [key: string]: any }) {
479
- super(map);
480
- }
481
- }
482
-
483
- export class CreateVpcFirewallConfigureResponseBody extends $tea.Model {
484
- requestId?: string;
485
- vpcFirewallId?: string;
486
- static names(): { [key: string]: string } {
487
- return {
488
- requestId: 'RequestId',
489
- vpcFirewallId: 'VpcFirewallId',
490
- };
491
- }
492
-
493
- static types(): { [key: string]: any } {
494
- return {
495
- requestId: 'string',
496
- vpcFirewallId: 'string',
497
- };
498
- }
499
-
500
- constructor(map?: { [key: string]: any }) {
501
- super(map);
502
- }
503
- }
504
-
505
- export class CreateVpcFirewallConfigureResponse extends $tea.Model {
506
- headers: { [key: string]: string };
507
- statusCode: number;
508
- body: CreateVpcFirewallConfigureResponseBody;
509
- static names(): { [key: string]: string } {
510
- return {
511
- headers: 'headers',
512
- statusCode: 'statusCode',
513
- body: 'body',
514
- };
515
- }
516
-
517
- static types(): { [key: string]: any } {
518
- return {
519
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
520
- statusCode: 'number',
521
- body: CreateVpcFirewallConfigureResponseBody,
522
- };
523
- }
524
-
525
- constructor(map?: { [key: string]: any }) {
526
- super(map);
527
- }
528
- }
529
-
530
437
  export class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
531
438
  aclAction?: string;
532
439
  applicationName?: string;
@@ -2669,6 +2576,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2669
2576
  connectType?: string;
2670
2577
  firewallSwitchStatus?: string;
2671
2578
  localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
2579
+ memberUid?: string;
2672
2580
  peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
2673
2581
  requestId?: string;
2674
2582
  vpcFirewallId?: string;
@@ -2679,6 +2587,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2679
2587
  connectType: 'ConnectType',
2680
2588
  firewallSwitchStatus: 'FirewallSwitchStatus',
2681
2589
  localVpc: 'LocalVpc',
2590
+ memberUid: 'MemberUid',
2682
2591
  peerVpc: 'PeerVpc',
2683
2592
  requestId: 'RequestId',
2684
2593
  vpcFirewallId: 'VpcFirewallId',
@@ -2692,6 +2601,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2692
2601
  connectType: 'string',
2693
2602
  firewallSwitchStatus: 'string',
2694
2603
  localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
2604
+ memberUid: 'string',
2695
2605
  peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
2696
2606
  requestId: 'string',
2697
2607
  vpcFirewallId: 'string',
@@ -2730,22 +2640,26 @@ export class DescribeVpcFirewallDetailResponse extends $tea.Model {
2730
2640
  }
2731
2641
 
2732
2642
  export class DescribeVpcFirewallListRequest extends $tea.Model {
2643
+ connectSubType?: string;
2733
2644
  currentPage?: string;
2734
2645
  firewallSwitchStatus?: string;
2735
2646
  lang?: string;
2736
2647
  memberUid?: string;
2737
2648
  pageSize?: string;
2649
+ peerUid?: string;
2738
2650
  regionNo?: string;
2739
2651
  vpcFirewallId?: string;
2740
2652
  vpcFirewallName?: string;
2741
2653
  vpcId?: string;
2742
2654
  static names(): { [key: string]: string } {
2743
2655
  return {
2656
+ connectSubType: 'ConnectSubType',
2744
2657
  currentPage: 'CurrentPage',
2745
2658
  firewallSwitchStatus: 'FirewallSwitchStatus',
2746
2659
  lang: 'Lang',
2747
2660
  memberUid: 'MemberUid',
2748
2661
  pageSize: 'PageSize',
2662
+ peerUid: 'PeerUid',
2749
2663
  regionNo: 'RegionNo',
2750
2664
  vpcFirewallId: 'VpcFirewallId',
2751
2665
  vpcFirewallName: 'VpcFirewallName',
@@ -2755,11 +2669,13 @@ export class DescribeVpcFirewallListRequest extends $tea.Model {
2755
2669
 
2756
2670
  static types(): { [key: string]: any } {
2757
2671
  return {
2672
+ connectSubType: 'string',
2758
2673
  currentPage: 'string',
2759
2674
  firewallSwitchStatus: 'string',
2760
2675
  lang: 'string',
2761
2676
  memberUid: 'string',
2762
2677
  pageSize: 'string',
2678
+ peerUid: 'string',
2763
2679
  regionNo: 'string',
2764
2680
  vpcFirewallId: 'string',
2765
2681
  vpcFirewallName: 'string',
@@ -5078,6 +4994,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5078
4994
  ruleResult?: number;
5079
4995
  ruleSource?: number;
5080
4996
  srcIP?: string;
4997
+ srcIPTag?: string;
5081
4998
  srcPrivateIPList?: string[];
5082
4999
  tag?: string;
5083
5000
  vpcDstInfo?: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo;
@@ -5102,6 +5019,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5102
5019
  ruleResult: 'RuleResult',
5103
5020
  ruleSource: 'RuleSource',
5104
5021
  srcIP: 'SrcIP',
5022
+ srcIPTag: 'SrcIPTag',
5105
5023
  srcPrivateIPList: 'SrcPrivateIPList',
5106
5024
  tag: 'Tag',
5107
5025
  vpcDstInfo: 'VpcDstInfo',
@@ -5129,6 +5047,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5129
5047
  ruleResult: 'number',
5130
5048
  ruleSource: 'number',
5131
5049
  srcIP: 'string',
5050
+ srcIPTag: 'string',
5132
5051
  srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
5133
5052
  tag: 'string',
5134
5053
  vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
@@ -5491,6 +5410,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5491
5410
  destPortType?: string;
5492
5411
  destination?: string;
5493
5412
  destinationGroupCidrs?: string[];
5413
+ destinationGroupType?: string;
5494
5414
  destinationType?: string;
5495
5415
  hitTimes?: number;
5496
5416
  memberUid?: string;
@@ -5499,6 +5419,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5499
5419
  release?: string;
5500
5420
  source?: string;
5501
5421
  sourceGroupCidrs?: string[];
5422
+ sourceGroupType?: string;
5502
5423
  sourceType?: string;
5503
5424
  static names(): { [key: string]: string } {
5504
5425
  return {
@@ -5513,6 +5434,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5513
5434
  destPortType: 'DestPortType',
5514
5435
  destination: 'Destination',
5515
5436
  destinationGroupCidrs: 'DestinationGroupCidrs',
5437
+ destinationGroupType: 'DestinationGroupType',
5516
5438
  destinationType: 'DestinationType',
5517
5439
  hitTimes: 'HitTimes',
5518
5440
  memberUid: 'MemberUid',
@@ -5521,6 +5443,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5521
5443
  release: 'Release',
5522
5444
  source: 'Source',
5523
5445
  sourceGroupCidrs: 'SourceGroupCidrs',
5446
+ sourceGroupType: 'SourceGroupType',
5524
5447
  sourceType: 'SourceType',
5525
5448
  };
5526
5449
  }
@@ -5538,6 +5461,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5538
5461
  destPortType: 'string',
5539
5462
  destination: 'string',
5540
5463
  destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
5464
+ destinationGroupType: 'string',
5541
5465
  destinationType: 'string',
5542
5466
  hitTimes: 'number',
5543
5467
  memberUid: 'string',
@@ -5546,6 +5470,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5546
5470
  release: 'string',
5547
5471
  source: 'string',
5548
5472
  sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
5473
+ sourceGroupType: 'string',
5549
5474
  sourceType: 'string',
5550
5475
  };
5551
5476
  }
@@ -5900,6 +5825,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc extends $tea
5900
5825
 
5901
5826
  export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
5902
5827
  bandwidth?: number;
5828
+ connectSubType?: string;
5903
5829
  connectType?: string;
5904
5830
  firewallSwitchStatus?: string;
5905
5831
  ipsConfig?: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig;
@@ -5907,11 +5833,13 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5907
5833
  memberUid?: string;
5908
5834
  peerVpc?: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc;
5909
5835
  regionStatus?: string;
5836
+ resultCode?: string;
5910
5837
  vpcFirewallId?: string;
5911
5838
  vpcFirewallName?: string;
5912
5839
  static names(): { [key: string]: string } {
5913
5840
  return {
5914
5841
  bandwidth: 'Bandwidth',
5842
+ connectSubType: 'ConnectSubType',
5915
5843
  connectType: 'ConnectType',
5916
5844
  firewallSwitchStatus: 'FirewallSwitchStatus',
5917
5845
  ipsConfig: 'IpsConfig',
@@ -5919,6 +5847,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5919
5847
  memberUid: 'MemberUid',
5920
5848
  peerVpc: 'PeerVpc',
5921
5849
  regionStatus: 'RegionStatus',
5850
+ resultCode: 'ResultCode',
5922
5851
  vpcFirewallId: 'VpcFirewallId',
5923
5852
  vpcFirewallName: 'VpcFirewallName',
5924
5853
  };
@@ -5927,6 +5856,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5927
5856
  static types(): { [key: string]: any } {
5928
5857
  return {
5929
5858
  bandwidth: 'number',
5859
+ connectSubType: 'string',
5930
5860
  connectType: 'string',
5931
5861
  firewallSwitchStatus: 'string',
5932
5862
  ipsConfig: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig,
@@ -5934,6 +5864,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5934
5864
  memberUid: 'string',
5935
5865
  peerVpc: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc,
5936
5866
  regionStatus: 'string',
5867
+ resultCode: 'string',
5937
5868
  vpcFirewallId: 'string',
5938
5869
  vpcFirewallName: 'string',
5939
5870
  };
@@ -6296,71 +6227,6 @@ export default class Client extends OpenApi {
6296
6227
  return await this.createVpcFirewallCenConfigureWithOptions(request, runtime);
6297
6228
  }
6298
6229
 
6299
- async createVpcFirewallConfigureWithOptions(request: CreateVpcFirewallConfigureRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallConfigureResponse> {
6300
- Util.validateModel(request);
6301
- let query = { };
6302
- if (!Util.isUnset(request.firewallSwitch)) {
6303
- query["FirewallSwitch"] = request.firewallSwitch;
6304
- }
6305
-
6306
- if (!Util.isUnset(request.lang)) {
6307
- query["Lang"] = request.lang;
6308
- }
6309
-
6310
- if (!Util.isUnset(request.localVpcCidrTableList)) {
6311
- query["LocalVpcCidrTableList"] = request.localVpcCidrTableList;
6312
- }
6313
-
6314
- if (!Util.isUnset(request.localVpcId)) {
6315
- query["LocalVpcId"] = request.localVpcId;
6316
- }
6317
-
6318
- if (!Util.isUnset(request.localVpcRegion)) {
6319
- query["LocalVpcRegion"] = request.localVpcRegion;
6320
- }
6321
-
6322
- if (!Util.isUnset(request.memberUid)) {
6323
- query["MemberUid"] = request.memberUid;
6324
- }
6325
-
6326
- if (!Util.isUnset(request.peerVpcCidrTableList)) {
6327
- query["PeerVpcCidrTableList"] = request.peerVpcCidrTableList;
6328
- }
6329
-
6330
- if (!Util.isUnset(request.peerVpcId)) {
6331
- query["PeerVpcId"] = request.peerVpcId;
6332
- }
6333
-
6334
- if (!Util.isUnset(request.peerVpcRegion)) {
6335
- query["PeerVpcRegion"] = request.peerVpcRegion;
6336
- }
6337
-
6338
- if (!Util.isUnset(request.vpcFirewallName)) {
6339
- query["VpcFirewallName"] = request.vpcFirewallName;
6340
- }
6341
-
6342
- let req = new $OpenApi.OpenApiRequest({
6343
- query: OpenApiUtil.query(query),
6344
- });
6345
- let params = new $OpenApi.Params({
6346
- action: "CreateVpcFirewallConfigure",
6347
- version: "2017-12-07",
6348
- protocol: "HTTPS",
6349
- pathname: "/",
6350
- method: "POST",
6351
- authType: "AK",
6352
- style: "RPC",
6353
- reqBodyType: "formData",
6354
- bodyType: "json",
6355
- });
6356
- return $tea.cast<CreateVpcFirewallConfigureResponse>(await this.callApi(params, req, runtime), new CreateVpcFirewallConfigureResponse({}));
6357
- }
6358
-
6359
- async createVpcFirewallConfigure(request: CreateVpcFirewallConfigureRequest): Promise<CreateVpcFirewallConfigureResponse> {
6360
- let runtime = new $Util.RuntimeOptions({ });
6361
- return await this.createVpcFirewallConfigureWithOptions(request, runtime);
6362
- }
6363
-
6364
6230
  async createVpcFirewallControlPolicyWithOptions(request: CreateVpcFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallControlPolicyResponse> {
6365
6231
  Util.validateModel(request);
6366
6232
  let query = { };
@@ -7717,6 +7583,10 @@ export default class Client extends OpenApi {
7717
7583
  async describeVpcFirewallListWithOptions(request: DescribeVpcFirewallListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpcFirewallListResponse> {
7718
7584
  Util.validateModel(request);
7719
7585
  let query = { };
7586
+ if (!Util.isUnset(request.connectSubType)) {
7587
+ query["ConnectSubType"] = request.connectSubType;
7588
+ }
7589
+
7720
7590
  if (!Util.isUnset(request.currentPage)) {
7721
7591
  query["CurrentPage"] = request.currentPage;
7722
7592
  }
@@ -7741,6 +7611,10 @@ export default class Client extends OpenApi {
7741
7611
  query["PageSize"] = request.pageSize;
7742
7612
  }
7743
7613
 
7614
+ if (!Util.isUnset(request.peerUid)) {
7615
+ query["PeerUid"] = request.peerUid;
7616
+ }
7617
+
7744
7618
  if (!Util.isUnset(request.regionNo)) {
7745
7619
  query["RegionNo"] = request.regionNo;
7746
7620
  }