AdhocBasedTriggerContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adhoc trigger context
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTriggerContextTypeConverter))]
public class AdhocBasedTriggerContext : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTriggerContextTypeConverter))>]
type AdhocBasedTriggerContext = class
interface IAdhocBasedTriggerContext
interface IJsonSerializable
interface ITriggerContext
interface IValidates
Public Class AdhocBasedTriggerContext
Implements IAdhocBasedTriggerContext, IValidates
- Inheritance
-
AdhocBasedTriggerContext
- Attributes
- Implements
Constructors
AdhocBasedTriggerContext() |
Creates an new AdhocBasedTriggerContext instance. |
Properties
ObjectType |
Type of the specific object - used for deserializing |
TagInfoETag |
Retention Tag version. |
TagInfoId |
Retention Tag version. |
TagInfoTagName |
Retention Tag Name to relate it to retention rule. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AdhocBasedTriggerContext. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AdhocBasedTriggerContext. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext. |
FromJsonString(String) |
Creates a new instance of AdhocBasedTriggerContext, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AdhocBasedTriggerContext into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |