TriggerContext Class

Definition

Trigger context

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContextTypeConverter))]
public class TriggerContext : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContextTypeConverter))>]
type TriggerContext = class
    interface ITriggerContext
    interface IJsonSerializable
Public Class TriggerContext
Implements ITriggerContext
Inheritance
TriggerContext
Attributes
Implements

Constructors

TriggerContext()

Creates an new TriggerContext instance.

Properties

ObjectType

Type of the specific object - used for deserializing

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TriggerContext.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TriggerContext.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TriggerContext into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to