ArmDnsResolverModelFactory.TargetDnsServer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.DnsResolver.Models.TargetDnsServer TargetDnsServer(System.Net.IPAddress ipAddress = default, int? port = default);
static member TargetDnsServer : System.Net.IPAddress * Nullable<int> -> Azure.ResourceManager.DnsResolver.Models.TargetDnsServer
Public Shared Function TargetDnsServer (Optional ipAddress As IPAddress = Nothing, Optional port As Nullable(Of Integer) = Nothing) As TargetDnsServer
Parameters
- ipAddress
- IPAddress
DNS server IP address.
Returns
A new TargetDnsServer instance for mocking.