gitpod.v1.RunnerConfigurationService
CreateEnvironmentClass
Creates a new environment class for a runner.
Use this method to:
- Define compute resources
- Configure environment settings
- Set up runtime options
Examples
-
Create environment class:
Creates a new environment configuration.
runnerId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" displayName: "Large Instance" description: "8 CPU, 16GB RAM" configuration: - key: "cpu" value: "8" - key: "memory" value: "16384"
post/gitpod.v1.RunnerConfigurationService/CreateEnvironmentClass
Request body
Response
Success
Changes
Changed in 2 of the 18 revisions of this API.11
- ○
added the new optional request property
configuration/items/valuesnew-optional-request-property
This revision also has 24 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the optional property
detailfrom the response with thedefaultstatusresponse-optional-property-removed
- ●