Share via


OperationStatus Class

Definition

The current status of an async operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.OperationStatusTypeConverter))]
public class OperationStatus : Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.IOperationStatus, Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Runtime.IHeaderSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenterdata.Models.Api20240501Preview.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

One of a server-defined set of error codes.

Detail

An array of details about specific errors that led to this reported error.

EndTime

The end time of the operation.

Id

Fully qualified ID for the operation status.

Innererror

An object containing more specific information than the current object about the error.

Message

A human-readable representation of the error.

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.

Target

The target of the error.

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.Api20240501Preview.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