Documentation ¶
Overview ¶
Package vm provides a Terraform resource.
Package vm provides a Terraform resource.
Package vm provides a Terraform datasource.
Package vm provides a Terraform resource.
Package vm provides a Terraform datasource.
Package vm provides a Terraform resource.
Package vm provides a Terraform datasource.
Package vm provides a Terraform resource.
Index ¶
- func DiskSuperSchema() superschema.Schema
- func NewDiskResource() resource.Resource
- func NewDisksDataSource() datasource.DataSource
- func NewInsertedMediaResource() resource.Resource
- func NewSecurityTagResource() resource.Resource
- func NewVMAffinityRuleDatasource() datasource.DataSource
- func NewVMAffinityRuleResource() resource.Resource
- func NewVMDataSource() datasource.DataSource
- func NewVMResource() resource.Resource
- type DisksModel
- type DisksModelDisk
- type DisksModelDisks
- type VMDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiskSuperSchema ¶ added in v0.3.0
func DiskSuperSchema() superschema.Schema
DiskSuperSchema returns the super schema.
func NewDiskResource ¶
NewDiskResource is a helper function to simplify the provider implementation.
func NewDisksDataSource ¶ added in v0.10.0
func NewDisksDataSource() datasource.DataSource
func NewInsertedMediaResource ¶ added in v0.9.0
NewInsertedMediaResource is a helper function to simplify the provider implementation.
func NewSecurityTagResource ¶ added in v0.4.0
NewSecurityTagResource is a helper function to simplify the provider implementation.
func NewVMAffinityRuleDatasource ¶ added in v0.5.0
func NewVMAffinityRuleDatasource() datasource.DataSource
func NewVMAffinityRuleResource ¶
NewVMAffinityRuleResource is a helper function to simplify the provider implementation.
func NewVMDataSource ¶ added in v0.5.0
func NewVMDataSource() datasource.DataSource
func NewVMResource ¶
NewVmResource is a helper function to simplify the provider implementation.
Types ¶
type DisksModel ¶ added in v0.10.0
type DisksModel struct { Disks supertypes.ListNestedValue `tfsdk:"disks"` VDC supertypes.StringValue `tfsdk:"vdc"` ID supertypes.StringValue `tfsdk:"id"` VAppID supertypes.StringValue `tfsdk:"vapp_id"` VAppName supertypes.StringValue `tfsdk:"vapp_name"` VMID supertypes.StringValue `tfsdk:"vm_id"` VMName supertypes.StringValue `tfsdk:"vm_name"` }
func (*DisksModel) Copy ¶ added in v0.10.0
func (rm *DisksModel) Copy() *DisksModel
func (*DisksModel) GetDisks ¶ added in v0.10.0
func (rm *DisksModel) GetDisks(ctx context.Context) (values DisksModelDisks, diags diag.Diagnostics)
GetDisks returns the value of the Disks field.
type DisksModelDisk ¶ added in v0.10.0
type DisksModelDisk struct { ID supertypes.StringValue `tfsdk:"id"` IsDetachable supertypes.BoolValue `tfsdk:"is_detachable"` Name supertypes.StringValue `tfsdk:"name"` SizeInMb supertypes.Int64Value `tfsdk:"size_in_mb"` StorageProfile supertypes.StringValue `tfsdk:"storage_profile"` }
* Disks.
type VMDataSourceModel ¶ added in v0.5.0
type VMDataSourceModel struct { ID types.String `tfsdk:"id"` VDC types.String `tfsdk:"vdc"` Name types.String `tfsdk:"name"` VappName types.String `tfsdk:"vapp_name"` VappID types.String `tfsdk:"vapp_id"` Description types.String `tfsdk:"description"` State types.Object `tfsdk:"state"` Resource types.Object `tfsdk:"resource"` Settings types.Object `tfsdk:"settings"` }
Source Files ¶
- base.go
- inserted_media_resource.go
- inserted_media_schema.go
- inserted_media_types.go
- security_tag_resource.go
- security_tag_schema.go
- vm_affinity_rule_datasource.go
- vm_affinity_rule_resource.go
- vm_affinity_rule_schema.go
- vm_affinity_rule_types.go
- vm_datasource.go
- vm_disk_resource.go
- vm_disk_schema.go
- vm_disks_datasource.go
- vm_disks_schema.go
- vm_disks_types.go
- vm_resource.go
- vm_schema.go
- vm_types.go