google_compute_region_health_check

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 Args

type Args struct {
	// CheckIntervalSec: number, optional
	CheckIntervalSec terra.NumberValue `hcl:"check_interval_sec,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// HealthyThreshold: number, optional
	HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr"`
	// 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"`
	// TimeoutSec: number, optional
	TimeoutSec terra.NumberValue `hcl:"timeout_sec,attr"`
	// UnhealthyThreshold: number, optional
	UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr"`
	// GrpcHealthCheck: optional
	GrpcHealthCheck *GrpcHealthCheck `hcl:"grpc_health_check,block"`
	// Http2HealthCheck: optional
	Http2HealthCheck *Http2HealthCheck `hcl:"http2_health_check,block"`
	// HttpHealthCheck: optional
	HttpHealthCheck *HttpHealthCheck `hcl:"http_health_check,block"`
	// HttpsHealthCheck: optional
	HttpsHealthCheck *HttpsHealthCheck `hcl:"https_health_check,block"`
	// LogConfig: optional
	LogConfig *LogConfig `hcl:"log_config,block"`
	// SslHealthCheck: optional
	SslHealthCheck *SslHealthCheck `hcl:"ssl_health_check,block"`
	// TcpHealthCheck: optional
	TcpHealthCheck *TcpHealthCheck `hcl:"tcp_health_check,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_compute_region_health_check.

type GrpcHealthCheck

type GrpcHealthCheck struct {
	// GrpcServiceName: string, optional
	GrpcServiceName terra.StringValue `hcl:"grpc_service_name,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PortName: string, optional
	PortName terra.StringValue `hcl:"port_name,attr"`
	// PortSpecification: string, optional
	PortSpecification terra.StringValue `hcl:"port_specification,attr"`
}

type GrpcHealthCheckAttributes

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

func (GrpcHealthCheckAttributes) GrpcServiceName

func (ghc GrpcHealthCheckAttributes) GrpcServiceName() terra.StringValue

func (GrpcHealthCheckAttributes) InternalRef

func (ghc GrpcHealthCheckAttributes) InternalRef() (terra.Reference, error)

func (GrpcHealthCheckAttributes) InternalTokens

func (ghc GrpcHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GrpcHealthCheckAttributes) InternalWithRef

func (GrpcHealthCheckAttributes) Port

func (GrpcHealthCheckAttributes) PortName

func (GrpcHealthCheckAttributes) PortSpecification

func (ghc GrpcHealthCheckAttributes) PortSpecification() terra.StringValue

type GrpcHealthCheckState

type GrpcHealthCheckState struct {
	GrpcServiceName   string  `json:"grpc_service_name"`
	Port              float64 `json:"port"`
	PortName          string  `json:"port_name"`
	PortSpecification string  `json:"port_specification"`
}

type Http2HealthCheck

type Http2HealthCheck struct {
	// Host: string, optional
	Host terra.StringValue `hcl:"host,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PortName: string, optional
	PortName terra.StringValue `hcl:"port_name,attr"`
	// PortSpecification: string, optional
	PortSpecification terra.StringValue `hcl:"port_specification,attr"`
	// ProxyHeader: string, optional
	ProxyHeader terra.StringValue `hcl:"proxy_header,attr"`
	// RequestPath: string, optional
	RequestPath terra.StringValue `hcl:"request_path,attr"`
	// Response: string, optional
	Response terra.StringValue `hcl:"response,attr"`
}

type Http2HealthCheckAttributes

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

func (Http2HealthCheckAttributes) Host

func (Http2HealthCheckAttributes) InternalRef

func (hhc Http2HealthCheckAttributes) InternalRef() (terra.Reference, error)

func (Http2HealthCheckAttributes) InternalTokens

func (hhc Http2HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Http2HealthCheckAttributes) InternalWithRef

func (Http2HealthCheckAttributes) Port

func (Http2HealthCheckAttributes) PortName

func (Http2HealthCheckAttributes) PortSpecification

func (hhc Http2HealthCheckAttributes) PortSpecification() terra.StringValue

func (Http2HealthCheckAttributes) ProxyHeader

func (hhc Http2HealthCheckAttributes) ProxyHeader() terra.StringValue

func (Http2HealthCheckAttributes) RequestPath

func (hhc Http2HealthCheckAttributes) RequestPath() terra.StringValue

func (Http2HealthCheckAttributes) Response

type Http2HealthCheckState

type Http2HealthCheckState struct {
	Host              string  `json:"host"`
	Port              float64 `json:"port"`
	PortName          string  `json:"port_name"`
	PortSpecification string  `json:"port_specification"`
	ProxyHeader       string  `json:"proxy_header"`
	RequestPath       string  `json:"request_path"`
	Response          string  `json:"response"`
}

type HttpHealthCheck

type HttpHealthCheck struct {
	// Host: string, optional
	Host terra.StringValue `hcl:"host,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PortName: string, optional
	PortName terra.StringValue `hcl:"port_name,attr"`
	// PortSpecification: string, optional
	PortSpecification terra.StringValue `hcl:"port_specification,attr"`
	// ProxyHeader: string, optional
	ProxyHeader terra.StringValue `hcl:"proxy_header,attr"`
	// RequestPath: string, optional
	RequestPath terra.StringValue `hcl:"request_path,attr"`
	// Response: string, optional
	Response terra.StringValue `hcl:"response,attr"`
}

type HttpHealthCheckAttributes

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

func (HttpHealthCheckAttributes) Host

func (HttpHealthCheckAttributes) InternalRef

func (hhc HttpHealthCheckAttributes) InternalRef() (terra.Reference, error)

func (HttpHealthCheckAttributes) InternalTokens

func (hhc HttpHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpHealthCheckAttributes) InternalWithRef

func (HttpHealthCheckAttributes) Port

func (HttpHealthCheckAttributes) PortName

func (HttpHealthCheckAttributes) PortSpecification

func (hhc HttpHealthCheckAttributes) PortSpecification() terra.StringValue

func (HttpHealthCheckAttributes) ProxyHeader

func (hhc HttpHealthCheckAttributes) ProxyHeader() terra.StringValue

func (HttpHealthCheckAttributes) RequestPath

func (hhc HttpHealthCheckAttributes) RequestPath() terra.StringValue

func (HttpHealthCheckAttributes) Response

type HttpHealthCheckState

type HttpHealthCheckState struct {
	Host              string  `json:"host"`
	Port              float64 `json:"port"`
	PortName          string  `json:"port_name"`
	PortSpecification string  `json:"port_specification"`
	ProxyHeader       string  `json:"proxy_header"`
	RequestPath       string  `json:"request_path"`
	Response          string  `json:"response"`
}

type HttpsHealthCheck

type HttpsHealthCheck struct {
	// Host: string, optional
	Host terra.StringValue `hcl:"host,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PortName: string, optional
	PortName terra.StringValue `hcl:"port_name,attr"`
	// PortSpecification: string, optional
	PortSpecification terra.StringValue `hcl:"port_specification,attr"`
	// ProxyHeader: string, optional
	ProxyHeader terra.StringValue `hcl:"proxy_header,attr"`
	// RequestPath: string, optional
	RequestPath terra.StringValue `hcl:"request_path,attr"`
	// Response: string, optional
	Response terra.StringValue `hcl:"response,attr"`
}

type HttpsHealthCheckAttributes

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

func (HttpsHealthCheckAttributes) Host

func (HttpsHealthCheckAttributes) InternalRef

func (hhc HttpsHealthCheckAttributes) InternalRef() (terra.Reference, error)

func (HttpsHealthCheckAttributes) InternalTokens

func (hhc HttpsHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpsHealthCheckAttributes) InternalWithRef

func (HttpsHealthCheckAttributes) Port

func (HttpsHealthCheckAttributes) PortName

func (HttpsHealthCheckAttributes) PortSpecification

func (hhc HttpsHealthCheckAttributes) PortSpecification() terra.StringValue

func (HttpsHealthCheckAttributes) ProxyHeader

func (hhc HttpsHealthCheckAttributes) ProxyHeader() terra.StringValue

func (HttpsHealthCheckAttributes) RequestPath

func (hhc HttpsHealthCheckAttributes) RequestPath() terra.StringValue

func (HttpsHealthCheckAttributes) Response

type HttpsHealthCheckState

type HttpsHealthCheckState struct {
	Host              string  `json:"host"`
	Port              float64 `json:"port"`
	PortName          string  `json:"port_name"`
	PortSpecification string  `json:"port_specification"`
	ProxyHeader       string  `json:"proxy_header"`
	RequestPath       string  `json:"request_path"`
	Response          string  `json:"response"`
}

type LogConfig

type LogConfig struct {
	// Enable: bool, optional
	Enable terra.BoolValue `hcl:"enable,attr"`
}

type LogConfigAttributes

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

func (LogConfigAttributes) Enable

func (lc LogConfigAttributes) Enable() terra.BoolValue

func (LogConfigAttributes) InternalRef

func (lc LogConfigAttributes) InternalRef() (terra.Reference, error)

func (LogConfigAttributes) InternalTokens

func (lc LogConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LogConfigAttributes) InternalWithRef

func (lc LogConfigAttributes) InternalWithRef(ref terra.Reference) LogConfigAttributes

type LogConfigState

type LogConfigState struct {
	Enable bool `json:"enable"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcrhc *Resource) Attributes() googleComputeRegionHealthCheckAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcrhc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcrhc *Resource) State() (*googleComputeRegionHealthCheckState, bool)

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

func (*Resource) StateMust

func (gcrhc *Resource) StateMust() *googleComputeRegionHealthCheckState

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

func (*Resource) Type

func (gcrhc *Resource) Type() string

Type returns the Terraform object type for Resource.

type SslHealthCheck

type SslHealthCheck struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PortName: string, optional
	PortName terra.StringValue `hcl:"port_name,attr"`
	// PortSpecification: string, optional
	PortSpecification terra.StringValue `hcl:"port_specification,attr"`
	// ProxyHeader: string, optional
	ProxyHeader terra.StringValue `hcl:"proxy_header,attr"`
	// Request: string, optional
	Request terra.StringValue `hcl:"request,attr"`
	// Response: string, optional
	Response terra.StringValue `hcl:"response,attr"`
}

type SslHealthCheckAttributes

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

func (SslHealthCheckAttributes) InternalRef

func (shc SslHealthCheckAttributes) InternalRef() (terra.Reference, error)

func (SslHealthCheckAttributes) InternalTokens

func (shc SslHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SslHealthCheckAttributes) InternalWithRef

func (SslHealthCheckAttributes) Port

func (SslHealthCheckAttributes) PortName

func (SslHealthCheckAttributes) PortSpecification

func (shc SslHealthCheckAttributes) PortSpecification() terra.StringValue

func (SslHealthCheckAttributes) ProxyHeader

func (shc SslHealthCheckAttributes) ProxyHeader() terra.StringValue

func (SslHealthCheckAttributes) Request

func (SslHealthCheckAttributes) Response

type SslHealthCheckState

type SslHealthCheckState struct {
	Port              float64 `json:"port"`
	PortName          string  `json:"port_name"`
	PortSpecification string  `json:"port_specification"`
	ProxyHeader       string  `json:"proxy_header"`
	Request           string  `json:"request"`
	Response          string  `json:"response"`
}

type TcpHealthCheck

type TcpHealthCheck struct {
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// PortName: string, optional
	PortName terra.StringValue `hcl:"port_name,attr"`
	// PortSpecification: string, optional
	PortSpecification terra.StringValue `hcl:"port_specification,attr"`
	// ProxyHeader: string, optional
	ProxyHeader terra.StringValue `hcl:"proxy_header,attr"`
	// Request: string, optional
	Request terra.StringValue `hcl:"request,attr"`
	// Response: string, optional
	Response terra.StringValue `hcl:"response,attr"`
}

type TcpHealthCheckAttributes

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

func (TcpHealthCheckAttributes) InternalRef

func (thc TcpHealthCheckAttributes) InternalRef() (terra.Reference, error)

func (TcpHealthCheckAttributes) InternalTokens

func (thc TcpHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TcpHealthCheckAttributes) InternalWithRef

func (TcpHealthCheckAttributes) Port

func (TcpHealthCheckAttributes) PortName

func (TcpHealthCheckAttributes) PortSpecification

func (thc TcpHealthCheckAttributes) PortSpecification() terra.StringValue

func (TcpHealthCheckAttributes) ProxyHeader

func (thc TcpHealthCheckAttributes) ProxyHeader() terra.StringValue

func (TcpHealthCheckAttributes) Request

func (TcpHealthCheckAttributes) Response

type TcpHealthCheckState

type TcpHealthCheckState struct {
	Port              float64 `json:"port"`
	PortName          string  `json:"port_name"`
	PortSpecification string  `json:"port_specification"`
	ProxyHeader       string  `json:"proxy_header"`
	Request           string  `json:"request"`
	Response          string  `json:"response"`
}

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