Class: TencentCloud::Cfw::V20190904::SecurityGroupSimplifyRule

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

Overview

安全组规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sourcecontent = nil, destcontent = nil, protocol = nil, description = nil, ruleuuid = nil, sequence = nil) ⇒ SecurityGroupSimplifyRule

Returns a new instance of SecurityGroupSimplifyRule.



10204
10205
10206
10207
10208
10209
10210
10211
# File 'lib/v20190904/models.rb', line 10204

def initialize(sourcecontent=nil, destcontent=nil, protocol=nil, description=nil, ruleuuid=nil, sequence=nil)
  @SourceContent = sourcecontent
  @DestContent = destcontent
  @Protocol = protocol
  @Description = description
  @RuleUuid = ruleuuid
  @Sequence = sequence
end

Instance Attribute Details

#DescriptionObject

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)

Parameters:

  • SourceContent:

    访问源示例:

  • DestContent:

    访问目的示例:

  • Protocol:

    协议;TCP/UDP/ICMP/ANY

  • Description:

    描述

  • RuleUuid:

    规则对应的唯一id

  • Sequence:

    规则序号



10202
10203
10204
# File 'lib/v20190904/models.rb', line 10202

def Description
  @Description
end

#DestContentObject

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)

Parameters:

  • SourceContent:

    访问源示例:

  • DestContent:

    访问目的示例:

  • Protocol:

    协议;TCP/UDP/ICMP/ANY

  • Description:

    描述

  • RuleUuid:

    规则对应的唯一id

  • Sequence:

    规则序号



10202
10203
10204
# File 'lib/v20190904/models.rb', line 10202

def DestContent
  @DestContent
end

#ProtocolObject

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)

Parameters:

  • SourceContent:

    访问源示例:

  • DestContent:

    访问目的示例:

  • Protocol:

    协议;TCP/UDP/ICMP/ANY

  • Description:

    描述

  • RuleUuid:

    规则对应的唯一id

  • Sequence:

    规则序号



10202
10203
10204
# File 'lib/v20190904/models.rb', line 10202

def Protocol
  @Protocol
end

#RuleUuidObject

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)

Parameters:

  • SourceContent:

    访问源示例:

  • DestContent:

    访问目的示例:

  • Protocol:

    协议;TCP/UDP/ICMP/ANY

  • Description:

    描述

  • RuleUuid:

    规则对应的唯一id

  • Sequence:

    规则序号



10202
10203
10204
# File 'lib/v20190904/models.rb', line 10202

def RuleUuid
  @RuleUuid
end

#SequenceObject

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)

Parameters:

  • SourceContent:

    访问源示例:

  • DestContent:

    访问目的示例:

  • Protocol:

    协议;TCP/UDP/ICMP/ANY

  • Description:

    描述

  • RuleUuid:

    规则对应的唯一id

  • Sequence:

    规则序号



10202
10203
10204
# File 'lib/v20190904/models.rb', line 10202

def Sequence
  @Sequence
end

#SourceContentObject

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)

Parameters:

  • SourceContent:

    访问源示例:

  • DestContent:

    访问目的示例:

  • Protocol:

    协议;TCP/UDP/ICMP/ANY

  • Description:

    描述

  • RuleUuid:

    规则对应的唯一id

  • Sequence:

    规则序号



10202
10203
10204
# File 'lib/v20190904/models.rb', line 10202

def SourceContent
  @SourceContent
end

Instance Method Details

#deserialize(params) ⇒ Object



10213
10214
10215
10216
10217
10218
10219
10220
# File 'lib/v20190904/models.rb', line 10213

def deserialize(params)
  @SourceContent = params['SourceContent']
  @DestContent = params['DestContent']
  @Protocol = params['Protocol']
  @Description = params['Description']
  @RuleUuid = params['RuleUuid']
  @Sequence = params['Sequence']
end