mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-06 14:03:58 +00:00
BREAKING CHANGE: introduces sdn support. Signed-off-by: MacherelR <64424331+MacherelR@users.noreply.github.com>
14 lines
344 B
Go
14 lines
344 B
Go
package zones
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type API interface {
|
|
GetZones(ctx context.Context) ([]ZoneData, error)
|
|
GetZone(ctx context.Context, id string) (*ZoneData, error)
|
|
CreateZone(ctx context.Context, req *ZoneRequestData) error
|
|
UpdateZone(ctx context.Context, req *ZoneRequestData) error
|
|
DeleteZone(ctx context.Context, id string) error
|
|
}
|