Share via


OperationStatus Class

Definition

Operation status REST resource.

[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.OperationStatusTypeConverter))]
public class OperationStatus : Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.IOperationStatus
[<Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Models.Api20230801.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

AdditionalInfo

The additional info.

Code

The error code.

Detail

The error details.

EndTime

End time.

Id

Resource Id.

Message

The error message.

Name

Operation name.

Property

Custom data.

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.ResourceMover.Models.Api20230801.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