0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-09 15:25:01 +00:00
terraform-provider-proxmox/fwprovider/vm/vga/resource_model.go
Pavel Boldyrev d843e46b37
misc(vm2): add support for vga (#1328)
* misc(vm2): add support for `vga`
* fix: use random VM IDs in parallel acc tests

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-05-27 21:30:12 -04:00

22 lines
498 B
Go

package vga
import (
"github.com/hashicorp/terraform-plugin-framework/attr"
"github.com/hashicorp/terraform-plugin-framework/types"
)
// Model represents the VGA model.
type Model struct {
Clipboard types.String `tfsdk:"clipboard"`
Type types.String `tfsdk:"type"`
Memory types.Int64 `tfsdk:"memory"`
}
func attributeTypes() map[string]attr.Type {
return map[string]attr.Type{
"clipboard": types.StringType,
"type": types.StringType,
"memory": types.Int64Type,
}
}