google_projects

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 DataArgs

type DataArgs struct {
	// Filter: string, required
	Filter terra.StringValue `hcl:"filter,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
}

DataArgs contains the configurations for google_projects.

type DataProjectsAttributes

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

func (DataProjectsAttributes) CreateTime

func (p DataProjectsAttributes) CreateTime() terra.StringValue

func (DataProjectsAttributes) InternalRef

func (p DataProjectsAttributes) InternalRef() (terra.Reference, error)

func (DataProjectsAttributes) InternalTokens

func (p DataProjectsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataProjectsAttributes) InternalWithRef

func (DataProjectsAttributes) Labels

func (DataProjectsAttributes) LifecycleState

func (p DataProjectsAttributes) LifecycleState() terra.StringValue

func (DataProjectsAttributes) Name

func (DataProjectsAttributes) Number

func (DataProjectsAttributes) Parent

func (DataProjectsAttributes) ProjectId

type DataProjectsState

type DataProjectsState struct {
	CreateTime     string            `json:"create_time"`
	Labels         map[string]string `json:"labels"`
	LifecycleState string            `json:"lifecycle_state"`
	Name           string            `json:"name"`
	Number         string            `json:"number"`
	Parent         map[string]string `json:"parent"`
	ProjectId      string            `json:"project_id"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_projects.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gp *DataSource) Attributes() dataGoogleProjectsAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gp *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gp *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