class Azure::Network::Mgmt::V2019_12_01::Models::NetworkInterfaceDnsSettings
DNS settings of a network interface.
Attributes
@return [Array<String>] If the VM
that uses this NIC is part of an Availability
Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability
Set. This property is what is configured on each of those VMs.
@return [Array<String>] List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.
@return [String] Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.
@return [String] Fully qualified DNS name supporting internal communications between VMs in the same virtual network.
Public Class Methods
Mapper for NetworkInterfaceDnsSettings
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb, line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { name: 'Composite', class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, applied_dns_servers: { client_side_validation: true, required: false, read_only: true, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, internal_dns_name_label: { client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { name: 'String' } }, internal_fqdn: { client_side_validation: true, required: false, read_only: true, serialized_name: 'internalFqdn', type: { name: 'String' } }, internal_domain_name_suffix: { client_side_validation: true, required: false, read_only: true, serialized_name: 'internalDomainNameSuffix', type: { name: 'String' } } } } } end