0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-26 21:35:39 +00:00
terraform-provider-proxmox/proxmox/cluster/sdn/zones/api.go
Pavel Boldyrev 12cc3298e9
cleanup
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-07-30 21:15:15 -04:00

20 lines
555 B
Go

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
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
}