TargetReference Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.TargetReferenceTypeConverter))]
public class TargetReference : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.TargetReferenceTypeConverter))>]
type TargetReference = class
    interface ITargetReference
    interface IJsonSerializable
Public Class TargetReference
Implements ITargetReference
Inheritance
TargetReference
Attributes
Implements

Constructors

Name Description
TargetReference()

Creates an new TargetReference instance.

Properties

Name Description
Id

String of the resource ID of a Target resource.

Type

Enum of the Target reference type.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TargetReference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TargetReference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ITargetReference.

FromJsonString(String)

Creates a new instance of TargetReference, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TargetReference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to