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.



5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
# File 'lib/v20190904/models.rb', line 5458

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

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(风险端口数)



5456
5457
5458
# File 'lib/v20190904/models.rb', line 5456

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
# File 'lib/v20190904/models.rb', line 5469

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