Udostępnij za pośrednictwem


OperationResult Class

Definition

Operation Result Entity.

[Microsoft.Rest.Serialization.JsonTransformation]
public class OperationResult
[<Microsoft.Rest.Serialization.JsonTransformation>]
type OperationResult = class
Public Class OperationResult
Inheritance
OperationResult
Attributes

Constructors

OperationResult()

Initializes a new instance of the OperationResult class.

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

Initializes a new instance of the OperationResult class.

Properties

Code

Gets or sets the code of the error.

EndTime

Gets or sets the operation end time

Id

Gets ID of the resource.

Message

Gets or sets the error message.

Name

Gets name of the resource.

OperationKind

Gets or sets the kind of the operation.

OperationState

Gets or sets the state of the operation.

PercentComplete

Gets or sets percentage completed.

ProvisioningState

Gets the provisioned state of the resource. Possible values include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Moving'

StartTime

Gets or sets the operation start time

Status

Gets or sets status of the Operation result. Possible values include: 'Succeeded', 'Canceled', 'Failed', 'Running'

Methods

Validate()

Validate the object.

Applies to