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.



9394
9395
9396
9397
9398
9399
9400
9401
# File 'lib/v20190904/models.rb', line 9394

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:

    规则序号



9392
9393
9394
# File 'lib/v20190904/models.rb', line 9392

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:

    规则序号



9392
9393
9394
# File 'lib/v20190904/models.rb', line 9392

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:

    规则序号



9392
9393
9394
# File 'lib/v20190904/models.rb', line 9392

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:

    规则序号



9392
9393
9394
# File 'lib/v20190904/models.rb', line 9392

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:

    规则序号



9392
9393
9394
# File 'lib/v20190904/models.rb', line 9392

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:

    规则序号



9392
9393
9394
# File 'lib/v20190904/models.rb', line 9392

def SourceContent
  @SourceContent
end

Instance Method Details

#deserialize(params) ⇒ Object



9403
9404
9405
9406
9407
9408
9409
9410
# File 'lib/v20190904/models.rb', line 9403

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