Skip to content

Commit

Permalink
doc: update rest API
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Mougard <[email protected]>
  • Loading branch information
gabrielmougard committed Apr 11, 2024
1 parent a4e047c commit 1db74aa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions doc/rest-api.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
definitions:
AgentDeviceRemove:
properties:
config:
additionalProperties:
type: string
description: Device configuration map
type: object
x-go-name: Config
name:
description: Device name
type: string
x-go-name: Name
type:
description: Type of device ('disk', 'nic', etc.)
type: string
x-go-name: Type
volatile:
additionalProperties:
type: string
description: Optional device volatile configuration keys
type: object
x-go-name: Volatile
title: AgentDeviceRemove represents the fields of an device removal request that needs to occur inside the VM agent.
type: object
x-go-package: github.com/canonical/lxd/shared/api
AuthGroup:
properties:
description:
Expand Down

0 comments on commit 1db74aa

Please sign in to comment.