0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-06 14:03:58 +00:00
terraform-provider-proxmox/proxmox/cluster/sdn/subnets/api.go
MacherelR 58ff2ff240 feat(sdn)!: add SDN support for zones, vnets, subnets with validation and tests
BREAKING CHANGE: introduces sdn support.

Signed-off-by: MacherelR <64424331+MacherelR@users.noreply.github.com>
2025-06-24 08:31:40 +02:00

14 lines
441 B
Go

package subnets
import (
"context"
)
type API interface {
GetSubnets(ctx context.Context, vnetID string) ([]SubnetData, error)
GetSubnet(ctx context.Context, vnetID string, id string) (*SubnetData, error)
CreateSubnet(ctx context.Context, vnetID string, data *SubnetRequestData) error
UpdateSubnet(ctx context.Context, vnetID string, data *SubnetRequestData) error
DeleteSubnet(ctx context.Context, vnetID string, id string) error
}