共用方式為


ContainerGroupDnsConfiguration Class

Definition

DNS configuration for the container group.

public class ContainerGroupDnsConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupDnsConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupDnsConfiguration>
type ContainerGroupDnsConfiguration = class
    interface IJsonModel<ContainerGroupDnsConfiguration>
    interface IPersistableModel<ContainerGroupDnsConfiguration>
Public Class ContainerGroupDnsConfiguration
Implements IJsonModel(Of ContainerGroupDnsConfiguration), IPersistableModel(Of ContainerGroupDnsConfiguration)
Inheritance
ContainerGroupDnsConfiguration
Implements

Constructors

ContainerGroupDnsConfiguration(IEnumerable<String>)

Initializes a new instance of ContainerGroupDnsConfiguration.

Properties

NameServers

The DNS servers for the container group.

Options

The DNS options for the container group.

SearchDomains

The DNS search domains for hostname lookup in the container group.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerGroupDnsConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerGroupDnsConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerGroupDnsConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerGroupDnsConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerGroupDnsConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to