Class: Azure::ARM::Network::Models::NetworkInterfaceDnsSettings
- Inherits:
-
Object
- Object
- Azure::ARM::Network::Models::NetworkInterfaceDnsSettings
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb
Overview
DNS settings of a network interface.
Instance Attribute Summary collapse
-
#applied_dns_servers ⇒ Array<String>
Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set.
-
#dns_servers ⇒ Array<String>
‘AzureProvidedDNS’ to switch to azure provided DNS resolution.
-
#internal_dns_name_label ⇒ String
communications between VMs in the same virtual network.
-
#internal_domain_name_suffix ⇒ String
entry is created for the primary NIC of the VM.
-
#internal_fqdn ⇒ String
communications between VMs in the same virtual network.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for NetworkInterfaceDnsSettings class as Ruby Hash.
Instance Attribute Details
#applied_dns_servers ⇒ Array<String>
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.
26 27 28 |
# File 'lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb', line 26 def applied_dns_servers @applied_dns_servers end |
#dns_servers ⇒ Array<String>
‘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.
20 21 22 |
# File 'lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb', line 20 def dns_servers @dns_servers end |
#internal_dns_name_label ⇒ String
communications between VMs in the same virtual network.
30 31 32 |
# File 'lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb', line 30 def internal_dns_name_label @internal_dns_name_label end |
#internal_domain_name_suffix ⇒ String
entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.
40 41 42 |
# File 'lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb', line 40 def internal_domain_name_suffix @internal_domain_name_suffix end |
#internal_fqdn ⇒ String
communications between VMs in the same virtual network.
34 35 36 |
# File 'lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb', line 34 def internal_fqdn @internal_fqdn end |
Class Method Details
.mapper ⇒ Object
Mapper for NetworkInterfaceDnsSettings class as Ruby Hash. This will be used for serialization/deserialization.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/generated/azure_mgmt_network/models/network_interface_dns_settings.rb', line 47 def self.mapper() { required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { name: 'Composite', class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, applied_dns_servers: { required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, internal_dns_name_label: { required: false, serialized_name: 'internalDnsNameLabel', type: { name: 'String' } }, internal_fqdn: { required: false, serialized_name: 'internalFqdn', type: { name: 'String' } }, internal_domain_name_suffix: { required: false, serialized_name: 'internalDomainNameSuffix', type: { name: 'String' } } } } } end |