Class: TencentCloud::Tke::V20180525::PrometheusGrafanaInfo

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

Overview

托管prometheus中grafana的信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(enabled = nil, domain = nil, address = nil, internet = nil, adminuser = nil) ⇒ PrometheusGrafanaInfo

Returns a new instance of PrometheusGrafanaInfo.



16109
16110
16111
16112
16113
16114
16115
# File 'lib/v20180525/models.rb', line 16109

def initialize(enabled=nil, domain=nil, address=nil, internet=nil, adminuser=nil)
  @Enabled = enabled
  @Domain = domain
  @Address = address
  @Internet = internet
  @AdminUser = adminuser
end

Instance Attribute Details

#AddressObject

close = 未开启外网访问 opening = 正在开启外网访问 open = 已开启外网访问

Parameters:

  • Enabled:

    是否启用

  • Domain:

    域名,只有开启外网访问才有效果

  • Address:

    内网地址,或者外网地址

  • Internet:

    是否开启了外网访问

  • AdminUser:

    grafana管理员用户名



16107
16108
16109
# File 'lib/v20180525/models.rb', line 16107

def Address
  @Address
end

#AdminUserObject

close = 未开启外网访问 opening = 正在开启外网访问 open = 已开启外网访问

Parameters:

  • Enabled:

    是否启用

  • Domain:

    域名,只有开启外网访问才有效果

  • Address:

    内网地址,或者外网地址

  • Internet:

    是否开启了外网访问

  • AdminUser:

    grafana管理员用户名



16107
16108
16109
# File 'lib/v20180525/models.rb', line 16107

def AdminUser
  @AdminUser
end

#DomainObject

close = 未开启外网访问 opening = 正在开启外网访问 open = 已开启外网访问

Parameters:

  • Enabled:

    是否启用

  • Domain:

    域名,只有开启外网访问才有效果

  • Address:

    内网地址,或者外网地址

  • Internet:

    是否开启了外网访问

  • AdminUser:

    grafana管理员用户名



16107
16108
16109
# File 'lib/v20180525/models.rb', line 16107

def Domain
  @Domain
end

#EnabledObject

close = 未开启外网访问 opening = 正在开启外网访问 open = 已开启外网访问

Parameters:

  • Enabled:

    是否启用

  • Domain:

    域名,只有开启外网访问才有效果

  • Address:

    内网地址,或者外网地址

  • Internet:

    是否开启了外网访问

  • AdminUser:

    grafana管理员用户名



16107
16108
16109
# File 'lib/v20180525/models.rb', line 16107

def Enabled
  @Enabled
end

#InternetObject

close = 未开启外网访问 opening = 正在开启外网访问 open = 已开启外网访问

Parameters:

  • Enabled:

    是否启用

  • Domain:

    域名,只有开启外网访问才有效果

  • Address:

    内网地址,或者外网地址

  • Internet:

    是否开启了外网访问

  • AdminUser:

    grafana管理员用户名



16107
16108
16109
# File 'lib/v20180525/models.rb', line 16107

def Internet
  @Internet
end

Instance Method Details

#deserialize(params) ⇒ Object



16117
16118
16119
16120
16121
16122
16123
# File 'lib/v20180525/models.rb', line 16117

def deserialize(params)
  @Enabled = params['Enabled']
  @Domain = params['Domain']
  @Address = params['Address']
  @Internet = params['Internet']
  @AdminUser = params['AdminUser']
end