Udostępnij za pośrednictwem


OperationResource Class

Definition

Operation Resource

public class OperationResource
type OperationResource = class
Public Class OperationResource
Inheritance
OperationResource

Constructors

OperationResource()

Initializes a new instance of the OperationResource class.

OperationResource(Nullable<DateTime>, Error, String, String, String, Nullable<DateTime>)

Initializes a new instance of the OperationResource class.

Properties

EndTime

Gets or sets end time of the operation

Error

Gets or sets required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into the v2.2 Azure REST API guidelines.

Id

Gets or sets it should match what is used to GET the operation result

Name

Gets or sets it must match the last segment of the "id" field, and will typically be a GUID / system generated value

StartTime

Gets or sets start time of the operation

Status

Gets or sets the status of the operation. (InProgress/Success/Failed/Cancelled)

Applies to