Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud Datacenter datasource. DataSourceType = "hcloud_datacenter" // DataSourceListType is the type name of the Hetzner Cloud Datacenters datasource. DataSourceListType = "hcloud_datacenters" )
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶ added in v1.24.1
DataSource creates a new Terraform schema for the Hetzner Cloud Datacenter data source.
func DataSourceList ¶ added in v1.31.0
DataSourceList creates a new Terraform schema for the Hetzner Cloud Datacenters data source.
Types ¶
type DData ¶
type DData struct { testtemplate.DataCommon DatacenterID string DatacenterName string }
DData defines the fields for the "testdata/d/hcloud_datacenter" template.
type DDataList ¶ added in v1.31.0
type DDataList struct {
testtemplate.DataCommon
}
DDataList defines the fields for the "testdata/d/hcloud_datacenters" template.
Click to show internal directories.
Click to hide internal directories.