Share via


OperationResult Class

Definition

A long running operation result

public class OperationResult
type OperationResult = class
Public Class OperationResult
Inheritance
OperationResult

Constructors

OperationResult()

Initializes a new instance of the OperationResult class.

OperationResult(OperationStatus, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Double>, ErrorDetail)

Initializes a new instance of the OperationResult class.

Properties

EndTime

Gets or sets end time

Error

Gets or sets the error for a failure if the operation failed.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

Gets the name of the resource

PercentComplete

Gets or sets percent completion

StartTime

Gets or sets start time

Status

Gets or sets the operation status. Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed', 'Canceled'

Methods

Validate()

Validate the object.

Applies to