servertype

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DataSourceType is the type name of the Hetzner Cloud Server Type
	// data source.
	DataSourceType = "hcloud_server_type"

	// ServerTypesDataSourceType is the type name of the Hetzner Cloud Server Types
	// data source.
	DataSourceListType = "hcloud_server_types"
)

Variables

This section is empty.

Functions

func DataSource added in v1.24.1

func DataSource() *schema.Resource

DataSourcecreates a new Terraform schema for the hcloud_server_type data source.

func ServerTypesDataSource added in v1.24.1

func ServerTypesDataSource() *schema.Resource

ServerTypesDataSource creates a new Terraform schema for the hcloud_server_types data source.

Types

type DData

type DData struct {
	testtemplate.DataCommon

	ServerTypeID   string
	ServerTypeName string
}

DData defines the fields for the "testdata/d/hcloud_server_type" template.

func (*DData) TFID

func (d *DData) TFID() string

TFID returns the data source identifier.

type DDataList added in v1.31.0

type DDataList struct {
	testtemplate.DataCommon
}

ServerTypesDData defines the fields for the "testdata/d/hcloud_server_types" template.

func (*DDataList) TFID added in v1.31.0

func (d *DDataList) TFID() string

TFID returns the data source identifier.

Jump to

Keyboard shortcuts

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