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