Class: TencentCloud::Tse::V20201207::DescribeGovernanceInstancesRequest

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

Overview

DescribeGovernanceInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service = nil, namespace = nil, instanceid = nil, host = nil, instanceversion = nil, protocol = nil, healthstatus = nil, isolate = nil, metadatas = nil, offset = nil, limit = nil, location = nil) ⇒ DescribeGovernanceInstancesRequest

Returns a new instance of DescribeGovernanceInstancesRequest.



6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
# File 'lib/v20201207/models.rb', line 6022

def initialize(service=nil, namespace=nil, instanceid=nil, host=nil, instanceversion=nil, protocol=nil, healthstatus=nil, isolate=nil, metadatas=nil, offset=nil, limit=nil, location=nil)
  @Service = service
  @Namespace = namespace
  @InstanceId = instanceid
  @Host = host
  @InstanceVersion = instanceversion
  @Protocol = protocol
  @HealthStatus = healthstatus
  @Isolate = isolate
  @Metadatas = metadatas
  @Offset = offset
  @Limit = limit
  @Location = location
end

Instance Attribute Details

#HealthStatusObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def HealthStatus
  @HealthStatus
end

#HostObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Host
  @Host
end

#InstanceIdObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def InstanceId
  @InstanceId
end

#InstanceVersionObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def InstanceVersion
  @InstanceVersion
end

#IsolateObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Isolate
  @Isolate
end

#LimitObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Limit
  @Limit
end

#LocationObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Location
  @Location
end

#MetadatasObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Metadatas
  @Metadatas
end

#NamespaceObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Namespace
  @Namespace
end

#OffsetObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Offset
  @Offset
end

#ProtocolObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Protocol
  @Protocol
end

#ServiceObject

Parameters:

  • Service:

    实例所在的服务名。

  • Namespace:

    实例所在命名空间名。

  • InstanceId:

    tse实例id。

  • Host:

    根据实例ip过滤,多个ip使用英文逗号分隔。

  • InstanceVersion:

    根据实例版本过滤。

  • Protocol:

    根据实例协议过滤。

  • HealthStatus:

    根据实例健康状态过滤。false:表示不健康,true:表示健康。

  • Isolate:

    根据实例隔离状态过滤。false:表示非隔离,true:表示隔离中。

  • Metadatas:

    根据元数据信息过滤。目前只支持一组元数据键值,若传了多个键值对,只会以第一个过滤。

  • Offset:

    偏移量,默认为0。

  • Limit:

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

  • Location:

    地域



6020
6021
6022
# File 'lib/v20201207/models.rb', line 6020

def Service
  @Service
end

Instance Method Details

#deserialize(params) ⇒ Object



6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
# File 'lib/v20201207/models.rb', line 6037

def deserialize(params)
  @Service = params['Service']
  @Namespace = params['Namespace']
  @InstanceId = params['InstanceId']
  @Host = params['Host']
  @InstanceVersion = params['InstanceVersion']
  @Protocol = params['Protocol']
  @HealthStatus = params['HealthStatus']
  @Isolate = params['Isolate']
  unless params['Metadatas'].nil?
    @Metadatas = []
    params['Metadatas'].each do |i|
       = Metadata.new
      .deserialize(i)
      @Metadatas << 
    end
  end
  @Offset = params['Offset']
  @Limit = params['Limit']
  unless params['Location'].nil?
    @Location = Location.new
    @Location.deserialize(params['Location'])
  end
end