tencentcloud-sdk-nodejs-cfw 4.1.244 → 4.1.245
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
|
@@ -7009,63 +7009,63 @@ export interface CreateAlertCenterIsolateRequest {
|
|
|
7009
7009
|
*/
|
|
7010
7010
|
export interface CreateNatRuleItem {
|
|
7011
7011
|
/**
|
|
7012
|
-
*
|
|
7012
|
+
* <p>访问源示例: net:IP/CIDR(192.168.0.2)</p>
|
|
7013
7013
|
*/
|
|
7014
7014
|
SourceContent: string;
|
|
7015
7015
|
/**
|
|
7016
|
-
*
|
|
7016
|
+
* <p>访问源类型:入向规则时类型可以为 ip,net,template,location;出向规则时可以为 ip,net,template,instance,group,tag</p>
|
|
7017
7017
|
*/
|
|
7018
7018
|
SourceType: string;
|
|
7019
7019
|
/**
|
|
7020
|
-
*
|
|
7020
|
+
* <p>访问目的示例: net:IP/CIDR(192.168.0.2) domain:域名规则,例如*.qq.com</p>
|
|
7021
7021
|
*/
|
|
7022
7022
|
TargetContent: string;
|
|
7023
7023
|
/**
|
|
7024
|
-
*
|
|
7024
|
+
* <p>访问目的类型:入向规则时类型可以为ip,net,template,instance,group,tag;出向规则时可以为 ip,net,domain,template,location</p>
|
|
7025
7025
|
*/
|
|
7026
7026
|
TargetType: string;
|
|
7027
7027
|
/**
|
|
7028
|
-
*
|
|
7028
|
+
* <p>协议,可选的值: TCP UDP ICMP ANY HTTP HTTPS HTTP/HTTPS SMTP SMTPS SMTP/SMTPS FTP DNS</p>
|
|
7029
7029
|
*/
|
|
7030
7030
|
Protocol: string;
|
|
7031
7031
|
/**
|
|
7032
|
-
*
|
|
7032
|
+
* <p>访问控制策略中设置的流量通过云防火墙的方式。取值: accept:放行 drop:拒绝 log:观察</p>
|
|
7033
7033
|
*/
|
|
7034
7034
|
RuleAction: string;
|
|
7035
7035
|
/**
|
|
7036
|
-
*
|
|
7036
|
+
* <p>访问控制策略的端口。取值: -1/-1:全部端口 80:80端口</p>
|
|
7037
7037
|
*/
|
|
7038
7038
|
Port: string;
|
|
7039
7039
|
/**
|
|
7040
|
-
*
|
|
7040
|
+
* <p>规则方向:1,入站;0,出站</p>
|
|
7041
7041
|
*/
|
|
7042
7042
|
Direction: number;
|
|
7043
7043
|
/**
|
|
7044
|
-
*
|
|
7044
|
+
* <p>规则序号</p>
|
|
7045
7045
|
*/
|
|
7046
7046
|
OrderIndex: number;
|
|
7047
7047
|
/**
|
|
7048
|
-
*
|
|
7048
|
+
* <p>规则状态,true表示启用,false表示禁用</p>
|
|
7049
7049
|
*/
|
|
7050
7050
|
Enable?: string;
|
|
7051
7051
|
/**
|
|
7052
|
-
*
|
|
7052
|
+
* <p>规则对应的唯一id,创建规则AddNatAcRule时无需填写;修改规则ModifyNatAcRule时必须填写</p><p>创建规则AddNatAcRule时无需填写;修改规则ModifyNatAcRule时必须填写</p>
|
|
7053
7053
|
*/
|
|
7054
7054
|
Uuid?: number;
|
|
7055
7055
|
/**
|
|
7056
|
-
*
|
|
7056
|
+
* <p>描述</p>
|
|
7057
7057
|
*/
|
|
7058
7058
|
Description?: string;
|
|
7059
7059
|
/**
|
|
7060
|
-
*
|
|
7060
|
+
* <p>端口协议组ID</p>
|
|
7061
7061
|
*/
|
|
7062
7062
|
ParamTemplateId?: string;
|
|
7063
7063
|
/**
|
|
7064
|
-
*
|
|
7064
|
+
* <p>内部id</p>
|
|
7065
7065
|
*/
|
|
7066
7066
|
InternalUuid?: number;
|
|
7067
7067
|
/**
|
|
7068
|
-
*
|
|
7068
|
+
* <p>规则生效的范围:ALL,全局生效;ap-guangzhou,生效的地域;cfwnat-xxx,生效基于实例维度</p>
|
|
7069
7069
|
*/
|
|
7070
7070
|
Scope?: string;
|
|
7071
7071
|
}
|
|
@@ -8195,36 +8195,35 @@ export interface ModifyFwGroupSwitchResponse {
|
|
|
8195
8195
|
*/
|
|
8196
8196
|
export interface CfwInsStatus {
|
|
8197
8197
|
/**
|
|
8198
|
-
*
|
|
8198
|
+
* <p>防火墙实例id</p>
|
|
8199
8199
|
*/
|
|
8200
8200
|
CfwInsId?: string;
|
|
8201
8201
|
/**
|
|
8202
|
-
*
|
|
8202
|
+
* <p>防火墙类型,nat:nat防火墙;ew:vpc间防火墙</p>
|
|
8203
8203
|
*/
|
|
8204
8204
|
FwType?: string;
|
|
8205
8205
|
/**
|
|
8206
|
-
*
|
|
8206
|
+
* <p>实例所属地域</p>
|
|
8207
8207
|
*/
|
|
8208
8208
|
Region?: string;
|
|
8209
8209
|
/**
|
|
8210
|
-
*
|
|
8210
|
+
* <p>实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中;BypassTcDrop:丢包触发bypass中</p><p>枚举值:</p><ul><li>Running: 正常运行</li><li>BypassAutoFix: 自动bypass已修复</li><li>Updating: 实例升级中</li><li>Expand: 实例扩容中</li><li>BypassManual: 手动触发bypass中</li><li>BypassAuto: 自动触发bypass中</li><li>BypassTcDrop: 丢包触发bypass中</li></ul>
|
|
8211
8211
|
*/
|
|
8212
8212
|
Status?: string;
|
|
8213
8213
|
/**
|
|
8214
|
-
*
|
|
8214
|
+
* <p>事件时间</p>
|
|
8215
8215
|
*/
|
|
8216
8216
|
EventTime?: string;
|
|
8217
8217
|
/**
|
|
8218
|
-
*
|
|
8218
|
+
* <p>恢复时间</p>
|
|
8219
8219
|
*/
|
|
8220
8220
|
RecoverTime?: string;
|
|
8221
8221
|
/**
|
|
8222
|
-
*
|
|
8222
|
+
* <p>实例名称</p>
|
|
8223
8223
|
*/
|
|
8224
8224
|
CfwInsName?: string;
|
|
8225
8225
|
/**
|
|
8226
|
-
* Normal:
|
|
8227
|
-
OnlyRoute: 透明模式
|
|
8226
|
+
* <p>Normal: 正常模式<br>OnlyRoute: 透明模式</p>
|
|
8228
8227
|
*/
|
|
8229
8228
|
TrafficMode?: string;
|
|
8230
8229
|
}
|