DevCenterModelFactory.StopOnDisconnectConfiguration 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 StopOnDisconnectConfiguration.
public static Azure.Developer.DevCenter.Models.StopOnDisconnectConfiguration StopOnDisconnectConfiguration (Azure.Developer.DevCenter.Models.StopOnDisconnectStatus status = default, int? gracePeriodMinutes = default);
static member StopOnDisconnectConfiguration : Azure.Developer.DevCenter.Models.StopOnDisconnectStatus * Nullable<int> -> Azure.Developer.DevCenter.Models.StopOnDisconnectConfiguration
Public Shared Function StopOnDisconnectConfiguration (Optional status As StopOnDisconnectStatus = Nothing, Optional gracePeriodMinutes As Nullable(Of Integer) = Nothing) As StopOnDisconnectConfiguration
Parameters
- status
- StopOnDisconnectStatus
Indicates whether the feature to stop the devbox on disconnect once the grace period has lapsed is enabled.
The specified time in minutes to wait before stopping a Dev Box once disconnect is detected.
Returns
A new StopOnDisconnectConfiguration 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