ActionState Class

Definition

ActionState represents the state of an action taken against a resource. This can be used to represent both explicitly and implicitly defined action types.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.ActionStateTypeConverter))]
public class ActionState : Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.IActionState
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.ActionStateTypeConverter))>]
type ActionState = class
    interface IActionState
    interface IJsonSerializable
Public Class ActionState
Implements IActionState
Inheritance
ActionState
Attributes
Implements

Constructors

Name Description
ActionState()

Creates an new ActionState instance.

Properties

Name Description
ActionType

The representation of the action for which this is a status. Matches ARM resource action format when the action is an ARM-based action.

CorrelationId

The correlation ID for the original action request. Omitted if there is no related correlation ID.

EndTime

The timestamp of when the action reached its final, terminal state. Uses ISO 8601 format.

Message

The description providing additional context for the status value. May be empty or contain guidance in the case of a failure.

StartTime

The timestamp of when the action began, in ISO 8601 format.

Status

The status of the action.

StepState

The ordered list of the individual steps which make up the action.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ActionState.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ActionState.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.NetworkCloud.Models.IActionState.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ActionState into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to