Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::DNSConfig.
DNSConfig contains the desired set of options for configuring clusterDNS.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cluster_dns
def cluster_dns() -> ::Google::Cloud::Container::V1::DNSConfig::Provider
Returns
- (::Google::Cloud::Container::V1::DNSConfig::Provider) — cluster_dns indicates which in-cluster DNS provider should be used.
#cluster_dns=
def cluster_dns=(value) -> ::Google::Cloud::Container::V1::DNSConfig::Provider
Parameter
- value (::Google::Cloud::Container::V1::DNSConfig::Provider) — cluster_dns indicates which in-cluster DNS provider should be used.
Returns
- (::Google::Cloud::Container::V1::DNSConfig::Provider) — cluster_dns indicates which in-cluster DNS provider should be used.
#cluster_dns_domain
def cluster_dns_domain() -> ::String
Returns
- (::String) — cluster_dns_domain is the suffix used for all cluster service records.
#cluster_dns_domain=
def cluster_dns_domain=(value) -> ::String
Parameter
- value (::String) — cluster_dns_domain is the suffix used for all cluster service records.
Returns
- (::String) — cluster_dns_domain is the suffix used for all cluster service records.
#cluster_dns_scope
def cluster_dns_scope() -> ::Google::Cloud::Container::V1::DNSConfig::DNSScope
Returns
- (::Google::Cloud::Container::V1::DNSConfig::DNSScope) — cluster_dns_scope indicates the scope of access to cluster DNS records.
#cluster_dns_scope=
def cluster_dns_scope=(value) -> ::Google::Cloud::Container::V1::DNSConfig::DNSScope
Parameter
- value (::Google::Cloud::Container::V1::DNSConfig::DNSScope) — cluster_dns_scope indicates the scope of access to cluster DNS records.
Returns
- (::Google::Cloud::Container::V1::DNSConfig::DNSScope) — cluster_dns_scope indicates the scope of access to cluster DNS records.