Documentation
¶
Index ¶
Constants ¶
const ( // DataSourceType is the type name of the Hetzner Cloud Floating IP resource. DataSourceType = "hcloud_floating_ip" // DataSourceListType is the type name to receive a list of Hetzner Cloud Floating IPs resources. DataSourceListType = "hcloud_floating_ips" )
const AssignmentResourceType = "hcloud_floating_ip_assignment"
AssignmentResourceType is the type name of the Hetzner Cloud FloatingIP resource.
const ResourceType = "hcloud_floating_ip"
ResourceType is the type name of the Hetzner Cloud FloatingIP resource.
Variables ¶
This section is empty.
Functions ¶
func AssignmentResource ¶ added in v1.24.1
AssignmentResource creates a new Terraform schema for the hcloud_floating_ip_assignment resource.
func DataSource ¶ added in v1.24.1
DataSource creates a new Terraform schema for the hcloud_floating_ip data source.
func DataSourceList ¶ added in v1.31.0
Types ¶
type DData ¶
type DData struct {
testtemplate.DataCommon
FloatingIPID string
FloatingIPName string
LabelSelector string
}
DData defines the fields for the "testdata/d/hcloud_floating_ip" template.
type DDataList ¶ added in v1.31.0
type DDataList struct {
testtemplate.DataCommon
LabelSelector string
}
DDataList defines the fields for the "testdata/d/hcloud_floating_ips" template.
type RData ¶
type RData struct {
testtemplate.DataCommon
Name string
Type string
HomeLocationName string
ServerID string
Labels map[string]string
DeleteProtection bool
}
RData defines the fields for the "testdata/r/hcloud_floating_ip" template.
type RDataAssignment ¶
type RDataAssignment struct {
testtemplate.DataCommon
FloatingIPID string
ServerID string
}
RDataAssignment defines the fields for the "testdata/r/hcloud_floating_ip_assignment" template.
func (*RDataAssignment) TFID ¶
func (d *RDataAssignment) TFID() string
TFID returns the resource identifier.