google_apphub_discovered_workload

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 {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// WorkloadUri: string, required
	WorkloadUri terra.StringValue `hcl:"workload_uri,attr" validate:"required"`
}

DataArgs contains the configurations for google_apphub_discovered_workload.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_apphub_discovered_workload.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gadw *DataSource) Attributes() dataGoogleApphubDiscoveredWorkloadAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gadw *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gadw *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataWorkloadPropertiesAttributes

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

func (DataWorkloadPropertiesAttributes) GcpProject

func (DataWorkloadPropertiesAttributes) InternalRef

func (DataWorkloadPropertiesAttributes) InternalTokens

func (wp DataWorkloadPropertiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataWorkloadPropertiesAttributes) InternalWithRef

func (DataWorkloadPropertiesAttributes) Location

func (DataWorkloadPropertiesAttributes) Zone

type DataWorkloadPropertiesState

type DataWorkloadPropertiesState struct {
	GcpProject string `json:"gcp_project"`
	Location   string `json:"location"`
	Zone       string `json:"zone"`
}

type DataWorkloadReferenceAttributes

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

func (DataWorkloadReferenceAttributes) InternalRef

func (DataWorkloadReferenceAttributes) InternalTokens

func (wr DataWorkloadReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataWorkloadReferenceAttributes) InternalWithRef

func (DataWorkloadReferenceAttributes) Uri

type DataWorkloadReferenceState

type DataWorkloadReferenceState struct {
	Uri string `json:"uri"`
}

Jump to

Keyboard shortcuts

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