Share via


OperationStatus Class

Definition

Operation status REST resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.OperationStatusTypeConverter))]
public class OperationStatus : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IOperationStatus
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.OperationStatusTypeConverter))>]
type OperationStatus = class
    interface IOperationStatus
    interface IJsonSerializable
Public Class OperationStatus
Implements IOperationStatus
Inheritance
OperationStatus
Attributes
Implements

Constructors

OperationStatus()

Creates an new OperationStatus instance.

Properties

Code

Error code.

EndTime

End time.

Id

Resource Id.

Message

Error message.

Name

Operation name.

Result

Result or output of the workflow.

StartTime

Start time.

Status

Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationStatus.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationStatus.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IOperationStatus.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationStatus into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to