OperationResource 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.
Operation Resource
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationResourceTypeConverter))]
public class OperationResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationResourceTypeConverter))>]
type OperationResource = class
interface IOperationResource
interface IJsonSerializable
Public Class OperationResource
Implements IOperationResource
- Inheritance
-
OperationResource
- Attributes
- Implements
Constructors
OperationResource() |
Creates an new OperationResource instance. |
Properties
AdditionalInfo |
The error additional info. |
Code |
The error code. |
Detail |
The error details. |
EndTime |
End time of the operation |
Id |
It should match what is used to GET the operation result |
Message |
The error message. |
Name |
It must match the last segment of the "id" field, and will typically be a GUID / system generated value |
ObjectType |
This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. |
StartTime |
Start time of the operation |
Status | |
Target |
The error target. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of OperationResource. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of OperationResource. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource. |
FromJsonString(String) |
Creates a new instance of OperationResource, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of OperationResource into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |