google_compute_addresses

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataAddressesAttributes

type DataAddressesAttributes struct {
	// contains filtered or unexported fields
}

func (DataAddressesAttributes) Address

func (DataAddressesAttributes) AddressType

func (a DataAddressesAttributes) AddressType() terra.StringValue

func (DataAddressesAttributes) Description

func (a DataAddressesAttributes) Description() terra.StringValue

func (DataAddressesAttributes) InternalRef

func (a DataAddressesAttributes) InternalRef() (terra.Reference, error)

func (DataAddressesAttributes) InternalTokens

func (a DataAddressesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataAddressesAttributes) InternalWithRef

func (DataAddressesAttributes) Labels

func (DataAddressesAttributes) Name

func (DataAddressesAttributes) Region

func (DataAddressesAttributes) Status

type DataAddressesState

type DataAddressesState struct {
	Address     string            `json:"address"`
	AddressType string            `json:"address_type"`
	Description string            `json:"description"`
	Labels      map[string]string `json:"labels"`
	Name        string            `json:"name"`
	Region      string            `json:"region"`
	SelfLink    string            `json:"self_link"`
	Status      string            `json:"status"`
}

type DataArgs

type DataArgs struct {
	// Filter: string, optional
	Filter terra.StringValue `hcl:"filter,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
}

DataArgs contains the configurations for google_compute_addresses.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_compute_addresses.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gca *DataSource) Attributes() dataGoogleComputeAddressesAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (gca *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gca *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gca *DataSource) LocalName() string

LocalName returns the local name for DataSource.

Jump to

Keyboard shortcuts

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