@alicloud/cloudfw20171207 3.2.1 → 4.0.0
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 +362 -27
- package/dist/client.js +64 -24
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +385 -37
package/src/client.ts
CHANGED
|
@@ -977,6 +977,14 @@ export class CreateDownloadTaskRequest extends $tea.Model {
|
|
|
977
977
|
* {\\"SearchItem\\":\\"\\",\\"UserType\\":\\"buy\\",\\"IpVersion\\":\\"4\\"}
|
|
978
978
|
*/
|
|
979
979
|
taskData?: string;
|
|
980
|
+
/**
|
|
981
|
+
* @remarks
|
|
982
|
+
* The type of the task. For more information about task types, see the descriptions in the "DescribeDownloadTaskType" topic.
|
|
983
|
+
*
|
|
984
|
+
* @example
|
|
985
|
+
* InternetFirewallAsset
|
|
986
|
+
*/
|
|
987
|
+
taskType?: string;
|
|
980
988
|
/**
|
|
981
989
|
* @remarks
|
|
982
990
|
* The time zone of the time information in the downloaded file. The value must be an identifier of a time zone in the Internet Assigned Numbers Authority (IANA) database. The default value is Asia/Shanghai, which indicates UTC+8.
|
|
@@ -989,6 +997,7 @@ export class CreateDownloadTaskRequest extends $tea.Model {
|
|
|
989
997
|
return {
|
|
990
998
|
lang: 'Lang',
|
|
991
999
|
taskData: 'TaskData',
|
|
1000
|
+
taskType: 'TaskType',
|
|
992
1001
|
timeZone: 'TimeZone',
|
|
993
1002
|
};
|
|
994
1003
|
}
|
|
@@ -997,6 +1006,7 @@ export class CreateDownloadTaskRequest extends $tea.Model {
|
|
|
997
1006
|
return {
|
|
998
1007
|
lang: 'string',
|
|
999
1008
|
taskData: 'string',
|
|
1009
|
+
taskType: 'string',
|
|
1000
1010
|
timeZone: 'string',
|
|
1001
1011
|
};
|
|
1002
1012
|
}
|
|
@@ -3865,6 +3875,8 @@ export class DeleteNatFirewallControlPolicyBatchRequest extends $tea.Model {
|
|
|
3865
3875
|
/**
|
|
3866
3876
|
* @remarks
|
|
3867
3877
|
* The UUIDs of access control policies.
|
|
3878
|
+
*
|
|
3879
|
+
* This parameter is required.
|
|
3868
3880
|
*/
|
|
3869
3881
|
aclUuidList?: string[];
|
|
3870
3882
|
/**
|
|
@@ -4867,6 +4879,13 @@ export class DescribeAssetListRequest extends $tea.Model {
|
|
|
4867
4879
|
* discovered in 1 hour
|
|
4868
4880
|
*/
|
|
4869
4881
|
newResourceTag?: string;
|
|
4882
|
+
/**
|
|
4883
|
+
* @remarks
|
|
4884
|
+
* Whether to query external traffic information.
|
|
4885
|
+
*
|
|
4886
|
+
* @example
|
|
4887
|
+
* true
|
|
4888
|
+
*/
|
|
4870
4889
|
outStatistic?: string;
|
|
4871
4890
|
/**
|
|
4872
4891
|
* @remarks
|
|
@@ -4916,6 +4935,13 @@ export class DescribeAssetListRequest extends $tea.Model {
|
|
|
4916
4935
|
* 192.0.XX.XX
|
|
4917
4936
|
*/
|
|
4918
4937
|
searchItem?: string;
|
|
4938
|
+
/**
|
|
4939
|
+
* @remarks
|
|
4940
|
+
* Data leakage detection activation status.
|
|
4941
|
+
*
|
|
4942
|
+
* @example
|
|
4943
|
+
* open
|
|
4944
|
+
*/
|
|
4919
4945
|
sensitiveStatus?: string;
|
|
4920
4946
|
/**
|
|
4921
4947
|
* @remarks
|
|
@@ -5013,7 +5039,7 @@ export class DescribeAssetListRequest extends $tea.Model {
|
|
|
5013
5039
|
export class DescribeAssetListResponseBody extends $tea.Model {
|
|
5014
5040
|
/**
|
|
5015
5041
|
* @remarks
|
|
5016
|
-
* The
|
|
5042
|
+
* The assets that are protected by Cloud Firewall.
|
|
5017
5043
|
*/
|
|
5018
5044
|
assets?: DescribeAssetListResponseBodyAssets[];
|
|
5019
5045
|
/**
|
|
@@ -5217,10 +5243,23 @@ export class DescribeAssetRiskListResponse extends $tea.Model {
|
|
|
5217
5243
|
|
|
5218
5244
|
export class DescribeAssetStatisticRequest extends $tea.Model {
|
|
5219
5245
|
/**
|
|
5246
|
+
* @remarks
|
|
5247
|
+
* The language of the content within the request. Valid values:
|
|
5248
|
+
*
|
|
5249
|
+
* * **zh** (default): Chinese
|
|
5250
|
+
* * **en**: English
|
|
5251
|
+
*
|
|
5220
5252
|
* @example
|
|
5221
5253
|
* zh
|
|
5222
5254
|
*/
|
|
5223
5255
|
lang?: string;
|
|
5256
|
+
/**
|
|
5257
|
+
* @remarks
|
|
5258
|
+
* The source IP address of the request.
|
|
5259
|
+
*
|
|
5260
|
+
* @example
|
|
5261
|
+
* 112.239.XX.XX
|
|
5262
|
+
*/
|
|
5224
5263
|
sourceIp?: string;
|
|
5225
5264
|
static names(): { [key: string]: string } {
|
|
5226
5265
|
return {
|
|
@@ -5243,10 +5282,17 @@ export class DescribeAssetStatisticRequest extends $tea.Model {
|
|
|
5243
5282
|
|
|
5244
5283
|
export class DescribeAssetStatisticResponseBody extends $tea.Model {
|
|
5245
5284
|
/**
|
|
5285
|
+
* @remarks
|
|
5286
|
+
* The request ID.
|
|
5287
|
+
*
|
|
5246
5288
|
* @example
|
|
5247
5289
|
* 850A84******25g4d2
|
|
5248
5290
|
*/
|
|
5249
5291
|
requestId?: string;
|
|
5292
|
+
/**
|
|
5293
|
+
* @remarks
|
|
5294
|
+
* The statistics on specifications.
|
|
5295
|
+
*/
|
|
5250
5296
|
resourceSpecStatistic?: DescribeAssetStatisticResponseBodyResourceSpecStatistic;
|
|
5251
5297
|
static names(): { [key: string]: string } {
|
|
5252
5298
|
return {
|
|
@@ -8044,8 +8090,8 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
8044
8090
|
* @remarks
|
|
8045
8091
|
* The language of the content within the response. Valid values:
|
|
8046
8092
|
*
|
|
8047
|
-
* * **zh** (default)
|
|
8048
|
-
* * **en
|
|
8093
|
+
* * **zh** (default)
|
|
8094
|
+
* * **en**
|
|
8049
8095
|
*
|
|
8050
8096
|
* @example
|
|
8051
8097
|
* zh
|
|
@@ -8053,10 +8099,10 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
|
|
|
8053
8099
|
lang?: string;
|
|
8054
8100
|
/**
|
|
8055
8101
|
* @remarks
|
|
8056
|
-
* The method that
|
|
8102
|
+
* The method that you want to use to sort the query results. Valid values:
|
|
8057
8103
|
*
|
|
8058
|
-
* * **asc
|
|
8059
|
-
* * **desc** (default)
|
|
8104
|
+
* * **asc**
|
|
8105
|
+
* * **desc** (default)
|
|
8060
8106
|
*
|
|
8061
8107
|
* @example
|
|
8062
8108
|
* desc
|
|
@@ -8464,7 +8510,7 @@ export class DescribeOutgoingDomainRequest extends $tea.Model {
|
|
|
8464
8510
|
export class DescribeOutgoingDomainResponseBody extends $tea.Model {
|
|
8465
8511
|
/**
|
|
8466
8512
|
* @remarks
|
|
8467
|
-
*
|
|
8513
|
+
* The domain names in outbound connections.
|
|
8468
8514
|
*/
|
|
8469
8515
|
domainList?: DescribeOutgoingDomainResponseBodyDomainList[];
|
|
8470
8516
|
/**
|
|
@@ -8833,6 +8879,13 @@ export class DescribePostpayTrafficDetailRequest extends $tea.Model {
|
|
|
8833
8879
|
* 10
|
|
8834
8880
|
*/
|
|
8835
8881
|
pageSize?: number;
|
|
8882
|
+
/**
|
|
8883
|
+
* @remarks
|
|
8884
|
+
* The region ID.
|
|
8885
|
+
*
|
|
8886
|
+
* @example
|
|
8887
|
+
* cn-beijing
|
|
8888
|
+
*/
|
|
8836
8889
|
regionNo?: string;
|
|
8837
8890
|
/**
|
|
8838
8891
|
* @remarks
|
|
@@ -9142,6 +9195,8 @@ export class DescribePrefixListsRequest extends $tea.Model {
|
|
|
9142
9195
|
* @remarks
|
|
9143
9196
|
* The region ID of the instance.
|
|
9144
9197
|
*
|
|
9198
|
+
* This parameter is required.
|
|
9199
|
+
*
|
|
9145
9200
|
* @example
|
|
9146
9201
|
* cn-shenzhen
|
|
9147
9202
|
*/
|
|
@@ -9356,6 +9411,14 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
|
|
|
9356
9411
|
* InternetFirewall
|
|
9357
9412
|
*/
|
|
9358
9413
|
firewallType?: string;
|
|
9414
|
+
/**
|
|
9415
|
+
* @remarks
|
|
9416
|
+
* Whether to query only the data that has completed private network tracing.
|
|
9417
|
+
*
|
|
9418
|
+
* @example
|
|
9419
|
+
* true
|
|
9420
|
+
*/
|
|
9421
|
+
isOnlyPrivateAssoc?: string;
|
|
9359
9422
|
/**
|
|
9360
9423
|
* @remarks
|
|
9361
9424
|
* The language of the content within the request and response. Valid values:
|
|
@@ -9492,6 +9555,7 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
|
|
|
9492
9555
|
endTime: 'EndTime',
|
|
9493
9556
|
eventName: 'EventName',
|
|
9494
9557
|
firewallType: 'FirewallType',
|
|
9558
|
+
isOnlyPrivateAssoc: 'IsOnlyPrivateAssoc',
|
|
9495
9559
|
lang: 'Lang',
|
|
9496
9560
|
noLocation: 'NoLocation',
|
|
9497
9561
|
order: 'Order',
|
|
@@ -9519,6 +9583,7 @@ export class DescribeRiskEventGroupRequest extends $tea.Model {
|
|
|
9519
9583
|
endTime: 'string',
|
|
9520
9584
|
eventName: 'string',
|
|
9521
9585
|
firewallType: 'string',
|
|
9586
|
+
isOnlyPrivateAssoc: 'string',
|
|
9522
9587
|
lang: 'string',
|
|
9523
9588
|
noLocation: 'string',
|
|
9524
9589
|
order: 'string',
|
|
@@ -9746,8 +9811,29 @@ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
|
|
|
9746
9811
|
* vpc-bp10w5nb30r4jzfyc****
|
|
9747
9812
|
*/
|
|
9748
9813
|
dstVpcId?: string;
|
|
9814
|
+
/**
|
|
9815
|
+
* @remarks
|
|
9816
|
+
* Type of the hit.
|
|
9817
|
+
*
|
|
9818
|
+
* @example
|
|
9819
|
+
* 1
|
|
9820
|
+
*/
|
|
9749
9821
|
hitContentType?: number;
|
|
9822
|
+
/**
|
|
9823
|
+
* @remarks
|
|
9824
|
+
* The position where the hit ends.
|
|
9825
|
+
*
|
|
9826
|
+
* @example
|
|
9827
|
+
* 67
|
|
9828
|
+
*/
|
|
9750
9829
|
hitTo?: number;
|
|
9830
|
+
/**
|
|
9831
|
+
* @remarks
|
|
9832
|
+
* Hit payload.
|
|
9833
|
+
*
|
|
9834
|
+
* @example
|
|
9835
|
+
* 2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f
|
|
9836
|
+
*/
|
|
9751
9837
|
parsedContent?: string;
|
|
9752
9838
|
/**
|
|
9753
9839
|
* @remarks
|
|
@@ -10692,7 +10778,7 @@ export class DescribeTrFirewallsV2ListResponseBody extends $tea.Model {
|
|
|
10692
10778
|
totalCount?: string;
|
|
10693
10779
|
/**
|
|
10694
10780
|
* @remarks
|
|
10695
|
-
* The VPC firewalls.
|
|
10781
|
+
* The information about the VPC firewalls.
|
|
10696
10782
|
*/
|
|
10697
10783
|
vpcTrFirewalls?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls[];
|
|
10698
10784
|
static names(): { [key: string]: string } {
|
|
@@ -11053,6 +11139,13 @@ export class DescribeUserAssetIPTrafficInfoResponse extends $tea.Model {
|
|
|
11053
11139
|
}
|
|
11054
11140
|
|
|
11055
11141
|
export class DescribeUserBuyVersionRequest extends $tea.Model {
|
|
11142
|
+
/**
|
|
11143
|
+
* @remarks
|
|
11144
|
+
* Instance ID. If the Instance ID is provided, the query will be based on this ID. If not provided, the latest instance will be queried by default.
|
|
11145
|
+
*
|
|
11146
|
+
* @example
|
|
11147
|
+
* cfw_elasticity_public_cn-*******
|
|
11148
|
+
*/
|
|
11056
11149
|
instanceId?: string;
|
|
11057
11150
|
static names(): { [key: string]: string } {
|
|
11058
11151
|
return {
|
|
@@ -11073,66 +11166,141 @@ export class DescribeUserBuyVersionRequest extends $tea.Model {
|
|
|
11073
11166
|
|
|
11074
11167
|
export class DescribeUserBuyVersionResponseBody extends $tea.Model {
|
|
11075
11168
|
/**
|
|
11169
|
+
* @remarks
|
|
11170
|
+
* The ID of the Alibaba Cloud account that is used to purchase Cloud Firewall.
|
|
11171
|
+
*
|
|
11076
11172
|
* @example
|
|
11077
11173
|
* 119898001566xxxx
|
|
11078
11174
|
*/
|
|
11079
11175
|
aliUid?: number;
|
|
11080
11176
|
/**
|
|
11177
|
+
* @remarks
|
|
11178
|
+
* The time when Cloud Firewall expires.
|
|
11179
|
+
*
|
|
11180
|
+
* > The value is a timestamp in milliseconds.
|
|
11181
|
+
*
|
|
11182
|
+
* > If you use Cloud Firewall that uses the pay-as-you-go billing method, ignore this parameter.
|
|
11183
|
+
*
|
|
11081
11184
|
* @example
|
|
11082
11185
|
* 1726934400000
|
|
11083
11186
|
*/
|
|
11084
11187
|
expire?: number;
|
|
11085
11188
|
/**
|
|
11189
|
+
* @remarks
|
|
11190
|
+
* The instance ID of Cloud Firewall.
|
|
11191
|
+
*
|
|
11192
|
+
* > If you use a trial of Cloud Firewall, ignore this parameter.
|
|
11193
|
+
*
|
|
11086
11194
|
* @example
|
|
11087
11195
|
* vipcloudfw-cn-xxxxx
|
|
11088
11196
|
*/
|
|
11089
11197
|
instanceId?: string;
|
|
11090
11198
|
/**
|
|
11199
|
+
* @remarks
|
|
11200
|
+
* The status of Cloud Firewall. Valid values:
|
|
11201
|
+
*
|
|
11202
|
+
* * **normal**: Cloud Firewall is running as expected.
|
|
11203
|
+
* * **init**: Cloud Firewall is being initialized.
|
|
11204
|
+
* * **deleting**: Cloud Firewall is being deleted.
|
|
11205
|
+
* * **abnormal**: An exception occurs in Cloud Firewall.
|
|
11206
|
+
* * **free**: Cloud Firewall is invalid.
|
|
11207
|
+
*
|
|
11091
11208
|
* @example
|
|
11092
11209
|
* normal
|
|
11093
11210
|
*/
|
|
11094
11211
|
instanceStatus?: string;
|
|
11095
11212
|
/**
|
|
11213
|
+
* @remarks
|
|
11214
|
+
* The number of public IP addresses that can be protected.
|
|
11215
|
+
*
|
|
11216
|
+
* > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
|
|
11217
|
+
*
|
|
11096
11218
|
* @example
|
|
11097
11219
|
* 63
|
|
11098
11220
|
*/
|
|
11099
11221
|
ipNumber?: number;
|
|
11100
11222
|
/**
|
|
11223
|
+
* @remarks
|
|
11224
|
+
* Indicates whether log delivery is enabled. Valid values:
|
|
11225
|
+
*
|
|
11226
|
+
* * **true**
|
|
11227
|
+
* * **false**
|
|
11228
|
+
*
|
|
11101
11229
|
* @example
|
|
11102
11230
|
* true
|
|
11103
11231
|
*/
|
|
11104
11232
|
logStatus?: boolean;
|
|
11105
11233
|
/**
|
|
11234
|
+
* @remarks
|
|
11235
|
+
* The log storage capacity.
|
|
11236
|
+
*
|
|
11237
|
+
* > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
|
|
11238
|
+
*
|
|
11106
11239
|
* @example
|
|
11107
11240
|
* 3000
|
|
11108
11241
|
*/
|
|
11109
11242
|
logStorage?: number;
|
|
11110
11243
|
/**
|
|
11244
|
+
* @remarks
|
|
11245
|
+
* The status of the burstable protected traffic feature. Valid values:
|
|
11246
|
+
*
|
|
11247
|
+
* * **1000000**: enabled.
|
|
11248
|
+
* * **0**: disabled.
|
|
11249
|
+
*
|
|
11250
|
+
* > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
|
|
11251
|
+
*
|
|
11111
11252
|
* @example
|
|
11112
11253
|
* 0
|
|
11113
11254
|
*/
|
|
11114
11255
|
maxOverflow?: number;
|
|
11115
11256
|
/**
|
|
11257
|
+
* @remarks
|
|
11258
|
+
* The request ID.
|
|
11259
|
+
*
|
|
11116
11260
|
* @example
|
|
11117
11261
|
* F71B03EE-xxxxx-91D79CC6AA1A
|
|
11118
11262
|
*/
|
|
11119
11263
|
requestId?: string;
|
|
11120
11264
|
/**
|
|
11265
|
+
* @remarks
|
|
11266
|
+
* The time when Cloud Firewall was activated.
|
|
11267
|
+
*
|
|
11268
|
+
* > The value is a timestamp in milliseconds.
|
|
11269
|
+
*
|
|
11121
11270
|
* @example
|
|
11122
11271
|
* 1692504764000
|
|
11123
11272
|
*/
|
|
11124
11273
|
startTime?: number;
|
|
11125
11274
|
/**
|
|
11275
|
+
* @remarks
|
|
11276
|
+
* Indicates whether Cloud Firewall is valid. Valid values:
|
|
11277
|
+
*
|
|
11278
|
+
* * **true**
|
|
11279
|
+
* * **false**
|
|
11280
|
+
*
|
|
11126
11281
|
* @example
|
|
11127
11282
|
* true
|
|
11128
11283
|
*/
|
|
11129
11284
|
userStatus?: boolean;
|
|
11130
11285
|
/**
|
|
11286
|
+
* @remarks
|
|
11287
|
+
* The edition of Cloud Firewall. Valid values:
|
|
11288
|
+
*
|
|
11289
|
+
* * **2**: Premium Edition.
|
|
11290
|
+
* * **3**: Enterprise Edition.
|
|
11291
|
+
* * **4**: Ultimate Edition.
|
|
11292
|
+
* * **10**: Cloud Firewall that uses the pay-as-you-go billing method.
|
|
11293
|
+
*
|
|
11131
11294
|
* @example
|
|
11132
11295
|
* 2
|
|
11133
11296
|
*/
|
|
11134
11297
|
version?: number;
|
|
11135
11298
|
/**
|
|
11299
|
+
* @remarks
|
|
11300
|
+
* The number of virtual private clouds (VPCs) that can be protected.
|
|
11301
|
+
*
|
|
11302
|
+
* > This parameter takes effect only for Cloud Firewall that uses the subscription billing method.
|
|
11303
|
+
*
|
|
11136
11304
|
* @example
|
|
11137
11305
|
* 21
|
|
11138
11306
|
*/
|
|
@@ -11750,7 +11918,7 @@ export class DescribeVpcFirewallCenListResponseBody extends $tea.Model {
|
|
|
11750
11918
|
totalCount?: number;
|
|
11751
11919
|
/**
|
|
11752
11920
|
* @remarks
|
|
11753
|
-
*
|
|
11921
|
+
* The information about the VPC firewalls.
|
|
11754
11922
|
*/
|
|
11755
11923
|
vpcFirewalls?: DescribeVpcFirewallCenListResponseBodyVpcFirewalls[];
|
|
11756
11924
|
static names(): { [key: string]: string } {
|
|
@@ -11826,8 +11994,6 @@ export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
11826
11994
|
* @remarks
|
|
11827
11995
|
* The number of the page to return.
|
|
11828
11996
|
*
|
|
11829
|
-
* This parameter is required.
|
|
11830
|
-
*
|
|
11831
11997
|
* @example
|
|
11832
11998
|
* 1
|
|
11833
11999
|
*/
|
|
@@ -11877,8 +12043,6 @@ export class DescribeVpcFirewallControlPolicyRequest extends $tea.Model {
|
|
|
11877
12043
|
*
|
|
11878
12044
|
* Maximum value: 50.
|
|
11879
12045
|
*
|
|
11880
|
-
* This parameter is required.
|
|
11881
|
-
*
|
|
11882
12046
|
* @example
|
|
11883
12047
|
* 10
|
|
11884
12048
|
*/
|
|
@@ -12129,6 +12293,17 @@ export class DescribeVpcFirewallDefaultIPSConfigResponseBody extends $tea.Model
|
|
|
12129
12293
|
* 850A84D6-0DE4-4797-A1E8-00090125adf1
|
|
12130
12294
|
*/
|
|
12131
12295
|
requestId?: string;
|
|
12296
|
+
/**
|
|
12297
|
+
* @remarks
|
|
12298
|
+
* The level of the rule group for the IPS. Valid values:
|
|
12299
|
+
*
|
|
12300
|
+
* * **1**: loose.
|
|
12301
|
+
* * **2**: medium.
|
|
12302
|
+
* * **3**: strict.
|
|
12303
|
+
*
|
|
12304
|
+
* @example
|
|
12305
|
+
* 1
|
|
12306
|
+
*/
|
|
12132
12307
|
ruleClass?: number;
|
|
12133
12308
|
/**
|
|
12134
12309
|
* @remarks
|
|
@@ -12994,6 +13169,8 @@ export class DescribeVpcZoneRequest extends $tea.Model {
|
|
|
12994
13169
|
* @remarks
|
|
12995
13170
|
* The region ID.
|
|
12996
13171
|
*
|
|
13172
|
+
* This parameter is required.
|
|
13173
|
+
*
|
|
12997
13174
|
* @example
|
|
12998
13175
|
* cn-shanghai
|
|
12999
13176
|
*/
|
|
@@ -18176,6 +18353,28 @@ export class DescribeACLProtectTrendResponseBodyTrendList extends $tea.Model {
|
|
|
18176
18353
|
}
|
|
18177
18354
|
}
|
|
18178
18355
|
|
|
18356
|
+
export class DescribeAddressBookResponseBodyAclsAddresses extends $tea.Model {
|
|
18357
|
+
address?: string;
|
|
18358
|
+
note?: string;
|
|
18359
|
+
static names(): { [key: string]: string } {
|
|
18360
|
+
return {
|
|
18361
|
+
address: 'Address',
|
|
18362
|
+
note: 'Note',
|
|
18363
|
+
};
|
|
18364
|
+
}
|
|
18365
|
+
|
|
18366
|
+
static types(): { [key: string]: any } {
|
|
18367
|
+
return {
|
|
18368
|
+
address: 'string',
|
|
18369
|
+
note: 'string',
|
|
18370
|
+
};
|
|
18371
|
+
}
|
|
18372
|
+
|
|
18373
|
+
constructor(map?: { [key: string]: any }) {
|
|
18374
|
+
super(map);
|
|
18375
|
+
}
|
|
18376
|
+
}
|
|
18377
|
+
|
|
18179
18378
|
export class DescribeAddressBookResponseBodyAclsTagList extends $tea.Model {
|
|
18180
18379
|
/**
|
|
18181
18380
|
* @remarks
|
|
@@ -18226,6 +18425,7 @@ export class DescribeAddressBookResponseBodyAcls extends $tea.Model {
|
|
|
18226
18425
|
* 2
|
|
18227
18426
|
*/
|
|
18228
18427
|
addressListCount?: number;
|
|
18428
|
+
addresses?: DescribeAddressBookResponseBodyAclsAddresses[];
|
|
18229
18429
|
/**
|
|
18230
18430
|
* @remarks
|
|
18231
18431
|
* Indicates whether the public IP addresses of ECS instances are automatically added to the address book if the instances match the specified tags. The setting takes effect on both newly purchased ECS instances whose tag settings are complete and ECS instances whose tag settings are modified. Valid values:
|
|
@@ -18304,6 +18504,7 @@ export class DescribeAddressBookResponseBodyAcls extends $tea.Model {
|
|
|
18304
18504
|
return {
|
|
18305
18505
|
addressList: 'AddressList',
|
|
18306
18506
|
addressListCount: 'AddressListCount',
|
|
18507
|
+
addresses: 'Addresses',
|
|
18307
18508
|
autoAddTagEcs: 'AutoAddTagEcs',
|
|
18308
18509
|
description: 'Description',
|
|
18309
18510
|
groupName: 'GroupName',
|
|
@@ -18319,6 +18520,7 @@ export class DescribeAddressBookResponseBodyAcls extends $tea.Model {
|
|
|
18319
18520
|
return {
|
|
18320
18521
|
addressList: { 'type': 'array', 'itemType': 'string' },
|
|
18321
18522
|
addressListCount: 'number',
|
|
18523
|
+
addresses: { 'type': 'array', 'itemType': DescribeAddressBookResponseBodyAclsAddresses },
|
|
18322
18524
|
autoAddTagEcs: 'number',
|
|
18323
18525
|
description: 'string',
|
|
18324
18526
|
groupName: 'string',
|
|
@@ -18399,6 +18601,13 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
|
|
|
18399
18601
|
* 4
|
|
18400
18602
|
*/
|
|
18401
18603
|
ipVersion?: number;
|
|
18604
|
+
/**
|
|
18605
|
+
* @remarks
|
|
18606
|
+
* Outbound traffic in the last 7 days.
|
|
18607
|
+
*
|
|
18608
|
+
* @example
|
|
18609
|
+
* 0
|
|
18610
|
+
*/
|
|
18402
18611
|
last7DayOutTrafficBytes?: number;
|
|
18403
18612
|
/**
|
|
18404
18613
|
* @remarks
|
|
@@ -18513,6 +18722,13 @@ export class DescribeAssetListResponseBodyAssets extends $tea.Model {
|
|
|
18513
18722
|
* low
|
|
18514
18723
|
*/
|
|
18515
18724
|
riskLevel?: string;
|
|
18725
|
+
/**
|
|
18726
|
+
* @remarks
|
|
18727
|
+
* Data leakage detection enabled status.
|
|
18728
|
+
*
|
|
18729
|
+
* @example
|
|
18730
|
+
* open
|
|
18731
|
+
*/
|
|
18516
18732
|
sensitiveDataStatus?: string;
|
|
18517
18733
|
/**
|
|
18518
18734
|
* @remarks
|
|
@@ -18681,31 +18897,41 @@ export class DescribeAssetRiskListResponseBodyAssetList extends $tea.Model {
|
|
|
18681
18897
|
|
|
18682
18898
|
export class DescribeAssetStatisticResponseBodyResourceSpecStatistic extends $tea.Model {
|
|
18683
18899
|
/**
|
|
18900
|
+
* @remarks
|
|
18901
|
+
* The number of public IP addresses that can be protected.
|
|
18902
|
+
*
|
|
18684
18903
|
* @example
|
|
18685
18904
|
* 20
|
|
18686
18905
|
*/
|
|
18687
18906
|
ipNumSpec?: number;
|
|
18688
18907
|
/**
|
|
18908
|
+
* @remarks
|
|
18909
|
+
* The number of public IP addresses that are protected.
|
|
18910
|
+
*
|
|
18689
18911
|
* @example
|
|
18690
18912
|
* 10
|
|
18691
18913
|
*/
|
|
18692
18914
|
ipNumUsed?: number;
|
|
18693
|
-
|
|
18694
|
-
|
|
18695
|
-
|
|
18696
|
-
|
|
18697
|
-
|
|
18915
|
+
/**
|
|
18916
|
+
* @remarks
|
|
18917
|
+
* The number of public IP addresses that can enable data leakage detection.
|
|
18918
|
+
*
|
|
18919
|
+
* @example
|
|
18920
|
+
* 0
|
|
18921
|
+
*/
|
|
18698
18922
|
sensitiveDataIpNumSpec?: number;
|
|
18923
|
+
/**
|
|
18924
|
+
* @remarks
|
|
18925
|
+
* The number of public IP addresses that enabled data leakage detection.
|
|
18926
|
+
*
|
|
18927
|
+
* @example
|
|
18928
|
+
* 0
|
|
18929
|
+
*/
|
|
18699
18930
|
sensitiveDataIpNumUsed?: number;
|
|
18700
18931
|
static names(): { [key: string]: string } {
|
|
18701
18932
|
return {
|
|
18702
18933
|
ipNumSpec: 'IpNumSpec',
|
|
18703
18934
|
ipNumUsed: 'IpNumUsed',
|
|
18704
|
-
isIpNumEnough: 'IsIpNumEnough',
|
|
18705
|
-
isRegionNumEnough: 'IsRegionNumEnough',
|
|
18706
|
-
isSuggestUpdate: 'IsSuggestUpdate',
|
|
18707
|
-
regionNumSpec: 'RegionNumSpec',
|
|
18708
|
-
regionNumUsed: 'RegionNumUsed',
|
|
18709
18935
|
sensitiveDataIpNumSpec: 'SensitiveDataIpNumSpec',
|
|
18710
18936
|
sensitiveDataIpNumUsed: 'SensitiveDataIpNumUsed',
|
|
18711
18937
|
};
|
|
@@ -18715,11 +18941,6 @@ export class DescribeAssetStatisticResponseBodyResourceSpecStatistic extends $te
|
|
|
18715
18941
|
return {
|
|
18716
18942
|
ipNumSpec: 'number',
|
|
18717
18943
|
ipNumUsed: 'number',
|
|
18718
|
-
isIpNumEnough: 'number',
|
|
18719
|
-
isRegionNumEnough: 'number',
|
|
18720
|
-
isSuggestUpdate: 'number',
|
|
18721
|
-
regionNumSpec: 'number',
|
|
18722
|
-
regionNumUsed: 'number',
|
|
18723
18944
|
sensitiveDataIpNumSpec: 'number',
|
|
18724
18945
|
sensitiveDataIpNumUsed: 'number',
|
|
18725
18946
|
};
|
|
@@ -19795,7 +20016,21 @@ export class DescribeInternetOpenIpResponseBodyDataList extends $tea.Model {
|
|
|
19795
20016
|
* The list of applications.
|
|
19796
20017
|
*/
|
|
19797
20018
|
serviceNameList?: string[];
|
|
20019
|
+
/**
|
|
20020
|
+
* @remarks
|
|
20021
|
+
* Number of source IPs.
|
|
20022
|
+
*
|
|
20023
|
+
* @example
|
|
20024
|
+
* 22
|
|
20025
|
+
*/
|
|
19798
20026
|
srcIpCnt?: number;
|
|
20027
|
+
/**
|
|
20028
|
+
* @remarks
|
|
20029
|
+
* Outbound traffic in the last 7 days.
|
|
20030
|
+
*
|
|
20031
|
+
* @example
|
|
20032
|
+
* 100000
|
|
20033
|
+
*/
|
|
19799
20034
|
totalReplyBytes?: number;
|
|
19800
20035
|
/**
|
|
19801
20036
|
* @remarks
|
|
@@ -21017,9 +21252,9 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPListTagList extends $
|
|
|
21017
21252
|
* @remarks
|
|
21018
21253
|
* The risk level. Valid values:
|
|
21019
21254
|
*
|
|
21020
|
-
* * **1**: low
|
|
21021
|
-
* * **2**: medium
|
|
21022
|
-
* * **3**: high
|
|
21255
|
+
* * **1**: low.
|
|
21256
|
+
* * **2**: medium.
|
|
21257
|
+
* * **3**: high.
|
|
21023
21258
|
*
|
|
21024
21259
|
* @example
|
|
21025
21260
|
* 1
|
|
@@ -21113,8 +21348,17 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21113
21348
|
/**
|
|
21114
21349
|
* @remarks
|
|
21115
21350
|
* The application ports.
|
|
21351
|
+
*
|
|
21352
|
+
* > Only the first 100 application ports are displayed.
|
|
21116
21353
|
*/
|
|
21117
21354
|
applicationPortList?: DescribeOutgoingDestinationIPResponseBodyDstIPListApplicationPortList[];
|
|
21355
|
+
/**
|
|
21356
|
+
* @remarks
|
|
21357
|
+
* The outbound asset count.
|
|
21358
|
+
*
|
|
21359
|
+
* @example
|
|
21360
|
+
* 20
|
|
21361
|
+
*/
|
|
21118
21362
|
assetCount?: number;
|
|
21119
21363
|
/**
|
|
21120
21364
|
* @remarks
|
|
@@ -21207,6 +21451,13 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21207
21451
|
* true
|
|
21208
21452
|
*/
|
|
21209
21453
|
isMarkNormal?: boolean;
|
|
21454
|
+
/**
|
|
21455
|
+
* @remarks
|
|
21456
|
+
* Location name.
|
|
21457
|
+
*
|
|
21458
|
+
* @example
|
|
21459
|
+
* 山东省青岛市
|
|
21460
|
+
*/
|
|
21210
21461
|
locationName?: string;
|
|
21211
21462
|
/**
|
|
21212
21463
|
* @remarks
|
|
@@ -21216,6 +21467,13 @@ export class DescribeOutgoingDestinationIPResponseBodyDstIPList extends $tea.Mod
|
|
|
21216
21467
|
* 965
|
|
21217
21468
|
*/
|
|
21218
21469
|
outBytes?: number;
|
|
21470
|
+
/**
|
|
21471
|
+
* @remarks
|
|
21472
|
+
* The outbound private asset count.
|
|
21473
|
+
*
|
|
21474
|
+
* @example
|
|
21475
|
+
* 20
|
|
21476
|
+
*/
|
|
21219
21477
|
privateAssetCount?: number;
|
|
21220
21478
|
/**
|
|
21221
21479
|
* @remarks
|
|
@@ -21460,7 +21718,18 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21460
21718
|
* fdad-fdafa-dafa-dfa****
|
|
21461
21719
|
*/
|
|
21462
21720
|
addressGroupUUID?: string;
|
|
21721
|
+
/**
|
|
21722
|
+
* @remarks
|
|
21723
|
+
* The application names.
|
|
21724
|
+
*/
|
|
21463
21725
|
applicationNameList?: string[];
|
|
21726
|
+
/**
|
|
21727
|
+
* @remarks
|
|
21728
|
+
* The outbound asset count.
|
|
21729
|
+
*
|
|
21730
|
+
* @example
|
|
21731
|
+
* 20
|
|
21732
|
+
*/
|
|
21464
21733
|
assetCount?: number;
|
|
21465
21734
|
/**
|
|
21466
21735
|
* @remarks
|
|
@@ -21577,6 +21846,13 @@ export class DescribeOutgoingDomainResponseBodyDomainList extends $tea.Model {
|
|
|
21577
21846
|
* 4582
|
|
21578
21847
|
*/
|
|
21579
21848
|
outBytes?: number;
|
|
21849
|
+
/**
|
|
21850
|
+
* @remarks
|
|
21851
|
+
* The outbound private asset count.
|
|
21852
|
+
*
|
|
21853
|
+
* @example
|
|
21854
|
+
* 20
|
|
21855
|
+
*/
|
|
21580
21856
|
privateAssetCount?: number;
|
|
21581
21857
|
/**
|
|
21582
21858
|
* @remarks
|
|
@@ -21737,7 +22013,21 @@ export class DescribePostpayTrafficDetailResponseBodyTrafficList extends $tea.Mo
|
|
|
21737
22013
|
* 100000000
|
|
21738
22014
|
*/
|
|
21739
22015
|
outBytes?: number;
|
|
22016
|
+
/**
|
|
22017
|
+
* @remarks
|
|
22018
|
+
* Protection duration. Unit: hours.
|
|
22019
|
+
*
|
|
22020
|
+
* @example
|
|
22021
|
+
* 20
|
|
22022
|
+
*/
|
|
21740
22023
|
protectionDuration?: number;
|
|
22024
|
+
/**
|
|
22025
|
+
* @remarks
|
|
22026
|
+
* The region ID.
|
|
22027
|
+
*
|
|
22028
|
+
* @example
|
|
22029
|
+
* cn-beijing
|
|
22030
|
+
*/
|
|
21741
22031
|
regionNo?: string;
|
|
21742
22032
|
/**
|
|
21743
22033
|
* @remarks
|
|
@@ -22764,6 +23054,17 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig extend
|
|
|
22764
23054
|
* 1
|
|
22765
23055
|
*/
|
|
22766
23056
|
enableAllPatch?: number;
|
|
23057
|
+
/**
|
|
23058
|
+
* @remarks
|
|
23059
|
+
* The level of the rule group for the IPS. Valid values:
|
|
23060
|
+
*
|
|
23061
|
+
* * **1**: loose.
|
|
23062
|
+
* * **2**: medium.
|
|
23063
|
+
* * **3**: strict.
|
|
23064
|
+
*
|
|
23065
|
+
* @example
|
|
23066
|
+
* 3
|
|
23067
|
+
*/
|
|
22767
23068
|
ruleClass?: number;
|
|
22768
23069
|
/**
|
|
22769
23070
|
* @remarks
|
|
@@ -22808,6 +23109,10 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsProtectedResourc
|
|
|
22808
23109
|
* 1
|
|
22809
23110
|
*/
|
|
22810
23111
|
count?: number;
|
|
23112
|
+
/**
|
|
23113
|
+
* @remarks
|
|
23114
|
+
* The protected express connect routers.
|
|
23115
|
+
*/
|
|
22811
23116
|
ecrList?: string[];
|
|
22812
23117
|
/**
|
|
22813
23118
|
* @remarks
|
|
@@ -22865,6 +23170,10 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsUnprotectedResou
|
|
|
22865
23170
|
* 1
|
|
22866
23171
|
*/
|
|
22867
23172
|
count?: number;
|
|
23173
|
+
/**
|
|
23174
|
+
* @remarks
|
|
23175
|
+
* The unprotected express connect routers.
|
|
23176
|
+
*/
|
|
22868
23177
|
ecrList?: string[];
|
|
22869
23178
|
/**
|
|
22870
23179
|
* @remarks
|
|
@@ -22930,6 +23239,16 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
22930
23239
|
* cen_swas
|
|
22931
23240
|
*/
|
|
22932
23241
|
cenName?: string;
|
|
23242
|
+
/**
|
|
23243
|
+
* @remarks
|
|
23244
|
+
* The party responsible for the TR fees generated by the VPC firewall. Values:
|
|
23245
|
+
*
|
|
23246
|
+
* - **PayByCloudFirewall**: Fees are borne by the Cloud Firewall.
|
|
23247
|
+
* - **PayByCenOwner**: Fees are borne by the account to which the CEN instance belongs.
|
|
23248
|
+
*
|
|
23249
|
+
* @example
|
|
23250
|
+
* PayByCenOwner
|
|
23251
|
+
*/
|
|
22933
23252
|
cloudFirewallVpcOrderType?: string;
|
|
22934
23253
|
/**
|
|
22935
23254
|
* @remarks
|
|
@@ -22959,7 +23278,7 @@ export class DescribeTrFirewallsV2ListResponseBodyVpcTrFirewalls extends $tea.Mo
|
|
|
22959
23278
|
firewallSwitchStatus?: string;
|
|
22960
23279
|
/**
|
|
22961
23280
|
* @remarks
|
|
22962
|
-
* The
|
|
23281
|
+
* The intrusion prevention system (IPS) configurations.
|
|
22963
23282
|
*/
|
|
22964
23283
|
ipsConfig?: DescribeTrFirewallsV2ListResponseBodyVpcTrFirewallsIpsConfig;
|
|
22965
23284
|
/**
|
|
@@ -23698,6 +24017,17 @@ export class DescribeVpcFirewallCenListResponseBodyVpcFirewallsIpsConfig extends
|
|
|
23698
24017
|
* 1
|
|
23699
24018
|
*/
|
|
23700
24019
|
enableAllPatch?: number;
|
|
24020
|
+
/**
|
|
24021
|
+
* @remarks
|
|
24022
|
+
* The level of the rule group for the IPS. Valid values:
|
|
24023
|
+
*
|
|
24024
|
+
* * **1**: loose.
|
|
24025
|
+
* * **2**: medium.
|
|
24026
|
+
* * **3**: strict.
|
|
24027
|
+
*
|
|
24028
|
+
* @example
|
|
24029
|
+
* 1
|
|
24030
|
+
*/
|
|
23701
24031
|
ruleClass?: number;
|
|
23702
24032
|
/**
|
|
23703
24033
|
* @remarks
|
|
@@ -24004,7 +24334,7 @@ export class DescribeVpcFirewallCenListResponseBodyVpcFirewalls extends $tea.Mod
|
|
|
24004
24334
|
firewallSwitchStatus?: string;
|
|
24005
24335
|
/**
|
|
24006
24336
|
* @remarks
|
|
24007
|
-
* The
|
|
24337
|
+
* The intrusion prevention system (IPS) configurations.
|
|
24008
24338
|
*/
|
|
24009
24339
|
ipsConfig?: DescribeVpcFirewallCenListResponseBodyVpcFirewallsIpsConfig;
|
|
24010
24340
|
/**
|
|
@@ -26516,6 +26846,10 @@ export default class Client extends OpenApi {
|
|
|
26516
26846
|
query["TaskData"] = request.taskData;
|
|
26517
26847
|
}
|
|
26518
26848
|
|
|
26849
|
+
if (!Util.isUnset(request.taskType)) {
|
|
26850
|
+
query["TaskType"] = request.taskType;
|
|
26851
|
+
}
|
|
26852
|
+
|
|
26519
26853
|
if (!Util.isUnset(request.timeZone)) {
|
|
26520
26854
|
query["TimeZone"] = request.timeZone;
|
|
26521
26855
|
}
|
|
@@ -28329,7 +28663,7 @@ export default class Client extends OpenApi {
|
|
|
28329
28663
|
}
|
|
28330
28664
|
|
|
28331
28665
|
/**
|
|
28332
|
-
*
|
|
28666
|
+
* Queries statistics on the assets that are protected by Cloud Firewall.
|
|
28333
28667
|
*
|
|
28334
28668
|
* @param request - DescribeAssetStatisticRequest
|
|
28335
28669
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28368,7 +28702,7 @@ export default class Client extends OpenApi {
|
|
|
28368
28702
|
}
|
|
28369
28703
|
|
|
28370
28704
|
/**
|
|
28371
|
-
*
|
|
28705
|
+
* Queries statistics on the assets that are protected by Cloud Firewall.
|
|
28372
28706
|
*
|
|
28373
28707
|
* @param request - DescribeAssetStatisticRequest
|
|
28374
28708
|
* @returns DescribeAssetStatisticResponse
|
|
@@ -29945,6 +30279,10 @@ export default class Client extends OpenApi {
|
|
|
29945
30279
|
query["FirewallType"] = request.firewallType;
|
|
29946
30280
|
}
|
|
29947
30281
|
|
|
30282
|
+
if (!Util.isUnset(request.isOnlyPrivateAssoc)) {
|
|
30283
|
+
query["IsOnlyPrivateAssoc"] = request.isOnlyPrivateAssoc;
|
|
30284
|
+
}
|
|
30285
|
+
|
|
29948
30286
|
if (!Util.isUnset(request.lang)) {
|
|
29949
30287
|
query["Lang"] = request.lang;
|
|
29950
30288
|
}
|
|
@@ -30475,7 +30813,12 @@ export default class Client extends OpenApi {
|
|
|
30475
30813
|
}
|
|
30476
30814
|
|
|
30477
30815
|
/**
|
|
30478
|
-
*
|
|
30816
|
+
* Queries the edition information about Cloud Firewall.
|
|
30817
|
+
*
|
|
30818
|
+
* @remarks
|
|
30819
|
+
* You can call this operation to query the edition information about Cloud Firewall.
|
|
30820
|
+
* ## [](#qps-)Limits
|
|
30821
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
30479
30822
|
*
|
|
30480
30823
|
* @param request - DescribeUserBuyVersionRequest
|
|
30481
30824
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -30506,7 +30849,12 @@ export default class Client extends OpenApi {
|
|
|
30506
30849
|
}
|
|
30507
30850
|
|
|
30508
30851
|
/**
|
|
30509
|
-
*
|
|
30852
|
+
* Queries the edition information about Cloud Firewall.
|
|
30853
|
+
*
|
|
30854
|
+
* @remarks
|
|
30855
|
+
* You can call this operation to query the edition information about Cloud Firewall.
|
|
30856
|
+
* ## [](#qps-)Limits
|
|
30857
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
30510
30858
|
*
|
|
30511
30859
|
* @param request - DescribeUserBuyVersionRequest
|
|
30512
30860
|
* @returns DescribeUserBuyVersionResponse
|