Compartir a través de


TriggerContext Class

Definition

Trigger context

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

Constructors

Name Description
TriggerContext()

Creates an new TriggerContext instance.

Properties

Name Description
ObjectType

Type of the specific object - used for deserializing

Methods

Name Description
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.Api20250201.ITriggerContext. Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20250201.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