Capability names
This page lists the capability names the server advertises in GetServerInfo, grouped by object, and the rules they follow. Before using what a name covers, check that the name is in the list. See Querying capabilities first.
Naming rules
Names follow these rules, and names added later follow them too:
- A resource operation is written
<resource>.<verb>, with the verb taken from the method name:CreateWorkspaceisworkspace.create, andResizeVolumeisvolume.resize. - Changing one part of a resource is written
<resource>.<part>.<verb>:UpdateWorkspaceCpuisworkspace.cpu.update, andResizeWorkspaceWritableLayerisworkspace.writable_layer.resize. - An option or field added later to an existing operation is written
<operation or resource>.<option>:workspace.stop.force,volume.storage_pool. - Each service on the node data plane has one name, written
workspace.<service>. - Multiple words are joined with underscores, matching field names.
Reading the tables
- Each section below covers one object. Names within a section are sorted, so an operation is followed by its options.
- Since is the first version that advertises the name.
- Most names are advertised by every deployment. A name that depends on deployment configuration says so in its section.
Template
| Name | Covers | Since |
|---|---|---|
template.get | GetTemplate, GetTemplateRevision | v0.1.0 |
template.list | ListTemplates | v0.1.0 |
Workspace lifecycle
| Name | Covers | Since |
|---|---|---|
workspace.command.get | GetWorkspaceCommand | v0.1.0 |
workspace.create | CreateWorkspace | v0.1.0 |
workspace.delete | DeleteWorkspace | v0.1.0 |
workspace.get | GetWorkspace, GetWorkspaceCleanup | v0.1.0 |
workspace.list | ListWorkspaces | v0.1.0 |
workspace.start | StartWorkspace | v0.1.0 |
workspace.stop | StopWorkspace | v0.1.0 |
workspace.stop.force | mode set to STOP_MODE_FORCE in StopWorkspace. See Force stop | v0.1.0 |
workspace.stop.guest_shutdown | After the guest shuts down, the Workspace enters STOPPED with last_stop.cause set to STOP_CAUSE_GUEST_SHUTDOWN. See Shutdown from inside the guest | v0.3.0 |
Workspace configuration
| Name | Covers | Since |
|---|---|---|
workspace.cpu.update | UpdateWorkspaceCpu | v0.1.0 |
workspace.expiration.update | UpdateWorkspaceExpiration | v0.1.0 |
workspace.memory.update | UpdateWorkspaceMemory | v0.1.0 |
workspace.volume_binding.update | UpdateWorkspaceVolumeBinding | v0.1.0 |
workspace.writable_layer.resize | ResizeWorkspaceWritableLayer | v0.1.0 |
Workspace fields and observation
workspace.metrics.get is advertised only when the deployment has connected an instance metrics store for reads. See Resource metrics.
| Name | Covers | Since |
|---|---|---|
workspace.annotations | annotations and UpdateWorkspaceAnnotations | v0.1.0 |
workspace.guest_observation | guest_observation on the Workspace. See Responsiveness of the guest | v0.1.0 |
workspace.labels | labels and UpdateWorkspaceLabels | v0.1.0 |
workspace.metrics.get | WorkspaceMetricsService/GetWorkspaceMetrics | v0.3.0 |
workspace.session.execution | EXECUTION lifetime in CreateDataPlaneSession. See Data plane | v0.1.0 |
Network policy
| Name | Covers | Since |
|---|---|---|
workspace.network_policy.destination_rules | allow and deny in the network policy | v0.2.0 |
workspace.network_policy.egress.socks5 | EgressService and egresses in the network policy. See Egress | v0.3.0 |
workspace.network_policy.resolver | ResolverService and resolvers in the network policy. See Resolver | v0.3.0 |
workspace.network_policy.update | UpdateWorkspaceNetworkPolicy | v0.1.0 |
workspace.network_policy.update.expected_revision | The expected revision of UpdateWorkspaceNetworkPolicy | v0.2.0 |
Data plane
| Name | Covers | Since |
|---|---|---|
workspace.desktop | DesktopService | v0.1.0 |
workspace.filesystem | FilesystemService and /v1/files | v0.1.0 |
workspace.filesystem.watch_dir | FilesystemService/WatchDir | v0.2.0 |
workspace.process | ProcessService | v0.1.0 |
workspace.process.resume | resume_from in ProcessService/Attach and input_offset in SendInput. See Resuming process streams | v0.2.0 |
workspace.service_connection | ServiceConnectionService and /v1/service | v0.1.0 |
Volume
| Name | Covers | Since |
|---|---|---|
volume.annotations | annotations and UpdateVolumeAnnotations | v0.1.0 |
volume.command.get | GetVolumeCommand | v0.1.0 |
volume.create | CreateVolume | v0.1.0 |
volume.delete | DeleteVolume | v0.1.0 |
volume.get | GetVolume | v0.1.0 |
volume.labels | labels and UpdateVolumeLabels | v0.1.0 |
volume.list | ListVolumes | v0.1.0 |
volume.lost | Volume state LOST and failure reason VOLUME_LOST, which appear after an Operator declares a storage pool lost. See Declaring a pool lost | v0.3.0 |
volume.resize | ResizeVolume | v0.1.0 |
volume.storage_pool | storage_pool in CreateVolume | v0.1.0 |
Transfer
| Name | Covers | Since |
|---|---|---|
transfer.delete | DeleteTransfer | v0.1.0 |
transfer.export | ExportWorkspace | v0.1.0 |
transfer.get | GetTransfer | v0.1.0 |
transfer.import | ImportTransfer | v0.1.0 |
transfer.import.storage_pool | storage_pool in ImportTransfer | v0.1.0 |
transfer.restore | RestoreWorkspace | v0.1.0 |
Exposure
These names are advertised only when the deployment has configured an Exposure domain. See Install the Exposure gateway.
| Name | Covers | Since |
|---|---|---|
exposure.create | CreateExposure | v0.1.0 |
exposure.get | GetExposure | v0.1.0 |
exposure.list | ListExposures | v0.1.0 |
exposure.revoke | RevokeExposure | v0.1.0 |
Interfaces without a name
GetServerInfo, CreateDataPlaneSession, RevokeWorkspaceDataPlane, and the Operator interfaces have no capability names. They are always available from v0.1.0 on.