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
DataSourcecreates a new Terraform schema for the hcloud_server_type data source.
func ServerTypesDataSource ¶ added in v1.24.1
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.
type DDataList ¶ added in v1.31.0
type DDataList struct {
testtemplate.DataCommon
}
ServerTypesDData defines the fields for the "testdata/d/hcloud_server_types" template.
Click to show internal directories.
Click to hide internal directories.