datacenter

package
v1.24.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DataSourceType is the type name of the Hetzner Cloud Datacenter
	// datasource.
	DataSourceType = "hcloud_datacenter"

	// DatacentersDataSourceType is the type name of the Hetzner Cloud
	// Datacenters datasource.
	DatacentersDataSourceType = "hcloud_datacenters"
)

Variables

This section is empty.

Functions

func DataSource added in v1.24.1

func DataSource() *schema.Resource

DataSource creates a new Terraform schema for the Hetzner Cloud Datacenter data source.

func DatacentersDataSource added in v1.24.1

func DatacentersDataSource() *schema.Resource

DatacentersDataSource 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.

func (*DData) TFID

func (d *DData) TFID() string

TFID returns the data source identifier.

type DatacentersDData

type DatacentersDData struct {
	testtemplate.DataCommon
}

DatacentersDData defines the fields for the "testdata/d/hcloud_datacenters" template.

func (*DatacentersDData) TFID

func (d *DatacentersDData) TFID() string

TFID returns the data source identifier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL