Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DataSourceType is the type name of the Hetzner Cloud Placement Group resource. DataSourceType = "hcloud_placement_group" // DataSourceListType is the type name to receive a list of Hetzner Cloud Placement Group resources. DataSourceListType = "hcloud_placement_groups" )
View Source
const ResourceType = "hcloud_placement_group"
Variables ¶
This section is empty.
Functions ¶
func DataSource ¶
func DataSourceList ¶ added in v1.31.0
Types ¶
type DData ¶
type DData struct { testtemplate.DataCommon PlacementGroupID string PlacementGroupName string LabelSelector string }
DData defines the fields for the "testdata/d/hcloud_placement_group" template.
type DDataList ¶ added in v1.31.0
type DDataList struct { testtemplate.DataCommon LabelSelector string }
DData defines the fields for the "testdata/d/hcloud_placement_groups" template.
type RData ¶
type RData struct { testtemplate.DataCommon Name string Labels map[string]string Type string }
RData defines the fields for the "testdata/r/hcloud_placement_group" template.
Click to show internal directories.
Click to hide internal directories.