Condividi tramite


OperationStatus Constructors

Definition

Overloads

OperationStatus()

Initializes a new instance of the OperationStatus class.

OperationStatus(String, String, String, Nullable<DateTime>, Nullable<DateTime>, OperationStatusError, OperationStatusExtendedInfo)

Initializes a new instance of the OperationStatus class.

OperationStatus()

Initializes a new instance of the OperationStatus class.

public OperationStatus ();
Public Sub New ()

Applies to

OperationStatus(String, String, String, Nullable<DateTime>, Nullable<DateTime>, OperationStatusError, OperationStatusExtendedInfo)

Initializes a new instance of the OperationStatus class.

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

Parameters

id
String

ID of the operation.

name
String

Name of the operation.

status
String

Operation status. Possible values include: 'Invalid', 'InProgress', 'Succeeded', 'Failed', 'Canceled'

startTime
Nullable<DateTime>

Operation start time. Format: ISO-8601.

endTime
Nullable<DateTime>

Operation end time. Format: ISO-8601.

error
OperationStatusError

Error information related to this operation.

properties
OperationStatusExtendedInfo

Additional information associated with this operation.

Applies to