Class: TencentCloud::Tke::V20180525::DnsServerConf

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

Overview

Eks 自定义域名服务器 配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, dnsservers = nil) ⇒ DnsServerConf

Returns a new instance of DnsServerConf.



10713
10714
10715
10716
# File 'lib/v20180525/models.rb', line 10713

def initialize(domain=nil, dnsservers=nil)
  @Domain = domain
  @DnsServers = dnsservers
end

Instance Attribute Details

#DnsServersObject

Parameters:

  • Domain:

    域名。空字符串表示所有域名。

  • DnsServers:

    dns 服务器地址列表。地址格式 ip:port



10711
10712
10713
# File 'lib/v20180525/models.rb', line 10711

def DnsServers
  @DnsServers
end

#DomainObject

Parameters:

  • Domain:

    域名。空字符串表示所有域名。

  • DnsServers:

    dns 服务器地址列表。地址格式 ip:port



10711
10712
10713
# File 'lib/v20180525/models.rb', line 10711

def Domain
  @Domain
end

Instance Method Details

#deserialize(params) ⇒ Object



10718
10719
10720
10721
# File 'lib/v20180525/models.rb', line 10718

def deserialize(params)
  @Domain = params['Domain']
  @DnsServers = params['DnsServers']
end