TrafficManagerRegion Class

Definition

Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method.

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

Constructors

TrafficManagerRegion()

Initializes a new instance of TrafficManagerRegion.

Properties

Code

The code of the region.

Name

The name of the region.

Regions

The list of Regions grouped under this Region in the Geographic Hierarchy.

Explicit Interface Implementations

IJsonModel<TrafficManagerRegion>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TrafficManagerRegion>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TrafficManagerRegion>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TrafficManagerRegion>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TrafficManagerRegion>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to