You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
646 B
22 lines
646 B
package models
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform-plugin-framework-timeouts/datasource/timeouts"
|
|
"github.com/hashicorp/terraform-plugin-framework/types"
|
|
)
|
|
|
|
type DataSourceDiskSnapshotModel struct {
|
|
// request fields
|
|
DiskID types.Int64 `tfsdk:"disk_id"`
|
|
Label types.String `tfsdk:"label"`
|
|
Timeouts timeouts.Value `tfsdk:"timeouts"`
|
|
|
|
// response fields
|
|
Id types.String `tfsdk:"id"`
|
|
GUID types.String `tfsdk:"guid"`
|
|
ResID types.String `tfsdk:"res_id"`
|
|
SnapSetGUID types.String `tfsdk:"snap_set_guid"`
|
|
SnapSetTime types.Int64 `tfsdk:"snap_set_time"`
|
|
TimeStamp types.Int64 `tfsdk:"timestamp"`
|
|
}
|