OperationResource Constructors

Definition

Overloads

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.

OperationResource()

Initializes a new instance of the OperationResource class.

public OperationResource ();
Public Sub New ()

Applies to

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

Initializes a new instance of the OperationResource class.

public OperationResource (DateTime? endTime = default, Microsoft.Azure.Management.RecoveryServices.Models.Error error = default, string id = default, string name = default, string status = default, DateTime? startTime = default);
new Microsoft.Azure.Management.RecoveryServices.Models.OperationResource : Nullable<DateTime> * Microsoft.Azure.Management.RecoveryServices.Models.Error * string * string * string * Nullable<DateTime> -> Microsoft.Azure.Management.RecoveryServices.Models.OperationResource
Public Sub New (Optional endTime As Nullable(Of DateTime) = Nothing, Optional error As Error = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional status As String = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing)

Parameters

endTime
Nullable<DateTime>

End time of the operation

error
Error

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
String

It should match what is used to GET the operation result

name
String

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

status
String

The status of the operation. (InProgress/Success/Failed/Cancelled)

startTime
Nullable<DateTime>

Start time of the operation

Applies to