Partager via


DevCenterModelFactory.DevBoxActionDelayResult Method

Definition

Initializes a new instance of DevBoxActionDelayResult.

public static Azure.Developer.DevCenter.Models.DevBoxActionDelayResult DevBoxActionDelayResult (string actionName = default, Azure.Developer.DevCenter.Models.DevBoxActionDelayStatus delayStatus = default, Azure.Developer.DevCenter.Models.DevBoxAction action = default, Azure.ResponseError error = default);
static member DevBoxActionDelayResult : string * Azure.Developer.DevCenter.Models.DevBoxActionDelayStatus * Azure.Developer.DevCenter.Models.DevBoxAction * Azure.ResponseError -> Azure.Developer.DevCenter.Models.DevBoxActionDelayResult
Public Shared Function DevBoxActionDelayResult (Optional actionName As String = Nothing, Optional delayStatus As DevBoxActionDelayStatus = Nothing, Optional action As DevBoxAction = Nothing, Optional error As ResponseError = Nothing) As DevBoxActionDelayResult

Parameters

actionName
String

The name of the action.

delayStatus
DevBoxActionDelayStatus

The result of the delay operation on this action.

action
DevBoxAction

The delayed action.

error
ResponseError

Information about the error that occurred. Only populated on error.

Returns

A new DevBoxActionDelayResult instance for mocking.

Applies to