ChaosTargetReference Class

Definition

Model that represents a reference to a Target in the selector.

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

Constructors

ChaosTargetReference(ChaosTargetReferenceType, ResourceIdentifier)

Initializes a new instance of ChaosTargetReference.

Properties

Id

String of the resource ID of a Target resource.

ReferenceType

Enum of the Target reference type.

Explicit Interface Implementations

IJsonModel<ChaosTargetReference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChaosTargetReference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ChaosTargetReference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChaosTargetReference>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChaosTargetReference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to