google_beyondcorp_app_connection

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationEndpoint

type ApplicationEndpoint struct {
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
}

type ApplicationEndpointAttributes

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

func (ApplicationEndpointAttributes) Host

func (ApplicationEndpointAttributes) InternalRef

func (ae ApplicationEndpointAttributes) InternalRef() (terra.Reference, error)

func (ApplicationEndpointAttributes) InternalTokens

func (ae ApplicationEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ApplicationEndpointAttributes) InternalWithRef

func (ApplicationEndpointAttributes) Port

type ApplicationEndpointState

type ApplicationEndpointState struct {
	Host string  `json:"host"`
	Port float64 `json:"port"`
}

type Args

type Args struct {
	// Connectors: list of string, optional
	Connectors terra.ListValue[terra.StringValue] `hcl:"connectors,attr"`
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Labels: map of string, optional
	Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// ApplicationEndpoint: required
	ApplicationEndpoint *ApplicationEndpoint `hcl:"application_endpoint,block" validate:"required"`
	// Gateway: optional
	Gateway *Gateway `hcl:"gateway,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_beyondcorp_app_connection.

type DataApplicationEndpointAttributes

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

func (DataApplicationEndpointAttributes) Host

func (DataApplicationEndpointAttributes) InternalRef

func (DataApplicationEndpointAttributes) InternalTokens

func (ae DataApplicationEndpointAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataApplicationEndpointAttributes) InternalWithRef

func (DataApplicationEndpointAttributes) Port

type DataApplicationEndpointState

type DataApplicationEndpointState struct {
	Host string  `json:"host"`
	Port float64 `json:"port"`
}

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, optional
	Project terra.StringValue `hcl:"project,attr"`
	// Region: string, optional
	Region terra.StringValue `hcl:"region,attr"`
}

DataArgs contains the configurations for google_beyondcorp_app_connection.

type DataGatewayAttributes

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

func (DataGatewayAttributes) AppGateway

func (g DataGatewayAttributes) AppGateway() terra.StringValue

func (DataGatewayAttributes) IngressPort

func (g DataGatewayAttributes) IngressPort() terra.NumberValue

func (DataGatewayAttributes) InternalRef

func (g DataGatewayAttributes) InternalRef() (terra.Reference, error)

func (DataGatewayAttributes) InternalTokens

func (g DataGatewayAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataGatewayAttributes) InternalWithRef

func (DataGatewayAttributes) Type

func (DataGatewayAttributes) Uri

type DataGatewayState

type DataGatewayState struct {
	AppGateway  string  `json:"app_gateway"`
	IngressPort float64 `json:"ingress_port"`
	Type        string  `json:"type"`
	Uri         string  `json:"uri"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource google_beyondcorp_app_connection.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (gbac *DataSource) Attributes() dataGoogleBeyondcorpAppConnectionAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (gbac *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (gbac *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type Gateway

type Gateway struct {
	// AppGateway: string, required
	AppGateway terra.StringValue `hcl:"app_gateway,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type GatewayAttributes

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

func (GatewayAttributes) AppGateway

func (g GatewayAttributes) AppGateway() terra.StringValue

func (GatewayAttributes) IngressPort

func (g GatewayAttributes) IngressPort() terra.NumberValue

func (GatewayAttributes) InternalRef

func (g GatewayAttributes) InternalRef() (terra.Reference, error)

func (GatewayAttributes) InternalTokens

func (g GatewayAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GatewayAttributes) InternalWithRef

func (g GatewayAttributes) InternalWithRef(ref terra.Reference) GatewayAttributes

func (GatewayAttributes) Type

func (GatewayAttributes) Uri

type GatewayState

type GatewayState struct {
	AppGateway  string  `json:"app_gateway"`
	IngressPort float64 `json:"ingress_port"`
	Type        string  `json:"type"`
	Uri         string  `json:"uri"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource google_beyondcorp_app_connection.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gbac *Resource) Attributes() googleBeyondcorpAppConnectionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (gbac *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (gbac *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (gbac *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (gbac *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (gbac *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gbac *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gbac *Resource) State() (*googleBeyondcorpAppConnectionState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (gbac *Resource) StateMust() *googleBeyondcorpAppConnectionState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (gbac *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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