ArmComputeScheduleModelFactory.ScheduledActionFallbackInfo 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.
Describes the fallback operation that was performed.
public static Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionFallbackInfo ScheduledActionFallbackInfo(Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationType lastOpType = default, string status = default, Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationError error = default);
static member ScheduledActionFallbackInfo : Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationType * string * Azure.ResourceManager.ComputeSchedule.Models.ResourceOperationError -> Azure.ResourceManager.ComputeSchedule.Models.ScheduledActionFallbackInfo
Public Shared Function ScheduledActionFallbackInfo (Optional lastOpType As ResourceOperationType = Nothing, Optional status As String = Nothing, Optional error As ResourceOperationError = Nothing) As ScheduledActionFallbackInfo
Parameters
- lastOpType
- ResourceOperationType
The last operation type that was performed as a fallback.
- status
- String
The status of the fallback operation.
- error
- ResourceOperationError
The error code if the fallback operation failed.
Returns
A new ScheduledActionFallbackInfo instance for mocking.