ArmStorageCacheModelFactory.StorageCacheNetworkSettings 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.
Initializes a new instance of StorageCacheNetworkSettings.
public static Azure.ResourceManager.StorageCache.Models.StorageCacheNetworkSettings StorageCacheNetworkSettings (int? mtu = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> utilityAddresses = default, System.Collections.Generic.IEnumerable<System.Net.IPAddress> dnsServers = default, string dnsSearchDomain = default, string ntpServer = default);
static member StorageCacheNetworkSettings : Nullable<int> * seq<System.Net.IPAddress> * seq<System.Net.IPAddress> * string * string -> Azure.ResourceManager.StorageCache.Models.StorageCacheNetworkSettings
Public Shared Function StorageCacheNetworkSettings (Optional mtu As Nullable(Of Integer) = Nothing, Optional utilityAddresses As IEnumerable(Of IPAddress) = Nothing, Optional dnsServers As IEnumerable(Of IPAddress) = Nothing, Optional dnsSearchDomain As String = Nothing, Optional ntpServer As String = Nothing) As StorageCacheNetworkSettings
Parameters
- utilityAddresses
- IEnumerable<IPAddress>
Array of additional IP addresses used by this cache.
- dnsServers
- IEnumerable<IPAddress>
DNS servers for the cache to use. It will be set from the network configuration if no value is provided.
- dnsSearchDomain
- String
DNS search domain.
- ntpServer
- String
NTP server IP Address or FQDN for the cache to use. The default is time.windows.com.
Returns
A new StorageCacheNetworkSettings instance for mocking.