Class: TencentCloud::Monitor::V20180724::CreatePrometheusAgentRequest

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

Overview

CreatePrometheusAgent请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, name = nil) ⇒ CreatePrometheusAgentRequest

Returns a new instance of CreatePrometheusAgentRequest.



2549
2550
2551
2552
# File 'lib/v20180724/models.rb', line 2549

def initialize(instanceid=nil, name=nil)
  @InstanceId = instanceid
  @Name = name
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例 ID

  • Name:

    Agent 名称



2547
2548
2549
# File 'lib/v20180724/models.rb', line 2547

def InstanceId
  @InstanceId
end

#NameObject

Parameters:

  • InstanceId:

    实例 ID

  • Name:

    Agent 名称



2547
2548
2549
# File 'lib/v20180724/models.rb', line 2547

def Name
  @Name
end

Instance Method Details

#deserialize(params) ⇒ Object



2554
2555
2556
2557
# File 'lib/v20180724/models.rb', line 2554

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