Class: TencentCloud::Yunjing::V20180228::DescribeOpenPortsRequest

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

Overview

DescribeOpenPorts请求参数结构体

Instance Attribute Summary collapse

  • #Limit ⇒ Object
  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .
  • #Offset ⇒ Object
  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .
  • #Port ⇒ Object
  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .
  • #Uuid ⇒ Object
  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(uuid = nil, port = nil, limit = nil, offset = nil, filters = nil) ⇒ DescribeOpenPortsRequest

    Returns a new instance of DescribeOpenPortsRequest.

    
    
    2829
    2830
    2831
    2832
    2833
    2834
    2835
    # File 'lib/v20180228/models.rb', line 2829
    
    def initialize(uuid=nil, port=nil, limit=nil, offset=nil, filters=nil)
      @Uuid = uuid
      @Port = port
      @Limit = limit
      @Offset = offset
      @Filters = filters
    end

    Instance Attribute Details

    #FiltersObject

  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • Uuid:

      云镜客户端唯一Uuid。Port和Uuid必填其一,使用Uuid表示,查询该主机列表信息。

    • Port:

      开放端口号。Port和Uuid必填其一,使用Port表示查询该端口的列表信息。

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    2827
    2828
    2829
    # File 'lib/v20180228/models.rb', line 2827
    
    def Filters
      @Filters
    end

    #LimitObject

  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • Uuid:

      云镜客户端唯一Uuid。Port和Uuid必填其一,使用Uuid表示,查询该主机列表信息。

    • Port:

      开放端口号。Port和Uuid必填其一,使用Port表示查询该端口的列表信息。

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    2827
    2828
    2829
    # File 'lib/v20180228/models.rb', line 2827
    
    def Limit
      @Limit
    end

    #OffsetObject

  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • Uuid:

      云镜客户端唯一Uuid。Port和Uuid必填其一,使用Uuid表示,查询该主机列表信息。

    • Port:

      开放端口号。Port和Uuid必填其一,使用Port表示查询该端口的列表信息。

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    2827
    2828
    2829
    # File 'lib/v20180228/models.rb', line 2827
    
    def Offset
      @Offset
    end

    #PortObject

  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • Uuid:

      云镜客户端唯一Uuid。Port和Uuid必填其一,使用Uuid表示,查询该主机列表信息。

    • Port:

      开放端口号。Port和Uuid必填其一,使用Port表示查询该端口的列表信息。

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    2827
    2828
    2829
    # File 'lib/v20180228/models.rb', line 2827
    
    def Port
      @Port
    end

    #UuidObject

  • Port - Uint64 - 是否必填:否 - 端口号
  • ProcessName - String - 是否必填:否 - 进程名
  • MachineIp - String - 是否必填:否 - 主机内网IP
  • Parameters:

    • Uuid:

      云镜客户端唯一Uuid。Port和Uuid必填其一,使用Uuid表示,查询该主机列表信息。

    • Port:

      开放端口号。Port和Uuid必填其一,使用Port表示查询该端口的列表信息。

    • Limit:

      返回数量,默认为10,最大值为100。

    • Offset:

      偏移量,默认为0。

    • Filters:

      过滤条件。

    
    
    2827
    2828
    2829
    # File 'lib/v20180228/models.rb', line 2827
    
    def Uuid
      @Uuid
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2837
    2838
    2839
    2840
    2841
    2842
    2843
    2844
    2845
    2846
    2847
    2848
    2849
    2850
    # File 'lib/v20180228/models.rb', line 2837
    
    def deserialize(params)
      @Uuid = params['Uuid']
      @Port = params['Port']
      @Limit = params['Limit']
      @Offset = params['Offset']
      unless params['Filters'].nil?
        @Filters = []
        params['Filters'].each do |i|
          filter_tmp = Filter.new
          filter_tmp.deserialize(i)
          @Filters << filter_tmp
        end
      end
    end