Class: TencentCloud::Tke::V20180525::CreatePrometheusDashboardRequest

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

Overview

CreatePrometheusDashboard请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, dashboardname = nil, contents = nil) ⇒ CreatePrometheusDashboardRequest

Returns a new instance of CreatePrometheusDashboardRequest.



3467
3468
3469
3470
3471
# File 'lib/v20180525/models.rb', line 3467

def initialize(instanceid=nil, dashboardname=nil, contents=nil)
  @InstanceId = instanceid
  @DashboardName = dashboardname
  @Contents = contents
end

Instance Attribute Details

#ContentsObject

每一项是一个grafana dashboard的json定义

Parameters:

  • InstanceId:

    实例id

  • DashboardName:

    面板组名称

  • Contents:

    面板列表



3465
3466
3467
# File 'lib/v20180525/models.rb', line 3465

def Contents
  @Contents
end

#DashboardNameObject

每一项是一个grafana dashboard的json定义

Parameters:

  • InstanceId:

    实例id

  • DashboardName:

    面板组名称

  • Contents:

    面板列表



3465
3466
3467
# File 'lib/v20180525/models.rb', line 3465

def DashboardName
  @DashboardName
end

#InstanceIdObject

每一项是一个grafana dashboard的json定义

Parameters:

  • InstanceId:

    实例id

  • DashboardName:

    面板组名称

  • Contents:

    面板列表



3465
3466
3467
# File 'lib/v20180525/models.rb', line 3465

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



3473
3474
3475
3476
3477
# File 'lib/v20180525/models.rb', line 3473

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