vm

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 48 Imported by: 0

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

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

func NewDiskResource() resource.Resource

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

func NewInsertedMediaResource() resource.Resource

NewInsertedMediaResource is a helper function to simplify the provider implementation.

func NewSecurityTagResource added in v0.4.0

func NewSecurityTagResource() resource.Resource

NewSecurityTagResource is a helper function to simplify the provider implementation.

func NewVMAffinityRuleDatasource added in v0.5.0

func NewVMAffinityRuleDatasource() datasource.DataSource

func NewVMAffinityRuleResource

func NewVMAffinityRuleResource() resource.Resource

NewVMAffinityRuleResource is a helper function to simplify the provider implementation.

func NewVMDataSource added in v0.5.0

func NewVMDataSource() datasource.DataSource

func NewVMResource

func NewVMResource() resource.Resource

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 DisksModelDisks added in v0.10.0

type DisksModelDisks []DisksModelDisk

* 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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL