Condividi tramite


TriggerProperties Class

Definition

Describes the properties of a trigger

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.TriggerPropertiesTypeConverter))]
public class TriggerProperties : Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.TriggerPropertiesTypeConverter))>]
type TriggerProperties = class
    interface ITriggerProperties
    interface IJsonSerializable
Public Class TriggerProperties
Implements ITriggerProperties
Inheritance
TriggerProperties
Attributes
Implements

Constructors

Name Description
TriggerProperties()

Creates an new TriggerProperties instance.

Properties

Name Description
Kind

The kind of trigger.

ProvisioningState

Provisioning state of the resource

StatusCode

The status code.

StatusMessage

The detailed status message, including for alerts and error messages.

StatusTime

The time of the status.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TriggerProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TriggerProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.ImageBuilder.Models.ITriggerProperties 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 TriggerProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of TriggerProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to