OperationResult 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.
A long running operation result
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.OperationResultTypeConverter))]
public class OperationResult : Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IOperationResult
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.OperationResultTypeConverter))>]
type OperationResult = class
interface IOperationResult
interface IJsonSerializable
Public Class OperationResult
Implements IOperationResult
- Inheritance
-
OperationResult
- Attributes
- Implements
Constructors
OperationResult() |
Creates an new OperationResult instance. |
Properties
AdditionalInfo |
The error additional info. |
Code |
The error code. |
Detail |
The error details. |
EndTime |
End time |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
Message |
The error message. |
Name |
The name of the resource |
PercentComplete |
Percent completion |
StartTime |
Start time |
Status |
The operation status |
Target |
The error target. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of OperationResult. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of OperationResult. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.LabServices.Models.Api20211001Preview.IOperationResult. |
FromJsonString(String) |
Creates a new instance of OperationResult, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of OperationResult into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |