0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 21:14:05 +00:00
terraform-provider-proxmox/fwprovider/vm/resource_model.go
Pavel Boldyrev 961404dd0b
chore(vm2): experiment with sets, add tags support (#1232)
* chore(vm2): experiment with sets, add `tags` support

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-21 00:15:42 +00:00

18 lines
523 B
Go

package vm
import (
"github.com/hashicorp/terraform-plugin-framework-timeouts/resource/timeouts"
"github.com/hashicorp/terraform-plugin-framework/types"
"github.com/bpg/terraform-provider-proxmox/fwprovider/types/tags"
)
type vmModel struct {
Description types.String `tfsdk:"description"`
ID types.Int64 `tfsdk:"id"`
Name types.String `tfsdk:"name"`
NodeName types.String `tfsdk:"node_name"`
Tags tags.Value `tfsdk:"tags"`
Timeouts timeouts.Value `tfsdk:"timeouts"`
}