NetworkInterfaceDnsSettings Class

Definition

DNS settings of a network interface.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NetworkInterfaceDnsSettingsTypeConverter))]
public class NetworkInterfaceDnsSettings : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INetworkInterfaceDnsSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.NetworkInterfaceDnsSettingsTypeConverter))>]
type NetworkInterfaceDnsSettings = class
    interface INetworkInterfaceDnsSettings
    interface IJsonSerializable
Public Class NetworkInterfaceDnsSettings
Implements INetworkInterfaceDnsSettings
Inheritance
NetworkInterfaceDnsSettings
Attributes
Implements

Constructors

NetworkInterfaceDnsSettings()

Creates an new NetworkInterfaceDnsSettings instance.

Properties

AppliedDnsServer

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.

DnsServer

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.

InternalDnsNameLabel

Relative DNS name for this NIC used for internal communications between VMs in the same virtual network.

InternalDomainNameSuffix

Even if internalDnsNameLabel is not specified, a DNS 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.

InternalFqdn

Fully qualified DNS name supporting internal communications between VMs in the same virtual network.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NetworkInterfaceDnsSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NetworkInterfaceDnsSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.INetworkInterfaceDnsSettings.

FromJsonString(String)

Creates a new instance of NetworkInterfaceDnsSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NetworkInterfaceDnsSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to