Class: TencentCloud::Cfw::V20190904::DescribeEnterpriseSecurityGroupRuleRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190904/models.rb

Overview

DescribeEnterpriseSecurityGroupRule请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pageno = nil, pagesize = nil, sourcecontent = nil, destcontent = nil, description = nil, ruleaction = nil, enable = nil, port = nil, protocol = nil, servicetemplateid = nil, ruleuuid = nil) ⇒ DescribeEnterpriseSecurityGroupRuleRequest



3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
# File 'lib/v20190904/models.rb', line 3488

def initialize(pageno=nil, pagesize=nil, sourcecontent=nil, destcontent=nil, description=nil, ruleaction=nil, enable=nil, port=nil, protocol=nil, servicetemplateid=nil, ruleuuid=nil)
  @PageNo = pageno
  @PageSize = pagesize
  @SourceContent = sourcecontent
  @DestContent = destcontent
  @Description = description
  @RuleAction = ruleaction
  @Enable = enable
  @Port = port
  @Protocol = protocol
  @ServiceTemplateId = servicetemplateid
  @RuleUuid = ruleuuid
end

Instance Attribute Details

#DescriptionObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def Description
  @Description
end

#DestContentObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def DestContent
  @DestContent
end

#EnableObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def Enable
  @Enable
end

#PageNoObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def PageNo
  @PageNo
end

#PageSizeObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def PageSize
  @PageSize
end

#PortObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def Port
  @Port
end

#ProtocolObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def Protocol
  @Protocol
end

#RuleActionObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def RuleAction
  @RuleAction
end

#RuleUuidObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def RuleUuid
  @RuleUuid
end

#ServiceTemplateIdObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def ServiceTemplateId
  @ServiceTemplateId
end

#SourceContentObject

可设置值最大为50。net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配net:IP/CIDR(192.168.0.2) template:参数模板(ipm-dyodhpby) instance:资产实例(ins-123456) resourcegroup:资产分组(/全部分组/分组1/子分组1) tag:资源标签(“Key”:“标签key值”,“Value”:“标签Value值”) region:地域(ap-gaungzhou) 支持通配accept:放行drop:拒绝true为启用,false为不启用-1/-1:全部端口80:80端口



3486
3487
3488
# File 'lib/v20190904/models.rb', line 3486

def SourceContent
  @SourceContent
end

Instance Method Details

#deserialize(params) ⇒ Object



3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
# File 'lib/v20190904/models.rb', line 3502

def deserialize(params)
  @PageNo = params['PageNo']
  @PageSize = params['PageSize']
  @SourceContent = params['SourceContent']
  @DestContent = params['DestContent']
  @Description = params['Description']
  @RuleAction = params['RuleAction']
  @Enable = params['Enable']
  @Port = params['Port']
  @Protocol = params['Protocol']
  @ServiceTemplateId = params['ServiceTemplateId']
  @RuleUuid = params['RuleUuid']
end