Sdílet prostřednictvím


TrafficManagerResourceData Class

Definition

The core properties of ARM resources.

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

Constructors

TrafficManagerResourceData()

Initializes a new instance of TrafficManagerResourceData.

Properties

Id

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}.

Name

The name of the resource.

ResourceType

The type of the resource. Ex- Microsoft.Network/trafficManagerProfiles.

Explicit Interface Implementations

IJsonModel<TrafficManagerResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TrafficManagerResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TrafficManagerResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TrafficManagerResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TrafficManagerResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to