Partager via


ISiteDnsConfig Interface

Definition

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

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to