ArmResourceMoverModelFactory.MoverOperationStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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 stating all error details for the operation.
- properties
- BinaryData
Custom data.
Returns
A new MoverOperationStatus instance for mocking.
Applies to
Azure SDK for .NET