Class: TencentCloud::Antiddos::V20200309::InsL7Rules
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::InsL7Rules
- Defined in:
- lib/v20200309/models.rb
Overview
实例7层规则
Instance Attribute Summary collapse
-
#AppId ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中.
-
#Domain ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中.
-
#InsId ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中.
-
#Protocol ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中.
-
#SSLId ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中.
-
#Status ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中.
-
#VirtualPort ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, domain = nil, protocol = nil, insid = nil, appid = nil, virtualport = nil, sslid = nil) ⇒ InsL7Rules
constructor
A new instance of InsL7Rules.
Constructor Details
#initialize(status = nil, domain = nil, protocol = nil, insid = nil, appid = nil, virtualport = nil, sslid = nil) ⇒ InsL7Rules
Returns a new instance of InsL7Rules.
6195 6196 6197 6198 6199 6200 6201 6202 6203 |
# File 'lib/v20200309/models.rb', line 6195 def initialize(status=nil, domain=nil, protocol=nil, insid=nil, appid=nil, virtualport=nil, sslid=nil) @Status = status @Domain = domain @Protocol = protocol @InsId = insid @AppId = appid @VirtualPort = virtualport @SSLId = sslid end |
Instance Attribute Details
#AppId ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
6193 6194 6195 |
# File 'lib/v20200309/models.rb', line 6193 def AppId @AppId end |
#Domain ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
6193 6194 6195 |
# File 'lib/v20200309/models.rb', line 6193 def Domain @Domain end |
#InsId ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
6193 6194 6195 |
# File 'lib/v20200309/models.rb', line 6193 def InsId @InsId end |
#Protocol ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
6193 6194 6195 |
# File 'lib/v20200309/models.rb', line 6193 def Protocol @Protocol end |
#SSLId ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
6193 6194 6195 |
# File 'lib/v20200309/models.rb', line 6193 def SSLId @SSLId end |
#Status ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
6193 6194 6195 |
# File 'lib/v20200309/models.rb', line 6193 def Status @Status end |
#VirtualPort ⇒ Object
规则状态,0: 正常运行中, 1: 配置规则中(配置生效中), 2: 配置规则失败(配置生效失败), 3: 删除规则中(删除生效中), 5: 删除规则失败(删除失败), 6: 等待添加规则, 7: 等待删除规则, 8: 等待上传证书, 9: 规则对应的资源不存在,被隔离, 10:等待修改规则, 11:配置修改中
6193 6194 6195 |
# File 'lib/v20200309/models.rb', line 6193 def VirtualPort @VirtualPort end |
Instance Method Details
#deserialize(params) ⇒ Object
6205 6206 6207 6208 6209 6210 6211 6212 6213 |
# File 'lib/v20200309/models.rb', line 6205 def deserialize(params) @Status = params['Status'] @Domain = params['Domain'] @Protocol = params['Protocol'] @InsId = params['InsId'] @AppId = params['AppId'] @VirtualPort = params['VirtualPort'] @SSLId = params['SSLId'] end |