ArmComputeModelFactory.CopyCompletionError 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.
public static Azure.ResourceManager.Compute.Models.CopyCompletionError CopyCompletionError(Azure.ResourceManager.Compute.Models.CopyCompletionErrorReason errorCode = default, string errorMessage = default);
static member CopyCompletionError : Azure.ResourceManager.Compute.Models.CopyCompletionErrorReason * string -> Azure.ResourceManager.Compute.Models.CopyCompletionError
Public Shared Function CopyCompletionError (Optional errorCode As CopyCompletionErrorReason = Nothing, Optional errorMessage As String = Nothing) As CopyCompletionError
Parameters
- errorCode
- CopyCompletionErrorReason
Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- errorMessage
- String
Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
Returns
A new CopyCompletionError instance for mocking.