DevCenterModelFactory.StopOnDisconnectConfiguration Method

Definition

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.

gracePeriodMinutes
Nullable<Int32>

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