public class L7RuleEntry extends AbstractModel
Constructor and Description |
---|
L7RuleEntry() |
L7RuleEntry(L7RuleEntry source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCCAIEnable()
Get 智能cc开关,取值[0(关闭), 1(开启)]
|
Long |
getCCEnable()
Get HTTPS协议的CC防护状态,取值[0(关闭), 1(开启)]
|
String |
getCCLevel()
Get HTTPS协议的CC防护等级
|
Long |
getCCStatus()
Get cc防护状态,取值[0(关闭), 1(开启)]
|
Long |
getCCThreshold()
Get HTTPS协议的CC防护阈值
|
String |
getCert()
Get 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
|
Long |
getCertType()
Get 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0
|
String |
getDomain()
Get 转发域名
|
Long |
getHttpsToHttpEnable()
Get 是否开启Https协议使用Http回源,取值[0(关闭), 1(开启)],不填写默认是关闭
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getId()
Get 同ruleId
|
Long |
getKeepEnable()
Get 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]
|
Long |
getKeepTime()
Get 会话保持时间,单位秒
|
Long |
getLbType()
Get 负载均衡方式,取值[1(加权轮询)]
|
String |
getPrivateKey()
Get 当证书来源为自有证书时,此字段必须填写证书密钥;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
|
String |
getProtocol()
Get 转发协议,取值[http, https]
|
String |
getRuleId()
Get 规则ID,当添加新规则时可以不用填写此字段;当修改或者删除规则时需要填写此字段;
|
String |
getRuleName()
Get 规则描述
|
L4RuleSource[] |
getSourceList()
Get 回源列表
|
Long |
getSourceType()
Get 回源方式,取值[1(域名回源),2(IP回源)]
|
String |
getSSLId()
Get 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID
|
Long |
getStatus()
Get 规则状态,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)]
|
Long |
getVirtualPort()
Get 接入端口值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCCAIEnable(Long CCAIEnable)
Set 智能cc开关,取值[0(关闭), 1(开启)]
|
void |
setCCEnable(Long CCEnable)
Set HTTPS协议的CC防护状态,取值[0(关闭), 1(开启)]
|
void |
setCCLevel(String CCLevel)
Set HTTPS协议的CC防护等级
|
void |
setCCStatus(Long CCStatus)
Set cc防护状态,取值[0(关闭), 1(开启)]
|
void |
setCCThreshold(Long CCThreshold)
Set HTTPS协议的CC防护阈值
|
void |
setCert(String Cert)
Set 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
|
void |
setCertType(Long CertType)
Set 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0
|
void |
setDomain(String Domain)
Set 转发域名
|
void |
setHttpsToHttpEnable(Long HttpsToHttpEnable)
Set 是否开启Https协议使用Http回源,取值[0(关闭), 1(开启)],不填写默认是关闭
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setId(String Id)
Set 同ruleId
|
void |
setKeepEnable(Long KeepEnable)
Set 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]
|
void |
setKeepTime(Long KeepTime)
Set 会话保持时间,单位秒
|
void |
setLbType(Long LbType)
Set 负载均衡方式,取值[1(加权轮询)]
|
void |
setPrivateKey(String PrivateKey)
Set 当证书来源为自有证书时,此字段必须填写证书密钥;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)
|
void |
setProtocol(String Protocol)
Set 转发协议,取值[http, https]
|
void |
setRuleId(String RuleId)
Set 规则ID,当添加新规则时可以不用填写此字段;当修改或者删除规则时需要填写此字段;
|
void |
setRuleName(String RuleName)
Set 规则描述
|
void |
setSourceList(L4RuleSource[] SourceList)
Set 回源列表
|
void |
setSourceType(Long SourceType)
Set 回源方式,取值[1(域名回源),2(IP回源)]
|
void |
setSSLId(String SSLId)
Set 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID
|
void |
setStatus(Long Status)
Set 规则状态,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)]
|
void |
setVirtualPort(Long VirtualPort)
Set 接入端口值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public L7RuleEntry()
public L7RuleEntry(L7RuleEntry source)
public Long getKeepTime()
public void setKeepTime(Long KeepTime)
KeepTime
- 会话保持时间,单位秒public String getDomain()
public void setDomain(String Domain)
Domain
- 转发域名public String getProtocol()
public void setProtocol(String Protocol)
Protocol
- 转发协议,取值[http, https]public Long getSourceType()
public void setSourceType(Long SourceType)
SourceType
- 回源方式,取值[1(域名回源),2(IP回源)]public Long getLbType()
public void setLbType(Long LbType)
LbType
- 负载均衡方式,取值[1(加权轮询)]public L4RuleSource[] getSourceList()
public void setSourceList(L4RuleSource[] SourceList)
SourceList
- 回源列表public Long getKeepEnable()
public void setKeepEnable(Long KeepEnable)
KeepEnable
- 会话保持开关,取值[0(会话保持关闭),1(会话保持开启)]public Long getStatus()
public void setStatus(Long Status)
Status
- 规则状态,取值[0(规则配置成功),1(规则配置生效中),2(规则配置失败),3(规则删除生效中),5(规则删除失败),6(规则等待配置),7(规则等待删除),8(规则待配置证书)]public String getRuleId()
public void setRuleId(String RuleId)
RuleId
- 规则ID,当添加新规则时可以不用填写此字段;当修改或者删除规则时需要填写此字段;public Long getCCThreshold()
public void setCCThreshold(Long CCThreshold)
CCThreshold
- HTTPS协议的CC防护阈值public String getPrivateKey()
public void setPrivateKey(String PrivateKey)
PrivateKey
- 当证书来源为自有证书时,此字段必须填写证书密钥;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)public Long getCCEnable()
public void setCCEnable(Long CCEnable)
CCEnable
- HTTPS协议的CC防护状态,取值[0(关闭), 1(开启)]public Long getHttpsToHttpEnable()
public void setHttpsToHttpEnable(Long HttpsToHttpEnable)
HttpsToHttpEnable
- 是否开启Https协议使用Http回源,取值[0(关闭), 1(开启)],不填写默认是关闭
注意:此字段可能返回 null,表示取不到有效值。public Long getCertType()
public void setCertType(Long CertType)
CertType
- 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0public String getCert()
public void setCert(String Cert)
Cert
- 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段)public String getCCLevel()
public void setCCLevel(String CCLevel)
CCLevel
- HTTPS协议的CC防护等级public String getRuleName()
public void setRuleName(String RuleName)
RuleName
- 规则描述public Long getCCStatus()
public void setCCStatus(Long CCStatus)
CCStatus
- cc防护状态,取值[0(关闭), 1(开启)]public Long getVirtualPort()
public void setVirtualPort(Long VirtualPort)
VirtualPort
- 接入端口值
注意:此字段可能返回 null,表示取不到有效值。public String getSSLId()
public void setSSLId(String SSLId)
SSLId
- 当证书来源为腾讯云托管证书时,此字段必须填写托管证书IDpublic String getId()
public void setId(String Id)
Id
- 同ruleIdpublic Long getCCAIEnable()
public void setCCAIEnable(Long CCAIEnable)
CCAIEnable
- 智能cc开关,取值[0(关闭), 1(开启)]Copyright © 2022. All rights reserved.