@alicloud/cloudfw20171207 1.2.5 → 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 +58 -0
- package/dist/client.js +104 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +139 -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;
|
|
@@ -1475,6 +1478,7 @@ export declare class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Mod
|
|
|
1475
1478
|
firewallId?: string;
|
|
1476
1479
|
lang?: string;
|
|
1477
1480
|
pageSize?: number;
|
|
1481
|
+
policyId?: string;
|
|
1478
1482
|
static names(): {
|
|
1479
1483
|
[key: string]: string;
|
|
1480
1484
|
};
|
|
@@ -1487,6 +1491,7 @@ export declare class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Mod
|
|
|
1487
1491
|
}
|
|
1488
1492
|
export declare class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
|
|
1489
1493
|
requestId?: string;
|
|
1494
|
+
totalCount?: string;
|
|
1490
1495
|
trFirewallRoutePolicies?: DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies[];
|
|
1491
1496
|
static names(): {
|
|
1492
1497
|
[key: string]: string;
|
|
@@ -1776,6 +1781,7 @@ export declare class DescribeVpcFirewallCenDetailRequest extends $tea.Model {
|
|
|
1776
1781
|
export declare class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
1777
1782
|
connectType?: string;
|
|
1778
1783
|
firewallSwitchStatus?: string;
|
|
1784
|
+
firewallVpc?: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc;
|
|
1779
1785
|
localVpc?: DescribeVpcFirewallCenDetailResponseBodyLocalVpc;
|
|
1780
1786
|
requestId?: string;
|
|
1781
1787
|
vpcFirewallId?: string;
|
|
@@ -3628,6 +3634,38 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfi
|
|
|
3628
3634
|
[key: string]: any;
|
|
3629
3635
|
});
|
|
3630
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
|
+
}
|
|
3631
3669
|
export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
3632
3670
|
cenId?: string;
|
|
3633
3671
|
cenName?: string;
|
|
@@ -3636,11 +3674,13 @@ export declare class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends
|
|
|
3636
3674
|
ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
3637
3675
|
ownerId?: number;
|
|
3638
3676
|
precheckStatus?: string;
|
|
3677
|
+
protectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource;
|
|
3639
3678
|
regionNo?: string;
|
|
3640
3679
|
regionStatus?: string;
|
|
3641
3680
|
resultCode?: string;
|
|
3642
3681
|
routeMode?: string;
|
|
3643
3682
|
transitRouterId?: string;
|
|
3683
|
+
unprotectedResource?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource;
|
|
3644
3684
|
vpcFirewallName?: string;
|
|
3645
3685
|
static names(): {
|
|
3646
3686
|
[key: string]: string;
|
|
@@ -3681,9 +3721,27 @@ export declare class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList ext
|
|
|
3681
3721
|
[key: string]: any;
|
|
3682
3722
|
});
|
|
3683
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
|
+
}
|
|
3684
3741
|
export declare class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
3685
3742
|
eniId?: string;
|
|
3686
3743
|
eniPrivateIpAddress?: string;
|
|
3744
|
+
eniVSwitchId?: string;
|
|
3687
3745
|
static names(): {
|
|
3688
3746
|
[key: string]: string;
|
|
3689
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',
|
|
@@ -2113,6 +2119,7 @@ class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
|
|
|
2113
2119
|
firewallId: 'FirewallId',
|
|
2114
2120
|
lang: 'Lang',
|
|
2115
2121
|
pageSize: 'PageSize',
|
|
2122
|
+
policyId: 'PolicyId',
|
|
2116
2123
|
};
|
|
2117
2124
|
}
|
|
2118
2125
|
static types() {
|
|
@@ -2121,6 +2128,7 @@ class DescribeTrFirewallV2RoutePolicyListRequest extends $tea.Model {
|
|
|
2121
2128
|
firewallId: 'string',
|
|
2122
2129
|
lang: 'string',
|
|
2123
2130
|
pageSize: 'number',
|
|
2131
|
+
policyId: 'string',
|
|
2124
2132
|
};
|
|
2125
2133
|
}
|
|
2126
2134
|
}
|
|
@@ -2132,12 +2140,14 @@ class DescribeTrFirewallV2RoutePolicyListResponseBody extends $tea.Model {
|
|
|
2132
2140
|
static names() {
|
|
2133
2141
|
return {
|
|
2134
2142
|
requestId: 'RequestId',
|
|
2143
|
+
totalCount: 'TotalCount',
|
|
2135
2144
|
trFirewallRoutePolicies: 'TrFirewallRoutePolicies',
|
|
2136
2145
|
};
|
|
2137
2146
|
}
|
|
2138
2147
|
static types() {
|
|
2139
2148
|
return {
|
|
2140
2149
|
requestId: 'string',
|
|
2150
|
+
totalCount: 'string',
|
|
2141
2151
|
trFirewallRoutePolicies: { 'type': 'array', 'itemType': DescribeTrFirewallV2RoutePolicyListResponseBodyTrFirewallRoutePolicies },
|
|
2142
2152
|
};
|
|
2143
2153
|
}
|
|
@@ -2541,6 +2551,7 @@ class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
2541
2551
|
return {
|
|
2542
2552
|
connectType: 'ConnectType',
|
|
2543
2553
|
firewallSwitchStatus: 'FirewallSwitchStatus',
|
|
2554
|
+
firewallVpc: 'FirewallVpc',
|
|
2544
2555
|
localVpc: 'LocalVpc',
|
|
2545
2556
|
requestId: 'RequestId',
|
|
2546
2557
|
vpcFirewallId: 'VpcFirewallId',
|
|
@@ -2551,6 +2562,7 @@ class DescribeVpcFirewallCenDetailResponseBody extends $tea.Model {
|
|
|
2551
2562
|
return {
|
|
2552
2563
|
connectType: 'string',
|
|
2553
2564
|
firewallSwitchStatus: 'string',
|
|
2565
|
+
firewallVpc: DescribeVpcFirewallCenDetailResponseBodyFirewallVpc,
|
|
2554
2566
|
localVpc: DescribeVpcFirewallCenDetailResponseBodyLocalVpc,
|
|
2555
2567
|
requestId: 'string',
|
|
2556
2568
|
vpcFirewallId: 'string',
|
|
@@ -5219,6 +5231,54 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extends $tea.
|
|
|
5219
5231
|
}
|
|
5220
5232
|
}
|
|
5221
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;
|
|
5222
5282
|
class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
5223
5283
|
constructor(map) {
|
|
5224
5284
|
super(map);
|
|
@@ -5232,11 +5292,13 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
|
5232
5292
|
ipsConfig: 'IpsConfig',
|
|
5233
5293
|
ownerId: 'OwnerId',
|
|
5234
5294
|
precheckStatus: 'PrecheckStatus',
|
|
5295
|
+
protectedResource: 'ProtectedResource',
|
|
5235
5296
|
regionNo: 'RegionNo',
|
|
5236
5297
|
regionStatus: 'RegionStatus',
|
|
5237
5298
|
resultCode: 'ResultCode',
|
|
5238
5299
|
routeMode: 'RouteMode',
|
|
5239
5300
|
transitRouterId: 'TransitRouterId',
|
|
5301
|
+
unprotectedResource: 'UnprotectedResource',
|
|
5240
5302
|
vpcFirewallName: 'VpcFirewallName',
|
|
5241
5303
|
};
|
|
5242
5304
|
}
|
|
@@ -5249,11 +5311,13 @@ class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Model {
|
|
|
5249
5311
|
ipsConfig: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig,
|
|
5250
5312
|
ownerId: 'number',
|
|
5251
5313
|
precheckStatus: 'string',
|
|
5314
|
+
protectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResource,
|
|
5252
5315
|
regionNo: 'string',
|
|
5253
5316
|
regionStatus: 'string',
|
|
5254
5317
|
resultCode: 'string',
|
|
5255
5318
|
routeMode: 'string',
|
|
5256
5319
|
transitRouterId: 'string',
|
|
5320
|
+
unprotectedResource: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResource,
|
|
5257
5321
|
vpcFirewallName: 'string',
|
|
5258
5322
|
};
|
|
5259
5323
|
}
|
|
@@ -5301,6 +5365,32 @@ class DescribeVpcFirewallAclGroupListResponseBodyAclGroupList extends $tea.Model
|
|
|
5301
5365
|
}
|
|
5302
5366
|
}
|
|
5303
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;
|
|
5304
5394
|
class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model {
|
|
5305
5395
|
constructor(map) {
|
|
5306
5396
|
super(map);
|
|
@@ -5309,12 +5399,14 @@ class DescribeVpcFirewallCenDetailResponseBodyLocalVpcEniList extends $tea.Model
|
|
|
5309
5399
|
return {
|
|
5310
5400
|
eniId: 'EniId',
|
|
5311
5401
|
eniPrivateIpAddress: 'EniPrivateIpAddress',
|
|
5402
|
+
eniVSwitchId: 'EniVSwitchId',
|
|
5312
5403
|
};
|
|
5313
5404
|
}
|
|
5314
5405
|
static types() {
|
|
5315
5406
|
return {
|
|
5316
5407
|
eniId: 'string',
|
|
5317
5408
|
eniPrivateIpAddress: 'string',
|
|
5409
|
+
eniVSwitchId: 'string',
|
|
5318
5410
|
};
|
|
5319
5411
|
}
|
|
5320
5412
|
}
|
|
@@ -6481,6 +6573,15 @@ class Client extends openapi_client_1.default {
|
|
|
6481
6573
|
if (!tea_util_1.default.isUnset(request.firewallSwitch)) {
|
|
6482
6574
|
query["FirewallSwitch"] = request.firewallSwitch;
|
|
6483
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
|
+
}
|
|
6484
6585
|
if (!tea_util_1.default.isUnset(request.lang)) {
|
|
6485
6586
|
query["Lang"] = request.lang;
|
|
6486
6587
|
}
|
|
@@ -7865,6 +7966,9 @@ class Client extends openapi_client_1.default {
|
|
|
7865
7966
|
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
7866
7967
|
query["PageSize"] = request.pageSize;
|
|
7867
7968
|
}
|
|
7969
|
+
if (!tea_util_1.default.isUnset(request.policyId)) {
|
|
7970
|
+
query["PolicyId"] = request.policyId;
|
|
7971
|
+
}
|
|
7868
7972
|
let req = new $OpenApi.OpenApiRequest({
|
|
7869
7973
|
query: openapi_util_1.default.query(query),
|
|
7870
7974
|
});
|