共用方式為


ArmStorageCacheModelFactory.StorageCacheNetworkSettings Method

Definition

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

mtu
Nullable<Int32>

The IPv4 maximum transmission unit configured for the subnet.

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.

Applies to