你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CacheNetworkSettings Class

Definition

Cache network settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheNetworkSettingsTypeConverter))]
public class CacheNetworkSettings : Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheNetworkSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.CacheNetworkSettingsTypeConverter))>]
type CacheNetworkSettings = class
    interface ICacheNetworkSettings
    interface IJsonSerializable
Public Class CacheNetworkSettings
Implements ICacheNetworkSettings
Inheritance
CacheNetworkSettings
Attributes
Implements

Constructors

CacheNetworkSettings()

Creates an new CacheNetworkSettings instance.

Properties

DnsSearchDomain

DNS search domain

DnsServer

DNS servers for the cache to use. It will be set from the network configuration if no value is provided.

Mtu

The IPv4 maximum transmission unit configured for the subnet.

NtpServer

NTP server IP Address or FQDN for the cache to use. The default is time.windows.com.

UtilityAddress

Array of additional IP addresses used by this cache.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CacheNetworkSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CacheNetworkSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageCache.Models.Api20230501.ICacheNetworkSettings.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CacheNetworkSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to