Class: TencentCloud::Tke::V20180525::CreatePrometheusRecordRuleYamlRequest

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

Overview

CreatePrometheusRecordRuleYaml请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, content = nil) ⇒ CreatePrometheusRecordRuleYamlRequest

Returns a new instance of CreatePrometheusRecordRuleYamlRequest.



3549
3550
3551
3552
# File 'lib/v20180525/models.rb', line 3549

def initialize(instanceid=nil, content=nil)
  @InstanceId = instanceid
  @Content = content
end

Instance Attribute Details

#ContentObject

Parameters:

  • InstanceId:

    实例id

  • Content:

    yaml的内容



3547
3548
3549
# File 'lib/v20180525/models.rb', line 3547

def Content
  @Content
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • Content:

    yaml的内容



3547
3548
3549
# File 'lib/v20180525/models.rb', line 3547

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



3554
3555
3556
3557
# File 'lib/v20180525/models.rb', line 3554

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