Class: TencentCloud::Tke::V20180525::CreatePrometheusDashboardRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreatePrometheusDashboardRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreatePrometheusDashboard请求参数结构体
Instance Attribute Summary collapse
-
#Contents ⇒ Object
每一项是一个grafana dashboard的json定义.
-
#DashboardName ⇒ Object
每一项是一个grafana dashboard的json定义.
-
#InstanceId ⇒ Object
每一项是一个grafana dashboard的json定义.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, dashboardname = nil, contents = nil) ⇒ CreatePrometheusDashboardRequest
constructor
A new instance of CreatePrometheusDashboardRequest.
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
#Contents ⇒ Object
每一项是一个grafana dashboard的json定义
3465 3466 3467 |
# File 'lib/v20180525/models.rb', line 3465 def Contents @Contents end |
#DashboardName ⇒ Object
每一项是一个grafana dashboard的json定义
3465 3466 3467 |
# File 'lib/v20180525/models.rb', line 3465 def DashboardName @DashboardName end |
#InstanceId ⇒ Object
每一项是一个grafana dashboard的json定义
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 |