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 Feb 28, 2024
1 parent 6e57c41 commit a987842
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
Certificate:
description: Certificate represents a LXD certificate
properties:
Expand Down

0 comments on commit a987842

Please sign in to comment.