Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lab Services Library] Update defaults to disable idle settings if not specified #780

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/ClassroomLabs/Modules/Library/Az.LabServices.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -803,15 +803,15 @@ function New-AzLab {

[parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = "Idle Shutdown Grace Period (0 is off)")]
[int]
$idleGracePeriod = 15,
$idleGracePeriod = 0,

[parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = "Disconnect on Idle Grace Period (0 is off)")]
[int]
$idleOsGracePeriod = 0,

[parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = "Shutdown on No Connect Grace Period (0 is off)")]
[int]
$idleNoConnectGracePeriod = 15,
$idleNoConnectGracePeriod = 0,

[Parameter(Mandatory = $false, ValueFromPipelineByPropertyName = $true, HelpMessage = "Enabled AAD connected labs. NOTE: If this Id is a teams team than the lab will be marked as a teams lab.")]
[string] $AadGroupId,
Expand Down