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/client.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

18 lines
381 B
Go

package subnets
import (
"fmt"
"github.com/bpg/terraform-provider-proxmox/proxmox/api"
)
// Client is a client for accessing the Proxmox SDN VNETs API.
type Client struct {
api.Client
}
// ExpandPath returns the API path for SDN VNETS.
func (c *Client) ExpandPath(vnet_id string, path string) string {
return fmt.Sprintf("cluster/sdn/vnets/%s/subnets/%s", vnet_id, path)
}