Documentation ¶
Index ¶
Constants ¶
const AssignmentResourceType = "hcloud_floating_ip_assignment"
AssignmentResourceType is the type name of the Hetzner Cloud FloatingIP resource.
const DataSourceType = "hcloud_floating_ip"
DataSourceType is the type name of the Hetzner Cloud Floating IP 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.
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 RData ¶
type RData struct { testtemplate.DataCommon Name string Type string HomeLocationName string ServerID string Labels map[string]string }
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.