SiteDnsConfig Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SiteDnsConfigTypeConverter))]
public class SiteDnsConfig : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISiteDnsConfig
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.SiteDnsConfigTypeConverter))>]
type SiteDnsConfig = class
    interface ISiteDnsConfig
    interface IJsonSerializable
Public Class SiteDnsConfig
Implements ISiteDnsConfig
Inheritance
SiteDnsConfig
Attributes
Implements

Constructors

SiteDnsConfig()

Creates an new SiteDnsConfig instance.

Properties

DnsAltServer

Alternate DNS server to be used by apps. This property replicates the WEBSITE_DNS_ALT_SERVER app setting.

DnsLegacySortOrder

Indicates that sites using Virtual network custom DNS servers are still sorting the list of DNS servers. Read-Only.

DnsMaxCacheTimeout

Custom time for DNS to be cached in seconds. Allowed range: 0-60. Default is 30 seconds. 0 means caching disabled.

DnsRetryAttemptCount

Total number of retries for dns lookup. Allowed range: 1-5. Default is 3.

DnsRetryAttemptTimeout

Timeout for a single dns lookup in seconds. Allowed range: 1-30. Default is 3.

DnsServer

List of custom DNS servers to be used by an app for lookups. Maximum 5 dns servers can be set.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SiteDnsConfig.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SiteDnsConfig.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ISiteDnsConfig.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SiteDnsConfig into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to