ArmResourceMoverModelFactory.MoverOperationStatus Method

Definition

Initializes a new instance of MoverOperationStatus.

public static Azure.ResourceManager.ResourceMover.Models.MoverOperationStatus MoverOperationStatus (Azure.Core.ResourceIdentifier id = default, string name = default, string status = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.ResourceMover.Models.MoverOperationStatusError error = default, BinaryData properties = default);
static member MoverOperationStatus : Azure.Core.ResourceIdentifier * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.ResourceManager.ResourceMover.Models.MoverOperationStatusError * BinaryData -> Azure.ResourceManager.ResourceMover.Models.MoverOperationStatus
Public Shared Function MoverOperationStatus (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional status As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional error As MoverOperationStatusError = Nothing, Optional properties As BinaryData = Nothing) As MoverOperationStatus

Parameters

id
ResourceIdentifier

Resource Id.

name
String

Operation name.

status
String

Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.

startOn
Nullable<DateTimeOffset>

Start time.

endOn
Nullable<DateTimeOffset>

End time.

error
MoverOperationStatusError

Error stating all error details for the operation.

properties
BinaryData

Custom data.

Returns

A new MoverOperationStatus instance for mocking.

Applies to