Class: TencentCloud::Cfw::V20190904::DescribeSecurityGroupListRequest

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

Overview

DescribeSecurityGroupList请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(direction = nil, area = nil, searchvalue = nil, limit = nil, offset = nil, status = nil, filter = nil) ⇒ DescribeSecurityGroupListRequest

Returns a new instance of DescribeSecurityGroupListRequest.



4746
4747
4748
4749
4750
4751
4752
4753
4754
# File 'lib/v20190904/models.rb', line 4746

def initialize(direction=nil, area=nil, searchvalue=nil, limit=nil, offset=nil, status=nil, filter=nil)
  @Direction = direction
  @Area = area
  @SearchValue = searchvalue
  @Limit = limit
  @Offset = offset
  @Status = status
  @Filter = filter
end

Instance Attribute Details

#AreaObject

Parameters:

  • Direction:

    0: 出站规则,1:入站规则

  • Area:

    地域代码(例: ap-guangzhou),支持腾讯云全部地域

  • SearchValue:

    搜索值

  • Limit:

    每页条数,默认为10

  • Offset:

    偏移值,默认为0

  • Status:

    状态,”: 全部,‘0’:筛选停用规则,‘1’:筛选启用规则

  • Filter:

    0: 不过滤,1:过滤掉正常规则,保留下发异常规则



4744
4745
4746
# File 'lib/v20190904/models.rb', line 4744

def Area
  @Area
end

#DirectionObject

Parameters:

  • Direction:

    0: 出站规则,1:入站规则

  • Area:

    地域代码(例: ap-guangzhou),支持腾讯云全部地域

  • SearchValue:

    搜索值

  • Limit:

    每页条数,默认为10

  • Offset:

    偏移值,默认为0

  • Status:

    状态,”: 全部,‘0’:筛选停用规则,‘1’:筛选启用规则

  • Filter:

    0: 不过滤,1:过滤掉正常规则,保留下发异常规则



4744
4745
4746
# File 'lib/v20190904/models.rb', line 4744

def Direction
  @Direction
end

#FilterObject

Parameters:

  • Direction:

    0: 出站规则,1:入站规则

  • Area:

    地域代码(例: ap-guangzhou),支持腾讯云全部地域

  • SearchValue:

    搜索值

  • Limit:

    每页条数,默认为10

  • Offset:

    偏移值,默认为0

  • Status:

    状态,”: 全部,‘0’:筛选停用规则,‘1’:筛选启用规则

  • Filter:

    0: 不过滤,1:过滤掉正常规则,保留下发异常规则



4744
4745
4746
# File 'lib/v20190904/models.rb', line 4744

def Filter
  @Filter
end

#LimitObject

Parameters:

  • Direction:

    0: 出站规则,1:入站规则

  • Area:

    地域代码(例: ap-guangzhou),支持腾讯云全部地域

  • SearchValue:

    搜索值

  • Limit:

    每页条数,默认为10

  • Offset:

    偏移值,默认为0

  • Status:

    状态,”: 全部,‘0’:筛选停用规则,‘1’:筛选启用规则

  • Filter:

    0: 不过滤,1:过滤掉正常规则,保留下发异常规则



4744
4745
4746
# File 'lib/v20190904/models.rb', line 4744

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Direction:

    0: 出站规则,1:入站规则

  • Area:

    地域代码(例: ap-guangzhou),支持腾讯云全部地域

  • SearchValue:

    搜索值

  • Limit:

    每页条数,默认为10

  • Offset:

    偏移值,默认为0

  • Status:

    状态,”: 全部,‘0’:筛选停用规则,‘1’:筛选启用规则

  • Filter:

    0: 不过滤,1:过滤掉正常规则,保留下发异常规则



4744
4745
4746
# File 'lib/v20190904/models.rb', line 4744

def Offset
  @Offset
end

#SearchValueObject

Parameters:

  • Direction:

    0: 出站规则,1:入站规则

  • Area:

    地域代码(例: ap-guangzhou),支持腾讯云全部地域

  • SearchValue:

    搜索值

  • Limit:

    每页条数,默认为10

  • Offset:

    偏移值,默认为0

  • Status:

    状态,”: 全部,‘0’:筛选停用规则,‘1’:筛选启用规则

  • Filter:

    0: 不过滤,1:过滤掉正常规则,保留下发异常规则



4744
4745
4746
# File 'lib/v20190904/models.rb', line 4744

def SearchValue
  @SearchValue
end

#StatusObject

Parameters:

  • Direction:

    0: 出站规则,1:入站规则

  • Area:

    地域代码(例: ap-guangzhou),支持腾讯云全部地域

  • SearchValue:

    搜索值

  • Limit:

    每页条数,默认为10

  • Offset:

    偏移值,默认为0

  • Status:

    状态,”: 全部,‘0’:筛选停用规则,‘1’:筛选启用规则

  • Filter:

    0: 不过滤,1:过滤掉正常规则,保留下发异常规则



4744
4745
4746
# File 'lib/v20190904/models.rb', line 4744

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



4756
4757
4758
4759
4760
4761
4762
4763
4764
# File 'lib/v20190904/models.rb', line 4756

def deserialize(params)
  @Direction = params['Direction']
  @Area = params['Area']
  @SearchValue = params['SearchValue']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @Status = params['Status']
  @Filter = params['Filter']
end