mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 18:42:58 +00:00
24 lines
603 B
Go
24 lines
603 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 cloudinit
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform-plugin-framework/types"
|
|
)
|
|
|
|
// Model represents the cloud-init model.
|
|
type Model struct {
|
|
DatastoreID types.String `tfsdk:"datastore_id"`
|
|
Interface types.String `tfsdk:"interface"`
|
|
DNS *ModelDNS `tfsdk:"dns"`
|
|
}
|
|
|
|
type ModelDNS struct {
|
|
Domain types.String `tfsdk:"domain"`
|
|
Servers types.List `tfsdk:"servers"`
|
|
}
|