mirror of
https://github.com/vatesfr/xen-orchestra.git
synced 2026-09-10 22:14:48 -05:00
feat(@xen-orchestra/rest-api): expose delete network
This commit is contained in:
committed by
Florent BEAUCHAMP
parent
94db22f7b0
commit
815dad114c
@@ -64,7 +64,7 @@ import type {
|
||||
VTPM_OPERATIONS,
|
||||
VUSB_OPERATIONS,
|
||||
} from './common.mjs'
|
||||
import type { XoPif } from './xo.mjs'
|
||||
import type { XoNetwork, XoPif } from './xo.mjs'
|
||||
|
||||
// types automatically generated by the @ByScripts script.
|
||||
// https://github.com/vatesfr/xen-orchestra/tree/wip-xapi-types-generator/%40xen-orchestra/xapi-generator
|
||||
@@ -105,6 +105,7 @@ type WrapperXenApi<T, Type extends string, Fn = { (): void }> = T & {
|
||||
vlan: number
|
||||
}
|
||||
): Promise<XenApiNetworkWrapped>
|
||||
deleteNetwork(id: XoNetwork['id']): Promise<void>
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user