Lab
The lab
resource provides the metadata about the lab and some of its configuration.
This is the reusable part of what is currently called a “track” today.
Properties
title
string
The title of the lab.
description
string
A description of the lab.
tags
[]string
Tags that describe the lab.
settings
block: Settings
Settings that configure the lab.
layout
block: Layout
The layouts that can be used within the lab. This block can be specified multiple times on a lab resource.
content
block: Content
The instructional content of the lab that is presented to the end-user.
Settings
Settings that configure the lab.
timelimit
block: Timelimit Settings
Configure the timelimit settings.
idle
block: Idle Settings
Configure the idle timeout settings.
controls
block: Controls Settings
Configure the controls that are presented to the end-user.
Timelimit Settings
Configure the timelimit settings.
duration
number
The maximum duration of the lab in minutes.
extend
number
How long the lab can be extended in minutes once the timelimit is hit. Set to 0 to disable extending.
show_timer
boolean
Whether or not to show the timelimit timer to the end-user.
Idle Settings
Configure the idle timeout settings.
timeout
number
The inactivity duration in minutes after which an end user will be timed out.
show_warning
boolean
Whether or not to show an idle timeout warning to the end user.
Controls Settings
Configure the controls that are presented to the end-user.
show_stop
boolean
Whether or not to show the stop lab button to the end-user.
Layout
The layouts that can be used within the lab.
default
boolean
Whether or not the layout of the default one to use when the lab does not have any instructional content.
source
ref: Layout
Content
The instructional content of the lab that is presented to the end-user.
Examples
Minimal Example
Full Example
Last updated