OperationStatus Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The current status of an async operation
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.OperationStatusTypeConverter))]
public class OperationStatus : Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.IOperationStatus, Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20231001Preview.OperationStatusTypeConverter))>]
type OperationStatus = class
interface IOperationStatus
interface IJsonSerializable
interface IOperationStatusResult
interface IValidates
Public Class OperationStatus
Implements IOperationStatus, IValidates
- Inheritance
-
OperationStatus
- Attributes
- Implements
Constructors
OperationStatus() |
Creates an new OperationStatus instance. |
Properties
AdditionalInfo |
The error additional info. |
Code |
The error code. |
Detail |
The error details. |
EndTime |
The end time of the operation. |
Error |
If present, details of the operation error. |
Id |
Fully qualified ID for the async operation. |
Message |
The error message. |
Name |
Name of the async operation. |
Operation |
The operations list. |
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 |
Operation status. |
Target |
The error target. |
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.DevCenter.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. |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |