Class: TencentCloud::Tke::V20180525::RunPrometheusInstanceRequest

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

Overview

RunPrometheusInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, subnetid = nil) ⇒ RunPrometheusInstanceRequest

Returns a new instance of RunPrometheusInstanceRequest.



17916
17917
17918
17919
# File 'lib/v20180525/models.rb', line 17916

def initialize(instanceid=nil, subnetid=nil)
  @InstanceId = instanceid
  @SubnetId = subnetid
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID

  • SubnetId:

    子网ID,默认使用实例所用子网初始化,也可通过该参数传递新的子网ID初始化



17914
17915
17916
# File 'lib/v20180525/models.rb', line 17914

def InstanceId
  @InstanceId
end

#SubnetIdObject

Parameters:

  • InstanceId:

    实例ID

  • SubnetId:

    子网ID,默认使用实例所用子网初始化,也可通过该参数传递新的子网ID初始化



17914
17915
17916
# File 'lib/v20180525/models.rb', line 17914

def SubnetId
  @SubnetId
end

Instance Method Details

#deserialize(params) ⇒ Object



17921
17922
17923
17924
# File 'lib/v20180525/models.rb', line 17921

def deserialize(params)
  @InstanceId = params['InstanceId']
  @SubnetId = params['SubnetId']
end