LocalDnsOverride Class
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.
Overrides for localDNS profile.
public class LocalDnsOverride : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.LocalDnsOverride>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.LocalDnsOverride>
type LocalDnsOverride = class
interface IJsonModel<LocalDnsOverride>
interface IPersistableModel<LocalDnsOverride>
Public Class LocalDnsOverride
Implements IJsonModel(Of LocalDnsOverride), IPersistableModel(Of LocalDnsOverride)
- Inheritance
-
LocalDnsOverride
- Implements
Constructors
| Name | Description |
|---|---|
| LocalDnsOverride() |
Initializes a new instance of LocalDnsOverride. |
Properties
| Name | Description |
|---|---|
| CacheDurationInSeconds |
Cache max TTL in seconds. See cache plugin for more information. |
| ForwardDestination |
Destination server for DNS queries to be forwarded from localDNS. |
| ForwardPolicy |
Forward policy for selecting upstream DNS server. See forward plugin for more information. |
| MaxConcurrent |
Maximum number of concurrent queries. See forward plugin for more information. |
| Protocol |
Enforce TCP or prefer UDP protocol for connections from localDNS to upstream DNS server. |
| QueryLogging |
Log level for DNS queries in localDNS. |
| ServeStale |
Policy for serving stale data. See cache plugin for more information. |
| ServeStaleDurationInSeconds |
Serve stale duration in seconds. See cache plugin for more information. |
Methods
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<LocalDnsOverride>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<LocalDnsOverride>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<LocalDnsOverride>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<LocalDnsOverride>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<LocalDnsOverride>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |