Share via


IOperationResource Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationResourceTypeConverter))]
public interface IOperationResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationResourceTypeConverter))>]
type IOperationResource = interface
    interface IJsonSerializable
Public Interface IOperationResource
Implements IJsonSerializable
Derived
Attributes
Implements

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to