Skip to content

Commit

Permalink
[WAYP-2855] no-code: Add agent pool ID param.
Browse files Browse the repository at this point in the history
  • Loading branch information
paladin-devops committed Jul 29, 2024
1 parent 46a166b commit 1e22652
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions registry_no_code_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ type RegistryNoCodeModuleCreateWorkspaceOptions struct {

// ExecutionMode is the execution mode of the workspace.
ExecutionMode *string `jsonapi:"attr,execution-mode,omitempty"`

// AgentPoolId is the ID of the agent pool to use for the workspace.
// This is required when execution mode is set to "agent".
// This must not be specified when execution mode is set to "remote".
AgentPoolID *string `jsonapi:"attr,agent-pool-id,omitempty"`
}

type RegistryNoCodeModuleUpgradeWorkspaceOptions struct {
Expand Down

0 comments on commit 1e22652

Please sign in to comment.