@alicloud/cloudfw20171207 1.2.6 → 1.2.7
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 +56 -0
- package/dist/client.js +97 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +129 -0
package/dist/client.d.ts
CHANGED
|
@@ -315,6 +315,9 @@ export declare class CreateTrFirewallV2RoutePolicyResponse extends $tea.Model {
|
|
|
315
315
|
export declare class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
316
316
|
cenId?: string;
|
|
317
317
|
firewallSwitch?: string;
|
|
318
|
+
firewallVSwitchCidrBlock?: string;
|
|
319
|
+
firewallVpcCidrBlock?: string;
|
|
320
|
+
firewallVpcZoneId?: string;
|
|
318
321
|
lang?: string;
|
|
319
322
|
memberUid?: string;
|
|
320
323
|
networkInstanceId?: string;
|
|
@@ -1778,6 +1781,7 @@ export declare class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
|
|
|
1778
1781
|
export declare class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
1779
1782
|
connectType?: string;
|
|
1780
1783
|
firewallSwitchStatus?: string;
|
|
1784
|
+
firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
1781
1785
|
localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
|
|
1782
1786
|
requestId?: string;
|
|
1783
1787
|
vpcFirewallId?: string;
|
|
@@ -3630,6 +3634,38 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfi
|
|
|
3630
3634
|
[key: string]: any;
|
|
3631
3635
|
});
|
|
3632
3636
|
}
|
|
3637
|
+
export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource extends $tea.Model {
|
|
3638
|
+
count?: number;
|
|
3639
|
+
peerTrList?: string[];
|
|
3640
|
+
vbrList?: string[];
|
|
3641
|
+
vpcList?: string[];
|
|
3642
|
+
vpnList?: string[];
|
|
3643
|
+
static names(): {
|
|
3644
|
+
[key: string]: string;
|
|
3645
|
+
};
|
|
3646
|
+
static types(): {
|
|
3647
|
+
[key: string]: any;
|
|
3648
|
+
};
|
|
3649
|
+
constructor(map?: {
|
|
3650
|
+
[key: string]: any;
|
|
3651
|
+
});
|
|
3652
|
+
}
|
|
3653
|
+
export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource extends $tea.Model {
|
|
3654
|
+
count?: number;
|
|
3655
|
+
peerTrList?: string[];
|
|
3656
|
+
vbrList?: string[];
|
|
3657
|
+
vpcList?: string[];
|
|
3658
|
+
vpnList?: string[];
|
|
3659
|
+
static names(): {
|
|
3660
|
+
[key: string]: string;
|
|
3661
|
+
};
|
|
3662
|
+
static types(): {
|
|
3663
|
+
[key: string]: any;
|
|
3664
|
+
};
|
|
3665
|
+
constructor(map?: {
|
|
3666
|
+
[key: string]: any;
|
|
3667
|
+
});
|
|
3668
|
+
}
|
|
3633
3669
|
export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
3634
3670
|
cenId?: string;
|
|
3635
3671
|
cenName?: string;
|
|
@@ -3638,11 +3674,13 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends
|
|
|
3638
3674
|
ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
3639
3675
|
ownerId?: number;
|
|
3640
3676
|
precheckStatus?: string;
|
|
3677
|
+
protectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
|
|
3641
3678
|
regionNo?: string;
|
|
3642
3679
|
regionStatus?: string;
|
|
3643
3680
|
resultCode?: string;
|
|
3644
3681
|
routeMode?: string;
|
|
3645
3682
|
transitRouterId?: string;
|
|
3683
|
+
unprotectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
|
|
3646
3684
|
vpcFirewallName?: string;
|
|
3647
3685
|
static names(): {
|
|
3648
3686
|
[key: string]: string;
|
|
@@ -3683,9 +3721,27 @@ export declare class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList ext
|
|
|
3683
3721
|
[key: string]: any;
|
|
3684
3722
|
});
|
|
3685
3723
|
}
|
|
3724
|
+
export declare class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $tea.Model {
|
|
3725
|
+
allowConfiguration?: number;
|
|
3726
|
+
vpcCidr?: string;
|
|
3727
|
+
vpcId?: string;
|
|
3728
|
+
vswitchCidr?: string;
|
|
3729
|
+
vswitchId?: string;
|
|
3730
|
+
zoneId?: string;
|
|
3731
|
+
static names(): {
|
|
3732
|
+
[key: string]: string;
|
|
3733
|
+
};
|
|
3734
|
+
static types(): {
|
|
3735
|
+
[key: string]: any;
|
|
3736
|
+
};
|
|
3737
|
+
constructor(map?: {
|
|
3738
|
+
[key: string]: any;
|
|
3739
|
+
});
|
|
3740
|
+
}
|
|
3686
3741
|
export declare class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
3687
3742
|
eniId?: string;
|
|
3688
3743
|
eniPrivateIpAddress?: string;
|
|
3744
|
+
eniVSwitchId?: string;
|
|
3689
3745
|
static names(): {
|
|
3690
3746
|
[key: string]: string;
|
|
3691
3747
|
};
|
package/dist/client.js
CHANGED
|
@@ -467,6 +467,9 @@ class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
|
467
467
|
return {
|
|
468
468
|
cenId: 'CenId',
|
|
469
469
|
firewallSwitch: 'FirewallSwitch',
|
|
470
|
+
firewallVSwitchCidrBlock: 'FirewallVSwitchCidrBlock',
|
|
471
|
+
firewallVpcCidrBlock: 'FirewallVpcCidrBlock',
|
|
472
|
+
firewallVpcZoneId: 'FirewallVpcZoneId',
|
|
470
473
|
lang: 'Lang',
|
|
471
474
|
memberUid: 'MemberUid',
|
|
472
475
|
networkInstanceId: 'NetworkInstanceId',
|
|
@@ -479,6 +482,9 @@ class CreateVpcFirewallCenConfigureRequest extends $tea.Model {
|
|
|
479
482
|
return {
|
|
480
483
|
cenId: 'string',
|
|
481
484
|
firewallSwitch: 'string',
|
|
485
|
+
firewallVSwitchCidrBlock: 'string',
|
|
486
|
+
firewallVpcCidrBlock: 'string',
|
|
487
|
+
firewallVpcZoneId: 'string',
|
|
482
488
|
lang: 'string',
|
|
483
489
|
memberUid: 'string',
|
|
484
490
|
networkInstanceId: 'string',
|
|
@@ -2545,6 +2551,7 @@ class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
2545
2551
|
return {
|
|
2546
2552
|
connectType: 'ConnectType',
|
|
2547
2553
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2554
|
+
firewallVpc: 'FirewallVpc',
|
|
2548
2555
|
localVpc: 'LocalVpc',
|
|
2549
2556
|
requestId: 'RequestId',
|
|
2550
2557
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -2555,6 +2562,7 @@ class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
2555
2562
|
return {
|
|
2556
2563
|
connectType: 'string',
|
|
2557
2564
|
firewallSwitchStatus: 'string',
|
|
2565
|
+
firewallVpc: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc,
|
|
2558
2566
|
localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
|
|
2559
2567
|
requestId: 'string',
|
|
2560
2568
|
vpcFirewallId: 'string',
|
|
@@ -5223,6 +5231,54 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $tea.
|
|
|
5223
5231
|
}
|
|
5224
5232
|
}
|
|
5225
5233
|
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
5234
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource extends $tea.Model {
|
|
5235
|
+
constructor(map) {
|
|
5236
|
+
super(map);
|
|
5237
|
+
}
|
|
5238
|
+
static names() {
|
|
5239
|
+
return {
|
|
5240
|
+
count: 'Count',
|
|
5241
|
+
peerTrList: 'PeerTrList',
|
|
5242
|
+
vbrList: 'VbrList',
|
|
5243
|
+
vpcList: 'VpcList',
|
|
5244
|
+
vpnList: 'VpnList',
|
|
5245
|
+
};
|
|
5246
|
+
}
|
|
5247
|
+
static types() {
|
|
5248
|
+
return {
|
|
5249
|
+
count: 'number',
|
|
5250
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
5251
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
5252
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
5253
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
5254
|
+
};
|
|
5255
|
+
}
|
|
5256
|
+
}
|
|
5257
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
|
|
5258
|
+
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource extends $tea.Model {
|
|
5259
|
+
constructor(map) {
|
|
5260
|
+
super(map);
|
|
5261
|
+
}
|
|
5262
|
+
static names() {
|
|
5263
|
+
return {
|
|
5264
|
+
count: 'Count',
|
|
5265
|
+
peerTrList: 'PeerTrList',
|
|
5266
|
+
vbrList: 'VbrList',
|
|
5267
|
+
vpcList: 'VpcList',
|
|
5268
|
+
vpnList: 'VpnList',
|
|
5269
|
+
};
|
|
5270
|
+
}
|
|
5271
|
+
static types() {
|
|
5272
|
+
return {
|
|
5273
|
+
count: 'number',
|
|
5274
|
+
peerTrList: { 'type': 'array', 'itemType': 'string' },
|
|
5275
|
+
vbrList: { 'type': 'array', 'itemType': 'string' },
|
|
5276
|
+
vpcList: { 'type': 'array', 'itemType': 'string' },
|
|
5277
|
+
vpnList: { 'type': 'array', 'itemType': 'string' },
|
|
5278
|
+
};
|
|
5279
|
+
}
|
|
5280
|
+
}
|
|
5281
|
+
exports.DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource = DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
|
|
5226
5282
|
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
5227
5283
|
constructor(map) {
|
|
5228
5284
|
super(map);
|
|
@@ -5236,11 +5292,13 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
|
5236
5292
|
ipsConfig: 'IpsConfig',
|
|
5237
5293
|
ownerId: 'OwnerId',
|
|
5238
5294
|
precheckStatus: 'PrecheckStatus',
|
|
5295
|
+
protectedResource: 'ProtectedResource',
|
|
5239
5296
|
regionNo: 'RegionNo',
|
|
5240
5297
|
regionStatus: 'RegionStatus',
|
|
5241
5298
|
resultCode: 'ResultCode',
|
|
5242
5299
|
routeMode: 'RouteMode',
|
|
5243
5300
|
transitRouterId: 'TransitRouterId',
|
|
5301
|
+
unprotectedResource: 'UnprotectedResource',
|
|
5244
5302
|
vpcFirewallName: 'VpcFirewallName',
|
|
5245
5303
|
};
|
|
5246
5304
|
}
|
|
@@ -5253,11 +5311,13 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
|
5253
5311
|
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
5254
5312
|
ownerId: 'number',
|
|
5255
5313
|
precheckStatus: 'string',
|
|
5314
|
+
protectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource,
|
|
5256
5315
|
regionNo: 'string',
|
|
5257
5316
|
regionStatus: 'string',
|
|
5258
5317
|
resultCode: 'string',
|
|
5259
5318
|
routeMode: 'string',
|
|
5260
5319
|
transitRouterId: 'string',
|
|
5320
|
+
unprotectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource,
|
|
5261
5321
|
vpcFirewallName: 'string',
|
|
5262
5322
|
};
|
|
5263
5323
|
}
|
|
@@ -5305,6 +5365,32 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model
|
|
|
5305
5365
|
}
|
|
5306
5366
|
}
|
|
5307
5367
|
exports.DescribeVpcFirewallAclGroupListResponseBodyAclGroupList = DescribeVpcFirewallAclGroupListResponseBodyAclGroupList;
|
|
5368
|
+
class DescribeVpcFirewallCenDetailResponseBodyFirewallVpc extends $tea.Model {
|
|
5369
|
+
constructor(map) {
|
|
5370
|
+
super(map);
|
|
5371
|
+
}
|
|
5372
|
+
static names() {
|
|
5373
|
+
return {
|
|
5374
|
+
allowConfiguration: 'AllowConfiguration',
|
|
5375
|
+
vpcCidr: 'VpcCidr',
|
|
5376
|
+
vpcId: 'VpcId',
|
|
5377
|
+
vswitchCidr: 'VswitchCidr',
|
|
5378
|
+
vswitchId: 'VswitchId',
|
|
5379
|
+
zoneId: 'ZoneId',
|
|
5380
|
+
};
|
|
5381
|
+
}
|
|
5382
|
+
static types() {
|
|
5383
|
+
return {
|
|
5384
|
+
allowConfiguration: 'number',
|
|
5385
|
+
vpcCidr: 'string',
|
|
5386
|
+
vpcId: 'string',
|
|
5387
|
+
vswitchCidr: 'string',
|
|
5388
|
+
vswitchId: 'string',
|
|
5389
|
+
zoneId: 'string',
|
|
5390
|
+
};
|
|
5391
|
+
}
|
|
5392
|
+
}
|
|
5393
|
+
exports.DescribeVpcFirewallCenDetailResponseBodyFirewallVpc = DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
5308
5394
|
class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
5309
5395
|
constructor(map) {
|
|
5310
5396
|
super(map);
|
|
@@ -5313,12 +5399,14 @@ class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model
|
|
|
5313
5399
|
return {
|
|
5314
5400
|
eniId: 'EniId',
|
|
5315
5401
|
eniPrivateIpAddress: 'EniPrivateIpAddress',
|
|
5402
|
+
eniVSwitchId: 'EniVSwitchId',
|
|
5316
5403
|
};
|
|
5317
5404
|
}
|
|
5318
5405
|
static types() {
|
|
5319
5406
|
return {
|
|
5320
5407
|
eniId: 'string',
|
|
5321
5408
|
eniPrivateIpAddress: 'string',
|
|
5409
|
+
eniVSwitchId: 'string',
|
|
5322
5410
|
};
|
|
5323
5411
|
}
|
|
5324
5412
|
}
|
|
@@ -6485,6 +6573,15 @@ class Client extends openapi_client_1.default {
|
|
|
6485
6573
|
if (!tea_util_1.default.isUnset(request.firewallSwitch)) {
|
|
6486
6574
|
query["FirewallSwitch"] = request.firewallSwitch;
|
|
6487
6575
|
}
|
|
6576
|
+
if (!tea_util_1.default.isUnset(request.firewallVSwitchCidrBlock)) {
|
|
6577
|
+
query["FirewallVSwitchCidrBlock"] = request.firewallVSwitchCidrBlock;
|
|
6578
|
+
}
|
|
6579
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcCidrBlock)) {
|
|
6580
|
+
query["FirewallVpcCidrBlock"] = request.firewallVpcCidrBlock;
|
|
6581
|
+
}
|
|
6582
|
+
if (!tea_util_1.default.isUnset(request.firewallVpcZoneId)) {
|
|
6583
|
+
query["FirewallVpcZoneId"] = request.firewallVpcZoneId;
|
|
6584
|
+
}
|
|
6488
6585
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6489
6586
|
query["Lang"] = request.lang;
|
|
6490
6587
|
}
|