Share via


OperationStatus Class

Definition

The current status of an async operation

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

Constructors

OperationStatus()

Creates an new OperationStatus instance.

Properties

Code

The error code.

EndTime

The end time of the operation

Id

Fully qualified ID for the operation status.

Message

The error message.

Name

The operation id name

OperationLocation
PercentComplete

Percent of the operation that is complete

Property

Custom operation properties, populated only for a successful operation.

ResourceId

The id of the resource.

StartTime

The start time of the operation

Status

Provisioning state of the resource.

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.DevCenterdata.Models.Api20231001Preview.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.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to