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.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET