mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: enable setting max port share level during template creation (#14366)
This commit is contained in:
@@ -184,6 +184,10 @@ type CreateTemplateRequest struct {
|
||||
// RequireActiveVersion mandates that workspaces are built with the active
|
||||
// template version.
|
||||
RequireActiveVersion bool `json:"require_active_version"`
|
||||
|
||||
// MaxPortShareLevel allows optionally specifying the maximum port share level
|
||||
// for workspaces created from the template.
|
||||
MaxPortShareLevel *WorkspaceAgentPortShareLevel `json:"max_port_share_level"`
|
||||
}
|
||||
|
||||
// CreateWorkspaceRequest provides options for creating a new workspace.
|
||||
|
||||
Reference in New Issue
Block a user