Class: TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest

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

Overview

DescribeSwitchLists请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status = nil, type = nil, area = nil, searchvalue = nil, limit = nil, offset = nil, order = nil, by = nil) ⇒ DescribeSwitchListsRequest

Returns a new instance of DescribeSwitchListsRequest.



4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
# File 'lib/v20190904/models.rb', line 4706

def initialize(status=nil, type=nil, area=nil, searchvalue=nil, limit=nil, offset=nil, order=nil, by=nil)
  @Status = status
  @Type = type
  @Area = area
  @SearchValue = searchvalue
  @Limit = limit
  @Offset = offset
  @Order = order
  @By = by
end

Instance Attribute Details

#AreaObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def Area
  @Area
end

#ByObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def By
  @By
end

#LimitObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def Offset
  @Offset
end

#OrderObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def Order
  @Order
end

#SearchValueObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def SearchValue
  @SearchValue
end

#StatusObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def Status
  @Status
end

#TypeObject

Parameters:

  • Status:

    防火墙状态 0: 关闭,1:开启

  • Type:

    资产类型 CVM/NAT/VPN/CLB/其它

  • Area:

    地域 上海/重庆/广州,等等

  • SearchValue:

    搜索值 例子:“TencentCloud::Cfw::V20190904::DescribeSwitchListsRequest.”common“:”106”common“:”106.54”common“:”106.54.189”common“:”106.54.189.45“”

  • Limit:

    条数 默认值:10

  • Offset:

    偏移值 默认值: 0

  • Order:

    排序,desc:降序,asc:升序

  • By:

    排序字段 PortTimes(风险端口数)



4704
4705
4706
# File 'lib/v20190904/models.rb', line 4704

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
# File 'lib/v20190904/models.rb', line 4717

def deserialize(params)
  @Status = params['Status']
  @Type = params['Type']
  @Area = params['Area']
  @SearchValue = params['SearchValue']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @Order = params['Order']
  @By = params['By']
end