DevCenterModelFactory.DevBoxAction 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 DevBoxAction.
public static Azure.Developer.DevCenter.Models.DevBoxAction DevBoxAction(string name = default, Azure.Developer.DevCenter.Models.DevBoxActionType actionType = default, string sourceId = default, DateTimeOffset? suspendedUntil = default, Azure.Developer.DevCenter.Models.DevBoxNextAction nextAction = default);
	static member DevBoxAction : string * Azure.Developer.DevCenter.Models.DevBoxActionType * string * Nullable<DateTimeOffset> * Azure.Developer.DevCenter.Models.DevBoxNextAction -> Azure.Developer.DevCenter.Models.DevBoxAction
	Public Shared Function DevBoxAction (Optional name As String = Nothing, Optional actionType As DevBoxActionType = Nothing, Optional sourceId As String = Nothing, Optional suspendedUntil As Nullable(Of DateTimeOffset) = Nothing, Optional nextAction As DevBoxNextAction = Nothing) As DevBoxAction
	Parameters
- name
 - String
 
The name of the action.
- actionType
 - DevBoxActionType
 
The action that will be taken.
- sourceId
 - String
 
The id of the resource which triggered this action.
- suspendedUntil
 - Nullable<DateTimeOffset>
 
The earliest time that the action could occur (UTC).
- nextAction
 - DevBoxNextAction
 
Details about the next run of this action.
Returns
A new DevBoxAction instance for mocking.