server

package
v0.34.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServerDataSource

func NewServerDataSource() datasource.DataSource

NewServerDataSource is a helper function to simplify the provider implementation.

func NewServerResource

func NewServerResource() resource.Resource

NewServerResource is a helper function to simplify the provider implementation.

Types

type Model

type Model struct {
	Id               types.String `tfsdk:"id"` // needed by TF
	ProjectId        types.String `tfsdk:"project_id"`
	ServerId         types.String `tfsdk:"server_id"`
	MachineType      types.String `tfsdk:"machine_type"`
	Name             types.String `tfsdk:"name"`
	AvailabilityZone types.String `tfsdk:"availability_zone"`
	BootVolume       types.Object `tfsdk:"boot_volume"`
	ImageId          types.String `tfsdk:"image_id"`
	KeypairName      types.String `tfsdk:"keypair_name"`
	Labels           types.Map    `tfsdk:"labels"`
	AffinityGroup    types.String `tfsdk:"affinity_group"`
	UserData         types.String `tfsdk:"user_data"`
	CreatedAt        types.String `tfsdk:"created_at"`
	LaunchedAt       types.String `tfsdk:"launched_at"`
	UpdatedAt        types.String `tfsdk:"updated_at"`
}

Jump to

Keyboard shortcuts

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