ArmComputeScheduleModelFactory.ResourceOperationError(String, String) 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 ResourceOperationError.
public static Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationError ResourceOperationError (string errorCode = default, string errorDetails = default);
static member ResourceOperationError : string * string -> Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationError
Public Shared Function ResourceOperationError (Optional errorCode As String = Nothing, Optional errorDetails As String = Nothing) As ResourceOperationError
Parameters
- errorCode
- String
Code for the error eg 404, 500.
- errorDetails
- String
Detailed message about the error.
Returns
A new ResourceOperationError instance for mocking.