google_compute_region_url_map

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 {
	// DefaultService: string, optional
	DefaultService terra.StringValue `hcl:"default_service,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,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"`
	// DefaultRouteAction: optional
	DefaultRouteAction *DefaultRouteAction `hcl:"default_route_action,block"`
	// DefaultUrlRedirect: optional
	DefaultUrlRedirect *DefaultUrlRedirect `hcl:"default_url_redirect,block"`
	// HostRule: min=0
	HostRule []HostRule `hcl:"host_rule,block" validate:"min=0"`
	// PathMatcher: min=0
	PathMatcher []PathMatcher `hcl:"path_matcher,block" validate:"min=0"`
	// Test: min=0
	Test []Test `hcl:"test,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_compute_region_url_map.

type DefaultRouteAction

type DefaultRouteAction struct {
	// DefaultRouteActionCorsPolicy: optional
	CorsPolicy *DefaultRouteActionCorsPolicy `hcl:"cors_policy,block"`
	// DefaultRouteActionFaultInjectionPolicy: optional
	FaultInjectionPolicy *DefaultRouteActionFaultInjectionPolicy `hcl:"fault_injection_policy,block"`
	// DefaultRouteActionRequestMirrorPolicy: optional
	RequestMirrorPolicy *DefaultRouteActionRequestMirrorPolicy `hcl:"request_mirror_policy,block"`
	// DefaultRouteActionRetryPolicy: optional
	RetryPolicy *DefaultRouteActionRetryPolicy `hcl:"retry_policy,block"`
	// DefaultRouteActionTimeout: optional
	Timeout *DefaultRouteActionTimeout `hcl:"timeout,block"`
	// DefaultRouteActionUrlRewrite: optional
	UrlRewrite *DefaultRouteActionUrlRewrite `hcl:"url_rewrite,block"`
	// DefaultRouteActionWeightedBackendServices: min=0
	WeightedBackendServices []DefaultRouteActionWeightedBackendServices `hcl:"weighted_backend_services,block" validate:"min=0"`
}

type DefaultRouteActionAttributes

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

func (DefaultRouteActionAttributes) CorsPolicy

func (DefaultRouteActionAttributes) FaultInjectionPolicy

func (DefaultRouteActionAttributes) InternalRef

func (dra DefaultRouteActionAttributes) InternalRef() (terra.Reference, error)

func (DefaultRouteActionAttributes) InternalTokens

func (dra DefaultRouteActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultRouteActionAttributes) InternalWithRef

func (DefaultRouteActionAttributes) RequestMirrorPolicy

func (DefaultRouteActionAttributes) RetryPolicy

func (DefaultRouteActionAttributes) Timeout

func (DefaultRouteActionAttributes) UrlRewrite

func (DefaultRouteActionAttributes) WeightedBackendServices

type DefaultRouteActionCorsPolicy

type DefaultRouteActionCorsPolicy struct {
	// AllowCredentials: bool, optional
	AllowCredentials terra.BoolValue `hcl:"allow_credentials,attr"`
	// AllowHeaders: list of string, optional
	AllowHeaders terra.ListValue[terra.StringValue] `hcl:"allow_headers,attr"`
	// AllowMethods: list of string, optional
	AllowMethods terra.ListValue[terra.StringValue] `hcl:"allow_methods,attr"`
	// AllowOriginRegexes: list of string, optional
	AllowOriginRegexes terra.ListValue[terra.StringValue] `hcl:"allow_origin_regexes,attr"`
	// AllowOrigins: list of string, optional
	AllowOrigins terra.ListValue[terra.StringValue] `hcl:"allow_origins,attr"`
	// Disabled: bool, optional
	Disabled terra.BoolValue `hcl:"disabled,attr"`
	// ExposeHeaders: list of string, optional
	ExposeHeaders terra.ListValue[terra.StringValue] `hcl:"expose_headers,attr"`
	// MaxAge: number, optional
	MaxAge terra.NumberValue `hcl:"max_age,attr"`
}

type DefaultRouteActionCorsPolicyAttributes

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

func (DefaultRouteActionCorsPolicyAttributes) AllowCredentials

func (DefaultRouteActionCorsPolicyAttributes) AllowHeaders

func (DefaultRouteActionCorsPolicyAttributes) AllowMethods

func (DefaultRouteActionCorsPolicyAttributes) AllowOriginRegexes

func (DefaultRouteActionCorsPolicyAttributes) AllowOrigins

func (DefaultRouteActionCorsPolicyAttributes) Disabled

func (DefaultRouteActionCorsPolicyAttributes) ExposeHeaders

func (DefaultRouteActionCorsPolicyAttributes) InternalRef

func (DefaultRouteActionCorsPolicyAttributes) InternalTokens

func (DefaultRouteActionCorsPolicyAttributes) InternalWithRef

func (DefaultRouteActionCorsPolicyAttributes) MaxAge

type DefaultRouteActionCorsPolicyState

type DefaultRouteActionCorsPolicyState struct {
	AllowCredentials   bool     `json:"allow_credentials"`
	AllowHeaders       []string `json:"allow_headers"`
	AllowMethods       []string `json:"allow_methods"`
	AllowOriginRegexes []string `json:"allow_origin_regexes"`
	AllowOrigins       []string `json:"allow_origins"`
	Disabled           bool     `json:"disabled"`
	ExposeHeaders      []string `json:"expose_headers"`
	MaxAge             float64  `json:"max_age"`
}

type DefaultRouteActionFaultInjectionPolicy

type DefaultRouteActionFaultInjectionPolicy struct {
	// DefaultRouteActionFaultInjectionPolicyAbort: optional
	Abort *DefaultRouteActionFaultInjectionPolicyAbort `hcl:"abort,block"`
	// DefaultRouteActionFaultInjectionPolicyDelay: optional
	Delay *DefaultRouteActionFaultInjectionPolicyDelay `hcl:"delay,block"`
}

type DefaultRouteActionFaultInjectionPolicyAbort

type DefaultRouteActionFaultInjectionPolicyAbort struct {
	// HttpStatus: number, optional
	HttpStatus terra.NumberValue `hcl:"http_status,attr"`
	// Percentage: number, optional
	Percentage terra.NumberValue `hcl:"percentage,attr"`
}

type DefaultRouteActionFaultInjectionPolicyAbortAttributes

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

func (DefaultRouteActionFaultInjectionPolicyAbortAttributes) HttpStatus

func (DefaultRouteActionFaultInjectionPolicyAbortAttributes) InternalRef

func (DefaultRouteActionFaultInjectionPolicyAbortAttributes) InternalTokens

func (DefaultRouteActionFaultInjectionPolicyAbortAttributes) InternalWithRef

func (DefaultRouteActionFaultInjectionPolicyAbortAttributes) Percentage

type DefaultRouteActionFaultInjectionPolicyAbortState

type DefaultRouteActionFaultInjectionPolicyAbortState struct {
	HttpStatus float64 `json:"http_status"`
	Percentage float64 `json:"percentage"`
}

type DefaultRouteActionFaultInjectionPolicyAttributes

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

func (DefaultRouteActionFaultInjectionPolicyAttributes) Abort

func (DefaultRouteActionFaultInjectionPolicyAttributes) Delay

func (DefaultRouteActionFaultInjectionPolicyAttributes) InternalRef

func (DefaultRouteActionFaultInjectionPolicyAttributes) InternalTokens

func (DefaultRouteActionFaultInjectionPolicyAttributes) InternalWithRef

type DefaultRouteActionFaultInjectionPolicyDelay

type DefaultRouteActionFaultInjectionPolicyDelay struct {
	// Percentage: number, optional
	Percentage terra.NumberValue `hcl:"percentage,attr"`
	// DefaultRouteActionFaultInjectionPolicyDelayFixedDelay: optional
	FixedDelay *DefaultRouteActionFaultInjectionPolicyDelayFixedDelay `hcl:"fixed_delay,block"`
}

type DefaultRouteActionFaultInjectionPolicyDelayAttributes

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

func (DefaultRouteActionFaultInjectionPolicyDelayAttributes) InternalRef

func (DefaultRouteActionFaultInjectionPolicyDelayAttributes) InternalTokens

func (DefaultRouteActionFaultInjectionPolicyDelayAttributes) InternalWithRef

func (DefaultRouteActionFaultInjectionPolicyDelayAttributes) Percentage

type DefaultRouteActionFaultInjectionPolicyDelayFixedDelay

type DefaultRouteActionFaultInjectionPolicyDelayFixedDelay struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, optional
	Seconds terra.StringValue `hcl:"seconds,attr"`
}

type DefaultRouteActionFaultInjectionPolicyDelayFixedDelayAttributes

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

func (DefaultRouteActionFaultInjectionPolicyDelayFixedDelayAttributes) InternalRef

func (DefaultRouteActionFaultInjectionPolicyDelayFixedDelayAttributes) InternalTokens

func (DefaultRouteActionFaultInjectionPolicyDelayFixedDelayAttributes) InternalWithRef

func (DefaultRouteActionFaultInjectionPolicyDelayFixedDelayAttributes) Nanos

func (DefaultRouteActionFaultInjectionPolicyDelayFixedDelayAttributes) Seconds

type DefaultRouteActionFaultInjectionPolicyDelayFixedDelayState

type DefaultRouteActionFaultInjectionPolicyDelayFixedDelayState struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type DefaultRouteActionFaultInjectionPolicyDelayState

type DefaultRouteActionFaultInjectionPolicyDelayState struct {
	Percentage float64                                                      `json:"percentage"`
	FixedDelay []DefaultRouteActionFaultInjectionPolicyDelayFixedDelayState `json:"fixed_delay"`
}

type DefaultRouteActionFaultInjectionPolicyState

type DefaultRouteActionFaultInjectionPolicyState struct {
	Abort []DefaultRouteActionFaultInjectionPolicyAbortState `json:"abort"`
	Delay []DefaultRouteActionFaultInjectionPolicyDelayState `json:"delay"`
}

type DefaultRouteActionRequestMirrorPolicy

type DefaultRouteActionRequestMirrorPolicy struct {
	// BackendService: string, optional
	BackendService terra.StringValue `hcl:"backend_service,attr"`
}

type DefaultRouteActionRequestMirrorPolicyAttributes

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

func (DefaultRouteActionRequestMirrorPolicyAttributes) BackendService

func (DefaultRouteActionRequestMirrorPolicyAttributes) InternalRef

func (DefaultRouteActionRequestMirrorPolicyAttributes) InternalTokens

func (DefaultRouteActionRequestMirrorPolicyAttributes) InternalWithRef

type DefaultRouteActionRequestMirrorPolicyState

type DefaultRouteActionRequestMirrorPolicyState struct {
	BackendService string `json:"backend_service"`
}

type DefaultRouteActionRetryPolicy

type DefaultRouteActionRetryPolicy struct {
	// NumRetries: number, optional
	NumRetries terra.NumberValue `hcl:"num_retries,attr"`
	// RetryConditions: list of string, optional
	RetryConditions terra.ListValue[terra.StringValue] `hcl:"retry_conditions,attr"`
	// DefaultRouteActionRetryPolicyPerTryTimeout: optional
	PerTryTimeout *DefaultRouteActionRetryPolicyPerTryTimeout `hcl:"per_try_timeout,block"`
}

type DefaultRouteActionRetryPolicyAttributes

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

func (DefaultRouteActionRetryPolicyAttributes) InternalRef

func (DefaultRouteActionRetryPolicyAttributes) InternalTokens

func (DefaultRouteActionRetryPolicyAttributes) InternalWithRef

func (DefaultRouteActionRetryPolicyAttributes) NumRetries

func (DefaultRouteActionRetryPolicyAttributes) PerTryTimeout

func (DefaultRouteActionRetryPolicyAttributes) RetryConditions

type DefaultRouteActionRetryPolicyPerTryTimeout

type DefaultRouteActionRetryPolicyPerTryTimeout struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, optional
	Seconds terra.StringValue `hcl:"seconds,attr"`
}

type DefaultRouteActionRetryPolicyPerTryTimeoutAttributes

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

func (DefaultRouteActionRetryPolicyPerTryTimeoutAttributes) InternalRef

func (DefaultRouteActionRetryPolicyPerTryTimeoutAttributes) InternalTokens

func (DefaultRouteActionRetryPolicyPerTryTimeoutAttributes) InternalWithRef

func (DefaultRouteActionRetryPolicyPerTryTimeoutAttributes) Nanos

func (DefaultRouteActionRetryPolicyPerTryTimeoutAttributes) Seconds

type DefaultRouteActionRetryPolicyPerTryTimeoutState

type DefaultRouteActionRetryPolicyPerTryTimeoutState struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type DefaultRouteActionRetryPolicyState

type DefaultRouteActionRetryPolicyState struct {
	NumRetries      float64                                           `json:"num_retries"`
	RetryConditions []string                                          `json:"retry_conditions"`
	PerTryTimeout   []DefaultRouteActionRetryPolicyPerTryTimeoutState `json:"per_try_timeout"`
}

type DefaultRouteActionState

type DefaultRouteActionState struct {
	CorsPolicy              []DefaultRouteActionCorsPolicyState              `json:"cors_policy"`
	FaultInjectionPolicy    []DefaultRouteActionFaultInjectionPolicyState    `json:"fault_injection_policy"`
	RequestMirrorPolicy     []DefaultRouteActionRequestMirrorPolicyState     `json:"request_mirror_policy"`
	RetryPolicy             []DefaultRouteActionRetryPolicyState             `json:"retry_policy"`
	Timeout                 []DefaultRouteActionTimeoutState                 `json:"timeout"`
	UrlRewrite              []DefaultRouteActionUrlRewriteState              `json:"url_rewrite"`
	WeightedBackendServices []DefaultRouteActionWeightedBackendServicesState `json:"weighted_backend_services"`
}

type DefaultRouteActionTimeout

type DefaultRouteActionTimeout struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, optional
	Seconds terra.StringValue `hcl:"seconds,attr"`
}

type DefaultRouteActionTimeoutAttributes

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

func (DefaultRouteActionTimeoutAttributes) InternalRef

func (DefaultRouteActionTimeoutAttributes) InternalTokens

func (DefaultRouteActionTimeoutAttributes) InternalWithRef

func (DefaultRouteActionTimeoutAttributes) Nanos

func (DefaultRouteActionTimeoutAttributes) Seconds

type DefaultRouteActionTimeoutState

type DefaultRouteActionTimeoutState struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type DefaultRouteActionUrlRewrite

type DefaultRouteActionUrlRewrite struct {
	// HostRewrite: string, optional
	HostRewrite terra.StringValue `hcl:"host_rewrite,attr"`
	// PathPrefixRewrite: string, optional
	PathPrefixRewrite terra.StringValue `hcl:"path_prefix_rewrite,attr"`
}

type DefaultRouteActionUrlRewriteAttributes

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

func (DefaultRouteActionUrlRewriteAttributes) HostRewrite

func (DefaultRouteActionUrlRewriteAttributes) InternalRef

func (DefaultRouteActionUrlRewriteAttributes) InternalTokens

func (DefaultRouteActionUrlRewriteAttributes) InternalWithRef

func (DefaultRouteActionUrlRewriteAttributes) PathPrefixRewrite

type DefaultRouteActionUrlRewriteState

type DefaultRouteActionUrlRewriteState struct {
	HostRewrite       string `json:"host_rewrite"`
	PathPrefixRewrite string `json:"path_prefix_rewrite"`
}

type DefaultRouteActionWeightedBackendServices

type DefaultRouteActionWeightedBackendServices struct {
	// BackendService: string, optional
	BackendService terra.StringValue `hcl:"backend_service,attr"`
	// Weight: number, optional
	Weight terra.NumberValue `hcl:"weight,attr"`
	// DefaultRouteActionWeightedBackendServicesHeaderAction: optional
	HeaderAction *DefaultRouteActionWeightedBackendServicesHeaderAction `hcl:"header_action,block"`
}

type DefaultRouteActionWeightedBackendServicesAttributes

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

func (DefaultRouteActionWeightedBackendServicesAttributes) BackendService

func (DefaultRouteActionWeightedBackendServicesAttributes) InternalRef

func (DefaultRouteActionWeightedBackendServicesAttributes) InternalTokens

func (DefaultRouteActionWeightedBackendServicesAttributes) InternalWithRef

func (DefaultRouteActionWeightedBackendServicesAttributes) Weight

type DefaultRouteActionWeightedBackendServicesHeaderAction

type DefaultRouteActionWeightedBackendServicesHeaderAction struct {
	// RequestHeadersToRemove: list of string, optional
	RequestHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"request_headers_to_remove,attr"`
	// ResponseHeadersToRemove: list of string, optional
	ResponseHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"response_headers_to_remove,attr"`
	// DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAdd: min=0
	RequestHeadersToAdd []DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAdd `hcl:"request_headers_to_add,block" validate:"min=0"`
	// DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAdd: min=0
	ResponseHeadersToAdd []DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAdd `hcl:"response_headers_to_add,block" validate:"min=0"`
}

type DefaultRouteActionWeightedBackendServicesHeaderActionAttributes

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

func (DefaultRouteActionWeightedBackendServicesHeaderActionAttributes) InternalRef

func (DefaultRouteActionWeightedBackendServicesHeaderActionAttributes) InternalTokens

func (DefaultRouteActionWeightedBackendServicesHeaderActionAttributes) InternalWithRef

func (DefaultRouteActionWeightedBackendServicesHeaderActionAttributes) RequestHeadersToRemove

func (DefaultRouteActionWeightedBackendServicesHeaderActionAttributes) ResponseHeadersToRemove

type DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAdd

type DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAdd struct {
	// HeaderName: string, optional
	HeaderName terra.StringValue `hcl:"header_name,attr"`
	// HeaderValue: string, optional
	HeaderValue terra.StringValue `hcl:"header_value,attr"`
	// Replace: bool, optional
	Replace terra.BoolValue `hcl:"replace,attr"`
}

type DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddAttributes

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

func (DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddAttributes) HeaderName

func (DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddAttributes) HeaderValue

func (DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddAttributes) InternalRef

func (DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddAttributes) InternalTokens

func (DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddAttributes) InternalWithRef

func (DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddAttributes) Replace

type DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddState

type DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddState struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAdd

type DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAdd struct {
	// HeaderName: string, optional
	HeaderName terra.StringValue `hcl:"header_name,attr"`
	// HeaderValue: string, optional
	HeaderValue terra.StringValue `hcl:"header_value,attr"`
	// Replace: bool, optional
	Replace terra.BoolValue `hcl:"replace,attr"`
}

type DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddAttributes

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

func (DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddAttributes) HeaderName

func (DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddAttributes) HeaderValue

func (DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddAttributes) InternalRef

func (DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddAttributes) InternalTokens

func (DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddAttributes) Replace

type DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddState

type DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddState struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type DefaultRouteActionWeightedBackendServicesHeaderActionState

type DefaultRouteActionWeightedBackendServicesHeaderActionState struct {
	RequestHeadersToRemove  []string                                                                         `json:"request_headers_to_remove"`
	ResponseHeadersToRemove []string                                                                         `json:"response_headers_to_remove"`
	RequestHeadersToAdd     []DefaultRouteActionWeightedBackendServicesHeaderActionRequestHeadersToAddState  `json:"request_headers_to_add"`
	ResponseHeadersToAdd    []DefaultRouteActionWeightedBackendServicesHeaderActionResponseHeadersToAddState `json:"response_headers_to_add"`
}

type DefaultRouteActionWeightedBackendServicesState

type DefaultRouteActionWeightedBackendServicesState struct {
	BackendService string                                                       `json:"backend_service"`
	Weight         float64                                                      `json:"weight"`
	HeaderAction   []DefaultRouteActionWeightedBackendServicesHeaderActionState `json:"header_action"`
}

type DefaultUrlRedirect

type DefaultUrlRedirect struct {
	// HostRedirect: string, optional
	HostRedirect terra.StringValue `hcl:"host_redirect,attr"`
	// HttpsRedirect: bool, optional
	HttpsRedirect terra.BoolValue `hcl:"https_redirect,attr"`
	// PathRedirect: string, optional
	PathRedirect terra.StringValue `hcl:"path_redirect,attr"`
	// PrefixRedirect: string, optional
	PrefixRedirect terra.StringValue `hcl:"prefix_redirect,attr"`
	// RedirectResponseCode: string, optional
	RedirectResponseCode terra.StringValue `hcl:"redirect_response_code,attr"`
	// StripQuery: bool, required
	StripQuery terra.BoolValue `hcl:"strip_query,attr" validate:"required"`
}

type DefaultUrlRedirectAttributes

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

func (DefaultUrlRedirectAttributes) HostRedirect

func (dur DefaultUrlRedirectAttributes) HostRedirect() terra.StringValue

func (DefaultUrlRedirectAttributes) HttpsRedirect

func (dur DefaultUrlRedirectAttributes) HttpsRedirect() terra.BoolValue

func (DefaultUrlRedirectAttributes) InternalRef

func (dur DefaultUrlRedirectAttributes) InternalRef() (terra.Reference, error)

func (DefaultUrlRedirectAttributes) InternalTokens

func (dur DefaultUrlRedirectAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultUrlRedirectAttributes) InternalWithRef

func (DefaultUrlRedirectAttributes) PathRedirect

func (dur DefaultUrlRedirectAttributes) PathRedirect() terra.StringValue

func (DefaultUrlRedirectAttributes) PrefixRedirect

func (dur DefaultUrlRedirectAttributes) PrefixRedirect() terra.StringValue

func (DefaultUrlRedirectAttributes) RedirectResponseCode

func (dur DefaultUrlRedirectAttributes) RedirectResponseCode() terra.StringValue

func (DefaultUrlRedirectAttributes) StripQuery

func (dur DefaultUrlRedirectAttributes) StripQuery() terra.BoolValue

type DefaultUrlRedirectState

type DefaultUrlRedirectState struct {
	HostRedirect         string `json:"host_redirect"`
	HttpsRedirect        bool   `json:"https_redirect"`
	PathRedirect         string `json:"path_redirect"`
	PrefixRedirect       string `json:"prefix_redirect"`
	RedirectResponseCode string `json:"redirect_response_code"`
	StripQuery           bool   `json:"strip_query"`
}

type HostRule

type HostRule struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Hosts: set of string, required
	Hosts terra.SetValue[terra.StringValue] `hcl:"hosts,attr" validate:"required"`
	// PathMatcher: string, required
	PathMatcher terra.StringValue `hcl:"path_matcher,attr" validate:"required"`
}

type HostRuleAttributes

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

func (HostRuleAttributes) Description

func (hr HostRuleAttributes) Description() terra.StringValue

func (HostRuleAttributes) Hosts

func (HostRuleAttributes) InternalRef

func (hr HostRuleAttributes) InternalRef() (terra.Reference, error)

func (HostRuleAttributes) InternalTokens

func (hr HostRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HostRuleAttributes) InternalWithRef

func (hr HostRuleAttributes) InternalWithRef(ref terra.Reference) HostRuleAttributes

func (HostRuleAttributes) PathMatcher

func (hr HostRuleAttributes) PathMatcher() terra.StringValue

type HostRuleState

type HostRuleState struct {
	Description string   `json:"description"`
	Hosts       []string `json:"hosts"`
	PathMatcher string   `json:"path_matcher"`
}

type PathMatcher

type PathMatcher struct {
	// DefaultService: string, optional
	DefaultService terra.StringValue `hcl:"default_service,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PathMatcherDefaultUrlRedirect: optional
	DefaultUrlRedirect *PathMatcherDefaultUrlRedirect `hcl:"default_url_redirect,block"`
	// PathMatcherPathRule: min=0
	PathRule []PathMatcherPathRule `hcl:"path_rule,block" validate:"min=0"`
	// PathMatcherRouteRules: min=0
	RouteRules []PathMatcherRouteRules `hcl:"route_rules,block" validate:"min=0"`
}

type PathMatcherAttributes

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

func (PathMatcherAttributes) DefaultService

func (pm PathMatcherAttributes) DefaultService() terra.StringValue

func (PathMatcherAttributes) DefaultUrlRedirect

func (PathMatcherAttributes) Description

func (pm PathMatcherAttributes) Description() terra.StringValue

func (PathMatcherAttributes) InternalRef

func (pm PathMatcherAttributes) InternalRef() (terra.Reference, error)

func (PathMatcherAttributes) InternalTokens

func (pm PathMatcherAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PathMatcherAttributes) InternalWithRef

func (PathMatcherAttributes) Name

func (PathMatcherAttributes) PathRule

func (PathMatcherAttributes) RouteRules

type PathMatcherDefaultUrlRedirect

type PathMatcherDefaultUrlRedirect struct {
	// HostRedirect: string, optional
	HostRedirect terra.StringValue `hcl:"host_redirect,attr"`
	// HttpsRedirect: bool, optional
	HttpsRedirect terra.BoolValue `hcl:"https_redirect,attr"`
	// PathRedirect: string, optional
	PathRedirect terra.StringValue `hcl:"path_redirect,attr"`
	// PrefixRedirect: string, optional
	PrefixRedirect terra.StringValue `hcl:"prefix_redirect,attr"`
	// RedirectResponseCode: string, optional
	RedirectResponseCode terra.StringValue `hcl:"redirect_response_code,attr"`
	// StripQuery: bool, required
	StripQuery terra.BoolValue `hcl:"strip_query,attr" validate:"required"`
}

type PathMatcherDefaultUrlRedirectAttributes

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

func (PathMatcherDefaultUrlRedirectAttributes) HostRedirect

func (PathMatcherDefaultUrlRedirectAttributes) HttpsRedirect

func (PathMatcherDefaultUrlRedirectAttributes) InternalRef

func (PathMatcherDefaultUrlRedirectAttributes) InternalTokens

func (PathMatcherDefaultUrlRedirectAttributes) InternalWithRef

func (PathMatcherDefaultUrlRedirectAttributes) PathRedirect

func (PathMatcherDefaultUrlRedirectAttributes) PrefixRedirect

func (PathMatcherDefaultUrlRedirectAttributes) RedirectResponseCode

func (dur PathMatcherDefaultUrlRedirectAttributes) RedirectResponseCode() terra.StringValue

func (PathMatcherDefaultUrlRedirectAttributes) StripQuery

type PathMatcherDefaultUrlRedirectState

type PathMatcherDefaultUrlRedirectState struct {
	HostRedirect         string `json:"host_redirect"`
	HttpsRedirect        bool   `json:"https_redirect"`
	PathRedirect         string `json:"path_redirect"`
	PrefixRedirect       string `json:"prefix_redirect"`
	RedirectResponseCode string `json:"redirect_response_code"`
	StripQuery           bool   `json:"strip_query"`
}

type PathMatcherPathRule

type PathMatcherPathRule struct {
	// Paths: set of string, required
	Paths terra.SetValue[terra.StringValue] `hcl:"paths,attr" validate:"required"`
	// Service: string, optional
	Service terra.StringValue `hcl:"service,attr"`
	// PathMatcherPathRuleRouteAction: optional
	RouteAction *PathMatcherPathRuleRouteAction `hcl:"route_action,block"`
	// PathMatcherPathRuleUrlRedirect: optional
	UrlRedirect *PathMatcherPathRuleUrlRedirect `hcl:"url_redirect,block"`
}

type PathMatcherPathRule3F069F0E

type PathMatcherPathRule3F069F0E struct {
	// HeaderName: string, required
	HeaderName terra.StringValue `hcl:"header_name,attr" validate:"required"`
	// HeaderValue: string, required
	HeaderValue terra.StringValue `hcl:"header_value,attr" validate:"required"`
	// Replace: bool, required
	Replace terra.BoolValue `hcl:"replace,attr" validate:"required"`
}

type PathMatcherPathRule3F069F0EAttributes

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

func (PathMatcherPathRule3F069F0EAttributes) HeaderName

func (PathMatcherPathRule3F069F0EAttributes) HeaderValue

func (PathMatcherPathRule3F069F0EAttributes) InternalRef

func (PathMatcherPathRule3F069F0EAttributes) InternalTokens

func (PathMatcherPathRule3F069F0EAttributes) InternalWithRef

func (PathMatcherPathRule3F069F0EAttributes) Replace

type PathMatcherPathRule3F069F0EState

type PathMatcherPathRule3F069F0EState struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type PathMatcherPathRule8422D1E5

type PathMatcherPathRule8422D1E5 struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, required
	Seconds terra.StringValue `hcl:"seconds,attr" validate:"required"`
}

type PathMatcherPathRule8422D1E5Attributes

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

func (PathMatcherPathRule8422D1E5Attributes) InternalRef

func (PathMatcherPathRule8422D1E5Attributes) InternalTokens

func (PathMatcherPathRule8422D1E5Attributes) InternalWithRef

func (PathMatcherPathRule8422D1E5Attributes) Nanos

func (PathMatcherPathRule8422D1E5Attributes) Seconds

type PathMatcherPathRule8422D1E5State

type PathMatcherPathRule8422D1E5State struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type PathMatcherPathRule867260A6

type PathMatcherPathRule867260A6 struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, required
	Seconds terra.StringValue `hcl:"seconds,attr" validate:"required"`
}

type PathMatcherPathRule867260A6Attributes

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

func (PathMatcherPathRule867260A6Attributes) InternalRef

func (PathMatcherPathRule867260A6Attributes) InternalTokens

func (PathMatcherPathRule867260A6Attributes) InternalWithRef

func (PathMatcherPathRule867260A6Attributes) Nanos

func (PathMatcherPathRule867260A6Attributes) Seconds

type PathMatcherPathRule867260A6State

type PathMatcherPathRule867260A6State struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type PathMatcherPathRuleAttributes

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

func (PathMatcherPathRuleAttributes) InternalRef

func (pr PathMatcherPathRuleAttributes) InternalRef() (terra.Reference, error)

func (PathMatcherPathRuleAttributes) InternalTokens

func (pr PathMatcherPathRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PathMatcherPathRuleAttributes) InternalWithRef

func (PathMatcherPathRuleAttributes) Paths

func (PathMatcherPathRuleAttributes) RouteAction

func (PathMatcherPathRuleAttributes) Service

func (PathMatcherPathRuleAttributes) UrlRedirect

type PathMatcherPathRuleBee7358B

type PathMatcherPathRuleBee7358B struct {
	// RequestHeadersToRemove: list of string, optional
	RequestHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"request_headers_to_remove,attr"`
	// ResponseHeadersToRemove: list of string, optional
	ResponseHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"response_headers_to_remove,attr"`
	// PathMatcherPathRule3F069F0E: min=0
	RequestHeadersToAdd []PathMatcherPathRule3F069F0E `hcl:"request_headers_to_add,block" validate:"min=0"`
	// PathMatcherPathRuleD4A4D480: min=0
	ResponseHeadersToAdd []PathMatcherPathRuleD4A4D480 `hcl:"response_headers_to_add,block" validate:"min=0"`
}

type PathMatcherPathRuleBee7358BAttributes

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

func (PathMatcherPathRuleBee7358BAttributes) InternalRef

func (PathMatcherPathRuleBee7358BAttributes) InternalTokens

func (PathMatcherPathRuleBee7358BAttributes) InternalWithRef

func (PathMatcherPathRuleBee7358BAttributes) RequestHeadersToAdd

func (PathMatcherPathRuleBee7358BAttributes) RequestHeadersToRemove

func (PathMatcherPathRuleBee7358BAttributes) ResponseHeadersToAdd

func (PathMatcherPathRuleBee7358BAttributes) ResponseHeadersToRemove

type PathMatcherPathRuleBee7358BState

type PathMatcherPathRuleBee7358BState struct {
	RequestHeadersToRemove  []string                           `json:"request_headers_to_remove"`
	ResponseHeadersToRemove []string                           `json:"response_headers_to_remove"`
	RequestHeadersToAdd     []PathMatcherPathRule3F069F0EState `json:"request_headers_to_add"`
	ResponseHeadersToAdd    []PathMatcherPathRuleD4A4D480State `json:"response_headers_to_add"`
}

type PathMatcherPathRuleCa6Fd7F0

type PathMatcherPathRuleCa6Fd7F0 struct {
	// HttpStatus: number, required
	HttpStatus terra.NumberValue `hcl:"http_status,attr" validate:"required"`
	// Percentage: number, required
	Percentage terra.NumberValue `hcl:"percentage,attr" validate:"required"`
}

type PathMatcherPathRuleCa6Fd7F0Attributes

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

func (PathMatcherPathRuleCa6Fd7F0Attributes) HttpStatus

func (PathMatcherPathRuleCa6Fd7F0Attributes) InternalRef

func (PathMatcherPathRuleCa6Fd7F0Attributes) InternalTokens

func (PathMatcherPathRuleCa6Fd7F0Attributes) InternalWithRef

func (PathMatcherPathRuleCa6Fd7F0Attributes) Percentage

type PathMatcherPathRuleCa6Fd7F0State

type PathMatcherPathRuleCa6Fd7F0State struct {
	HttpStatus float64 `json:"http_status"`
	Percentage float64 `json:"percentage"`
}

type PathMatcherPathRuleCca2E374

type PathMatcherPathRuleCca2E374 struct {
	// Percentage: number, required
	Percentage terra.NumberValue `hcl:"percentage,attr" validate:"required"`
	// PathMatcherPathRule8422D1E5: required
	FixedDelay *PathMatcherPathRule8422D1E5 `hcl:"fixed_delay,block" validate:"required"`
}

type PathMatcherPathRuleCca2E374Attributes

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

func (PathMatcherPathRuleCca2E374Attributes) FixedDelay

func (PathMatcherPathRuleCca2E374Attributes) InternalRef

func (PathMatcherPathRuleCca2E374Attributes) InternalTokens

func (PathMatcherPathRuleCca2E374Attributes) InternalWithRef

func (PathMatcherPathRuleCca2E374Attributes) Percentage

type PathMatcherPathRuleCca2E374State

type PathMatcherPathRuleCca2E374State struct {
	Percentage float64                            `json:"percentage"`
	FixedDelay []PathMatcherPathRule8422D1E5State `json:"fixed_delay"`
}

type PathMatcherPathRuleD4A4D480

type PathMatcherPathRuleD4A4D480 struct {
	// HeaderName: string, required
	HeaderName terra.StringValue `hcl:"header_name,attr" validate:"required"`
	// HeaderValue: string, required
	HeaderValue terra.StringValue `hcl:"header_value,attr" validate:"required"`
	// Replace: bool, required
	Replace terra.BoolValue `hcl:"replace,attr" validate:"required"`
}

type PathMatcherPathRuleD4A4D480Attributes

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

func (PathMatcherPathRuleD4A4D480Attributes) HeaderName

func (PathMatcherPathRuleD4A4D480Attributes) HeaderValue

func (PathMatcherPathRuleD4A4D480Attributes) InternalRef

func (PathMatcherPathRuleD4A4D480Attributes) InternalTokens

func (PathMatcherPathRuleD4A4D480Attributes) InternalWithRef

func (PathMatcherPathRuleD4A4D480Attributes) Replace

type PathMatcherPathRuleD4A4D480State

type PathMatcherPathRuleD4A4D480State struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type PathMatcherPathRuleRouteAction

type PathMatcherPathRuleRouteAction struct {
	// PathMatcherPathRuleRouteActionCorsPolicy: optional
	CorsPolicy *PathMatcherPathRuleRouteActionCorsPolicy `hcl:"cors_policy,block"`
	// PathMatcherPathRuleRouteActionFaultInjectionPolicy: optional
	FaultInjectionPolicy *PathMatcherPathRuleRouteActionFaultInjectionPolicy `hcl:"fault_injection_policy,block"`
	// PathMatcherPathRuleRouteActionRequestMirrorPolicy: optional
	RequestMirrorPolicy *PathMatcherPathRuleRouteActionRequestMirrorPolicy `hcl:"request_mirror_policy,block"`
	// PathMatcherPathRuleRouteActionRetryPolicy: optional
	RetryPolicy *PathMatcherPathRuleRouteActionRetryPolicy `hcl:"retry_policy,block"`
	// PathMatcherPathRuleRouteActionTimeout: optional
	Timeout *PathMatcherPathRuleRouteActionTimeout `hcl:"timeout,block"`
	// PathMatcherPathRuleRouteActionUrlRewrite: optional
	UrlRewrite *PathMatcherPathRuleRouteActionUrlRewrite `hcl:"url_rewrite,block"`
	// PathMatcherPathRuleRouteActionWeightedBackendServices: min=0
	WeightedBackendServices []PathMatcherPathRuleRouteActionWeightedBackendServices `hcl:"weighted_backend_services,block" validate:"min=0"`
}

type PathMatcherPathRuleRouteActionAttributes

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

func (PathMatcherPathRuleRouteActionAttributes) CorsPolicy

func (PathMatcherPathRuleRouteActionAttributes) InternalRef

func (PathMatcherPathRuleRouteActionAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionAttributes) InternalWithRef

func (PathMatcherPathRuleRouteActionAttributes) RetryPolicy

func (PathMatcherPathRuleRouteActionAttributes) Timeout

func (PathMatcherPathRuleRouteActionAttributes) UrlRewrite

type PathMatcherPathRuleRouteActionCorsPolicy

type PathMatcherPathRuleRouteActionCorsPolicy struct {
	// AllowCredentials: bool, optional
	AllowCredentials terra.BoolValue `hcl:"allow_credentials,attr"`
	// AllowHeaders: list of string, optional
	AllowHeaders terra.ListValue[terra.StringValue] `hcl:"allow_headers,attr"`
	// AllowMethods: list of string, optional
	AllowMethods terra.ListValue[terra.StringValue] `hcl:"allow_methods,attr"`
	// AllowOriginRegexes: list of string, optional
	AllowOriginRegexes terra.ListValue[terra.StringValue] `hcl:"allow_origin_regexes,attr"`
	// AllowOrigins: list of string, optional
	AllowOrigins terra.ListValue[terra.StringValue] `hcl:"allow_origins,attr"`
	// Disabled: bool, required
	Disabled terra.BoolValue `hcl:"disabled,attr" validate:"required"`
	// ExposeHeaders: list of string, optional
	ExposeHeaders terra.ListValue[terra.StringValue] `hcl:"expose_headers,attr"`
	// MaxAge: number, optional
	MaxAge terra.NumberValue `hcl:"max_age,attr"`
}

type PathMatcherPathRuleRouteActionCorsPolicyAttributes

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

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) AllowCredentials

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) AllowHeaders

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) AllowMethods

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) AllowOriginRegexes

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) AllowOrigins

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) Disabled

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) ExposeHeaders

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) InternalRef

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) InternalWithRef

func (PathMatcherPathRuleRouteActionCorsPolicyAttributes) MaxAge

type PathMatcherPathRuleRouteActionCorsPolicyState

type PathMatcherPathRuleRouteActionCorsPolicyState struct {
	AllowCredentials   bool     `json:"allow_credentials"`
	AllowHeaders       []string `json:"allow_headers"`
	AllowMethods       []string `json:"allow_methods"`
	AllowOriginRegexes []string `json:"allow_origin_regexes"`
	AllowOrigins       []string `json:"allow_origins"`
	Disabled           bool     `json:"disabled"`
	ExposeHeaders      []string `json:"expose_headers"`
	MaxAge             float64  `json:"max_age"`
}

type PathMatcherPathRuleRouteActionFaultInjectionPolicy

type PathMatcherPathRuleRouteActionFaultInjectionPolicy struct {
	// PathMatcherPathRuleCa6Fd7F0: optional
	Abort *PathMatcherPathRuleCa6Fd7F0 `hcl:"abort,block"`
	// PathMatcherPathRuleCca2E374: optional
	Delay *PathMatcherPathRuleCca2E374 `hcl:"delay,block"`
}

type PathMatcherPathRuleRouteActionFaultInjectionPolicyAttributes

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

func (PathMatcherPathRuleRouteActionFaultInjectionPolicyAttributes) Abort

func (PathMatcherPathRuleRouteActionFaultInjectionPolicyAttributes) Delay

func (PathMatcherPathRuleRouteActionFaultInjectionPolicyAttributes) InternalRef

func (PathMatcherPathRuleRouteActionFaultInjectionPolicyAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionFaultInjectionPolicyAttributes) InternalWithRef

type PathMatcherPathRuleRouteActionFaultInjectionPolicyState

type PathMatcherPathRuleRouteActionFaultInjectionPolicyState struct {
	Abort []PathMatcherPathRuleCa6Fd7F0State `json:"abort"`
	Delay []PathMatcherPathRuleCca2E374State `json:"delay"`
}

type PathMatcherPathRuleRouteActionRequestMirrorPolicy

type PathMatcherPathRuleRouteActionRequestMirrorPolicy struct {
	// BackendService: string, required
	BackendService terra.StringValue `hcl:"backend_service,attr" validate:"required"`
}

type PathMatcherPathRuleRouteActionRequestMirrorPolicyAttributes

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

func (PathMatcherPathRuleRouteActionRequestMirrorPolicyAttributes) BackendService

func (PathMatcherPathRuleRouteActionRequestMirrorPolicyAttributes) InternalRef

func (PathMatcherPathRuleRouteActionRequestMirrorPolicyAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionRequestMirrorPolicyAttributes) InternalWithRef

type PathMatcherPathRuleRouteActionRequestMirrorPolicyState

type PathMatcherPathRuleRouteActionRequestMirrorPolicyState struct {
	BackendService string `json:"backend_service"`
}

type PathMatcherPathRuleRouteActionRetryPolicy

type PathMatcherPathRuleRouteActionRetryPolicy struct {
	// NumRetries: number, optional
	NumRetries terra.NumberValue `hcl:"num_retries,attr"`
	// RetryConditions: list of string, optional
	RetryConditions terra.ListValue[terra.StringValue] `hcl:"retry_conditions,attr"`
	// PathMatcherPathRule867260A6: optional
	PerTryTimeout *PathMatcherPathRule867260A6 `hcl:"per_try_timeout,block"`
}

type PathMatcherPathRuleRouteActionRetryPolicyAttributes

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

func (PathMatcherPathRuleRouteActionRetryPolicyAttributes) InternalRef

func (PathMatcherPathRuleRouteActionRetryPolicyAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionRetryPolicyAttributes) InternalWithRef

func (PathMatcherPathRuleRouteActionRetryPolicyAttributes) NumRetries

func (PathMatcherPathRuleRouteActionRetryPolicyAttributes) PerTryTimeout

func (PathMatcherPathRuleRouteActionRetryPolicyAttributes) RetryConditions

type PathMatcherPathRuleRouteActionRetryPolicyState

type PathMatcherPathRuleRouteActionRetryPolicyState struct {
	NumRetries      float64                            `json:"num_retries"`
	RetryConditions []string                           `json:"retry_conditions"`
	PerTryTimeout   []PathMatcherPathRule867260A6State `json:"per_try_timeout"`
}

type PathMatcherPathRuleRouteActionState

type PathMatcherPathRuleRouteActionState struct {
	CorsPolicy              []PathMatcherPathRuleRouteActionCorsPolicyState              `json:"cors_policy"`
	FaultInjectionPolicy    []PathMatcherPathRuleRouteActionFaultInjectionPolicyState    `json:"fault_injection_policy"`
	RequestMirrorPolicy     []PathMatcherPathRuleRouteActionRequestMirrorPolicyState     `json:"request_mirror_policy"`
	RetryPolicy             []PathMatcherPathRuleRouteActionRetryPolicyState             `json:"retry_policy"`
	Timeout                 []PathMatcherPathRuleRouteActionTimeoutState                 `json:"timeout"`
	UrlRewrite              []PathMatcherPathRuleRouteActionUrlRewriteState              `json:"url_rewrite"`
	WeightedBackendServices []PathMatcherPathRuleRouteActionWeightedBackendServicesState `json:"weighted_backend_services"`
}

type PathMatcherPathRuleRouteActionTimeout

type PathMatcherPathRuleRouteActionTimeout struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, required
	Seconds terra.StringValue `hcl:"seconds,attr" validate:"required"`
}

type PathMatcherPathRuleRouteActionTimeoutAttributes

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

func (PathMatcherPathRuleRouteActionTimeoutAttributes) InternalRef

func (PathMatcherPathRuleRouteActionTimeoutAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionTimeoutAttributes) InternalWithRef

func (PathMatcherPathRuleRouteActionTimeoutAttributes) Nanos

func (PathMatcherPathRuleRouteActionTimeoutAttributes) Seconds

type PathMatcherPathRuleRouteActionTimeoutState

type PathMatcherPathRuleRouteActionTimeoutState struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type PathMatcherPathRuleRouteActionUrlRewrite

type PathMatcherPathRuleRouteActionUrlRewrite struct {
	// HostRewrite: string, optional
	HostRewrite terra.StringValue `hcl:"host_rewrite,attr"`
	// PathPrefixRewrite: string, optional
	PathPrefixRewrite terra.StringValue `hcl:"path_prefix_rewrite,attr"`
}

type PathMatcherPathRuleRouteActionUrlRewriteAttributes

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

func (PathMatcherPathRuleRouteActionUrlRewriteAttributes) HostRewrite

func (PathMatcherPathRuleRouteActionUrlRewriteAttributes) InternalRef

func (PathMatcherPathRuleRouteActionUrlRewriteAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionUrlRewriteAttributes) InternalWithRef

func (PathMatcherPathRuleRouteActionUrlRewriteAttributes) PathPrefixRewrite

type PathMatcherPathRuleRouteActionUrlRewriteState

type PathMatcherPathRuleRouteActionUrlRewriteState struct {
	HostRewrite       string `json:"host_rewrite"`
	PathPrefixRewrite string `json:"path_prefix_rewrite"`
}

type PathMatcherPathRuleRouteActionWeightedBackendServices

type PathMatcherPathRuleRouteActionWeightedBackendServices struct {
	// BackendService: string, required
	BackendService terra.StringValue `hcl:"backend_service,attr" validate:"required"`
	// Weight: number, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
	// PathMatcherPathRuleBee7358B: optional
	HeaderAction *PathMatcherPathRuleBee7358B `hcl:"header_action,block"`
}

type PathMatcherPathRuleRouteActionWeightedBackendServicesAttributes

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

func (PathMatcherPathRuleRouteActionWeightedBackendServicesAttributes) BackendService

func (PathMatcherPathRuleRouteActionWeightedBackendServicesAttributes) HeaderAction

func (PathMatcherPathRuleRouteActionWeightedBackendServicesAttributes) InternalRef

func (PathMatcherPathRuleRouteActionWeightedBackendServicesAttributes) InternalTokens

func (PathMatcherPathRuleRouteActionWeightedBackendServicesAttributes) InternalWithRef

func (PathMatcherPathRuleRouteActionWeightedBackendServicesAttributes) Weight

type PathMatcherPathRuleRouteActionWeightedBackendServicesState

type PathMatcherPathRuleRouteActionWeightedBackendServicesState struct {
	BackendService string                             `json:"backend_service"`
	Weight         float64                            `json:"weight"`
	HeaderAction   []PathMatcherPathRuleBee7358BState `json:"header_action"`
}

type PathMatcherPathRuleState

type PathMatcherPathRuleState struct {
	Paths       []string                              `json:"paths"`
	Service     string                                `json:"service"`
	RouteAction []PathMatcherPathRuleRouteActionState `json:"route_action"`
	UrlRedirect []PathMatcherPathRuleUrlRedirectState `json:"url_redirect"`
}

type PathMatcherPathRuleUrlRedirect

type PathMatcherPathRuleUrlRedirect struct {
	// HostRedirect: string, optional
	HostRedirect terra.StringValue `hcl:"host_redirect,attr"`
	// HttpsRedirect: bool, optional
	HttpsRedirect terra.BoolValue `hcl:"https_redirect,attr"`
	// PathRedirect: string, optional
	PathRedirect terra.StringValue `hcl:"path_redirect,attr"`
	// PrefixRedirect: string, optional
	PrefixRedirect terra.StringValue `hcl:"prefix_redirect,attr"`
	// RedirectResponseCode: string, optional
	RedirectResponseCode terra.StringValue `hcl:"redirect_response_code,attr"`
	// StripQuery: bool, required
	StripQuery terra.BoolValue `hcl:"strip_query,attr" validate:"required"`
}

type PathMatcherPathRuleUrlRedirectAttributes

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

func (PathMatcherPathRuleUrlRedirectAttributes) HostRedirect

func (PathMatcherPathRuleUrlRedirectAttributes) HttpsRedirect

func (PathMatcherPathRuleUrlRedirectAttributes) InternalRef

func (PathMatcherPathRuleUrlRedirectAttributes) InternalTokens

func (PathMatcherPathRuleUrlRedirectAttributes) InternalWithRef

func (PathMatcherPathRuleUrlRedirectAttributes) PathRedirect

func (PathMatcherPathRuleUrlRedirectAttributes) PrefixRedirect

func (PathMatcherPathRuleUrlRedirectAttributes) RedirectResponseCode

func (PathMatcherPathRuleUrlRedirectAttributes) StripQuery

type PathMatcherPathRuleUrlRedirectState

type PathMatcherPathRuleUrlRedirectState struct {
	HostRedirect         string `json:"host_redirect"`
	HttpsRedirect        bool   `json:"https_redirect"`
	PathRedirect         string `json:"path_redirect"`
	PrefixRedirect       string `json:"prefix_redirect"`
	RedirectResponseCode string `json:"redirect_response_code"`
	StripQuery           bool   `json:"strip_query"`
}

type PathMatcherRouteRules

type PathMatcherRouteRules struct {
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// Service: string, optional
	Service terra.StringValue `hcl:"service,attr"`
	// PathMatcherRouteRulesHeaderAction: optional
	HeaderAction *PathMatcherRouteRulesHeaderAction `hcl:"header_action,block"`
	// PathMatcherRouteRulesMatchRules: min=0
	MatchRules []PathMatcherRouteRulesMatchRules `hcl:"match_rules,block" validate:"min=0"`
	// PathMatcherRouteRulesRouteAction: optional
	RouteAction *PathMatcherRouteRulesRouteAction `hcl:"route_action,block"`
	// PathMatcherRouteRulesUrlRedirect: optional
	UrlRedirect *PathMatcherRouteRulesUrlRedirect `hcl:"url_redirect,block"`
}

type PathMatcherRouteRules3F069F0E

type PathMatcherRouteRules3F069F0E struct {
	// HeaderName: string, required
	HeaderName terra.StringValue `hcl:"header_name,attr" validate:"required"`
	// HeaderValue: string, required
	HeaderValue terra.StringValue `hcl:"header_value,attr" validate:"required"`
	// Replace: bool, required
	Replace terra.BoolValue `hcl:"replace,attr" validate:"required"`
}

type PathMatcherRouteRules3F069F0EAttributes

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

func (PathMatcherRouteRules3F069F0EAttributes) HeaderName

func (PathMatcherRouteRules3F069F0EAttributes) HeaderValue

func (PathMatcherRouteRules3F069F0EAttributes) InternalRef

func (PathMatcherRouteRules3F069F0EAttributes) InternalTokens

func (PathMatcherRouteRules3F069F0EAttributes) InternalWithRef

func (PathMatcherRouteRules3F069F0EAttributes) Replace

type PathMatcherRouteRules3F069F0EState

type PathMatcherRouteRules3F069F0EState struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type PathMatcherRouteRules8422D1E5

type PathMatcherRouteRules8422D1E5 struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, required
	Seconds terra.StringValue `hcl:"seconds,attr" validate:"required"`
}

type PathMatcherRouteRules8422D1E5Attributes

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

func (PathMatcherRouteRules8422D1E5Attributes) InternalRef

func (PathMatcherRouteRules8422D1E5Attributes) InternalTokens

func (PathMatcherRouteRules8422D1E5Attributes) InternalWithRef

func (PathMatcherRouteRules8422D1E5Attributes) Nanos

func (PathMatcherRouteRules8422D1E5Attributes) Seconds

type PathMatcherRouteRules8422D1E5State

type PathMatcherRouteRules8422D1E5State struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type PathMatcherRouteRules867260A6

type PathMatcherRouteRules867260A6 struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, required
	Seconds terra.StringValue `hcl:"seconds,attr" validate:"required"`
}

type PathMatcherRouteRules867260A6Attributes

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

func (PathMatcherRouteRules867260A6Attributes) InternalRef

func (PathMatcherRouteRules867260A6Attributes) InternalTokens

func (PathMatcherRouteRules867260A6Attributes) InternalWithRef

func (PathMatcherRouteRules867260A6Attributes) Nanos

func (PathMatcherRouteRules867260A6Attributes) Seconds

type PathMatcherRouteRules867260A6State

type PathMatcherRouteRules867260A6State struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type PathMatcherRouteRulesAttributes

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

func (PathMatcherRouteRulesAttributes) HeaderAction

func (PathMatcherRouteRulesAttributes) InternalRef

func (PathMatcherRouteRulesAttributes) InternalTokens

func (rr PathMatcherRouteRulesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PathMatcherRouteRulesAttributes) InternalWithRef

func (PathMatcherRouteRulesAttributes) MatchRules

func (PathMatcherRouteRulesAttributes) Priority

func (PathMatcherRouteRulesAttributes) RouteAction

func (PathMatcherRouteRulesAttributes) Service

func (PathMatcherRouteRulesAttributes) UrlRedirect

type PathMatcherRouteRulesBee7358B

type PathMatcherRouteRulesBee7358B struct {
	// RequestHeadersToRemove: list of string, optional
	RequestHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"request_headers_to_remove,attr"`
	// ResponseHeadersToRemove: list of string, optional
	ResponseHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"response_headers_to_remove,attr"`
	// PathMatcherRouteRules3F069F0E: min=0
	RequestHeadersToAdd []PathMatcherRouteRules3F069F0E `hcl:"request_headers_to_add,block" validate:"min=0"`
	// PathMatcherRouteRulesD4A4D480: min=0
	ResponseHeadersToAdd []PathMatcherRouteRulesD4A4D480 `hcl:"response_headers_to_add,block" validate:"min=0"`
}

type PathMatcherRouteRulesBee7358BAttributes

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

func (PathMatcherRouteRulesBee7358BAttributes) InternalRef

func (PathMatcherRouteRulesBee7358BAttributes) InternalTokens

func (PathMatcherRouteRulesBee7358BAttributes) InternalWithRef

func (PathMatcherRouteRulesBee7358BAttributes) RequestHeadersToAdd

func (PathMatcherRouteRulesBee7358BAttributes) RequestHeadersToRemove

func (PathMatcherRouteRulesBee7358BAttributes) ResponseHeadersToAdd

func (PathMatcherRouteRulesBee7358BAttributes) ResponseHeadersToRemove

type PathMatcherRouteRulesBee7358BState

type PathMatcherRouteRulesBee7358BState struct {
	RequestHeadersToRemove  []string                             `json:"request_headers_to_remove"`
	ResponseHeadersToRemove []string                             `json:"response_headers_to_remove"`
	RequestHeadersToAdd     []PathMatcherRouteRules3F069F0EState `json:"request_headers_to_add"`
	ResponseHeadersToAdd    []PathMatcherRouteRulesD4A4D480State `json:"response_headers_to_add"`
}

type PathMatcherRouteRulesCa6Fd7F0

type PathMatcherRouteRulesCa6Fd7F0 struct {
	// HttpStatus: number, optional
	HttpStatus terra.NumberValue `hcl:"http_status,attr"`
	// Percentage: number, optional
	Percentage terra.NumberValue `hcl:"percentage,attr"`
}

type PathMatcherRouteRulesCa6Fd7F0Attributes

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

func (PathMatcherRouteRulesCa6Fd7F0Attributes) HttpStatus

func (PathMatcherRouteRulesCa6Fd7F0Attributes) InternalRef

func (PathMatcherRouteRulesCa6Fd7F0Attributes) InternalTokens

func (PathMatcherRouteRulesCa6Fd7F0Attributes) InternalWithRef

func (PathMatcherRouteRulesCa6Fd7F0Attributes) Percentage

type PathMatcherRouteRulesCa6Fd7F0State

type PathMatcherRouteRulesCa6Fd7F0State struct {
	HttpStatus float64 `json:"http_status"`
	Percentage float64 `json:"percentage"`
}

type PathMatcherRouteRulesCca2E374

type PathMatcherRouteRulesCca2E374 struct {
	// Percentage: number, optional
	Percentage terra.NumberValue `hcl:"percentage,attr"`
	// PathMatcherRouteRules8422D1E5: optional
	FixedDelay *PathMatcherRouteRules8422D1E5 `hcl:"fixed_delay,block"`
}

type PathMatcherRouteRulesCca2E374Attributes

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

func (PathMatcherRouteRulesCca2E374Attributes) FixedDelay

func (PathMatcherRouteRulesCca2E374Attributes) InternalRef

func (PathMatcherRouteRulesCca2E374Attributes) InternalTokens

func (PathMatcherRouteRulesCca2E374Attributes) InternalWithRef

func (PathMatcherRouteRulesCca2E374Attributes) Percentage

type PathMatcherRouteRulesCca2E374State

type PathMatcherRouteRulesCca2E374State struct {
	Percentage float64                              `json:"percentage"`
	FixedDelay []PathMatcherRouteRules8422D1E5State `json:"fixed_delay"`
}

type PathMatcherRouteRulesCd026639

type PathMatcherRouteRulesCd026639 struct {
	// RangeEnd: number, required
	RangeEnd terra.NumberValue `hcl:"range_end,attr" validate:"required"`
	// RangeStart: number, required
	RangeStart terra.NumberValue `hcl:"range_start,attr" validate:"required"`
}

type PathMatcherRouteRulesCd026639Attributes

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

func (PathMatcherRouteRulesCd026639Attributes) InternalRef

func (PathMatcherRouteRulesCd026639Attributes) InternalTokens

func (PathMatcherRouteRulesCd026639Attributes) InternalWithRef

func (PathMatcherRouteRulesCd026639Attributes) RangeEnd

func (PathMatcherRouteRulesCd026639Attributes) RangeStart

type PathMatcherRouteRulesCd026639State

type PathMatcherRouteRulesCd026639State struct {
	RangeEnd   float64 `json:"range_end"`
	RangeStart float64 `json:"range_start"`
}

type PathMatcherRouteRulesCf4Abc68

type PathMatcherRouteRulesCf4Abc68 struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type PathMatcherRouteRulesCf4Abc68Attributes

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

func (PathMatcherRouteRulesCf4Abc68Attributes) InternalRef

func (PathMatcherRouteRulesCf4Abc68Attributes) InternalTokens

func (PathMatcherRouteRulesCf4Abc68Attributes) InternalWithRef

func (PathMatcherRouteRulesCf4Abc68Attributes) Name

func (PathMatcherRouteRulesCf4Abc68Attributes) Value

type PathMatcherRouteRulesCf4Abc68State

type PathMatcherRouteRulesCf4Abc68State struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type PathMatcherRouteRulesD4A4D480

type PathMatcherRouteRulesD4A4D480 struct {
	// HeaderName: string, required
	HeaderName terra.StringValue `hcl:"header_name,attr" validate:"required"`
	// HeaderValue: string, required
	HeaderValue terra.StringValue `hcl:"header_value,attr" validate:"required"`
	// Replace: bool, required
	Replace terra.BoolValue `hcl:"replace,attr" validate:"required"`
}

type PathMatcherRouteRulesD4A4D480Attributes

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

func (PathMatcherRouteRulesD4A4D480Attributes) HeaderName

func (PathMatcherRouteRulesD4A4D480Attributes) HeaderValue

func (PathMatcherRouteRulesD4A4D480Attributes) InternalRef

func (PathMatcherRouteRulesD4A4D480Attributes) InternalTokens

func (PathMatcherRouteRulesD4A4D480Attributes) InternalWithRef

func (PathMatcherRouteRulesD4A4D480Attributes) Replace

type PathMatcherRouteRulesD4A4D480State

type PathMatcherRouteRulesD4A4D480State struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type PathMatcherRouteRulesHeaderAction

type PathMatcherRouteRulesHeaderAction struct {
	// RequestHeadersToRemove: list of string, optional
	RequestHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"request_headers_to_remove,attr"`
	// ResponseHeadersToRemove: list of string, optional
	ResponseHeadersToRemove terra.ListValue[terra.StringValue] `hcl:"response_headers_to_remove,attr"`
	// PathMatcherRouteRulesHeaderActionRequestHeadersToAdd: min=0
	RequestHeadersToAdd []PathMatcherRouteRulesHeaderActionRequestHeadersToAdd `hcl:"request_headers_to_add,block" validate:"min=0"`
	// PathMatcherRouteRulesHeaderActionResponseHeadersToAdd: min=0
	ResponseHeadersToAdd []PathMatcherRouteRulesHeaderActionResponseHeadersToAdd `hcl:"response_headers_to_add,block" validate:"min=0"`
}

type PathMatcherRouteRulesHeaderActionAttributes

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

func (PathMatcherRouteRulesHeaderActionAttributes) InternalRef

func (PathMatcherRouteRulesHeaderActionAttributes) InternalTokens

func (PathMatcherRouteRulesHeaderActionAttributes) InternalWithRef

func (PathMatcherRouteRulesHeaderActionAttributes) RequestHeadersToRemove

func (PathMatcherRouteRulesHeaderActionAttributes) ResponseHeadersToRemove

type PathMatcherRouteRulesHeaderActionRequestHeadersToAdd

type PathMatcherRouteRulesHeaderActionRequestHeadersToAdd struct {
	// HeaderName: string, required
	HeaderName terra.StringValue `hcl:"header_name,attr" validate:"required"`
	// HeaderValue: string, required
	HeaderValue terra.StringValue `hcl:"header_value,attr" validate:"required"`
	// Replace: bool, required
	Replace terra.BoolValue `hcl:"replace,attr" validate:"required"`
}

type PathMatcherRouteRulesHeaderActionRequestHeadersToAddAttributes

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

func (PathMatcherRouteRulesHeaderActionRequestHeadersToAddAttributes) HeaderName

func (PathMatcherRouteRulesHeaderActionRequestHeadersToAddAttributes) HeaderValue

func (PathMatcherRouteRulesHeaderActionRequestHeadersToAddAttributes) InternalRef

func (PathMatcherRouteRulesHeaderActionRequestHeadersToAddAttributes) InternalTokens

func (PathMatcherRouteRulesHeaderActionRequestHeadersToAddAttributes) InternalWithRef

func (PathMatcherRouteRulesHeaderActionRequestHeadersToAddAttributes) Replace

type PathMatcherRouteRulesHeaderActionRequestHeadersToAddState

type PathMatcherRouteRulesHeaderActionRequestHeadersToAddState struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type PathMatcherRouteRulesHeaderActionResponseHeadersToAdd

type PathMatcherRouteRulesHeaderActionResponseHeadersToAdd struct {
	// HeaderName: string, required
	HeaderName terra.StringValue `hcl:"header_name,attr" validate:"required"`
	// HeaderValue: string, required
	HeaderValue terra.StringValue `hcl:"header_value,attr" validate:"required"`
	// Replace: bool, required
	Replace terra.BoolValue `hcl:"replace,attr" validate:"required"`
}

type PathMatcherRouteRulesHeaderActionResponseHeadersToAddAttributes

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

func (PathMatcherRouteRulesHeaderActionResponseHeadersToAddAttributes) HeaderName

func (PathMatcherRouteRulesHeaderActionResponseHeadersToAddAttributes) HeaderValue

func (PathMatcherRouteRulesHeaderActionResponseHeadersToAddAttributes) InternalRef

func (PathMatcherRouteRulesHeaderActionResponseHeadersToAddAttributes) InternalTokens

func (PathMatcherRouteRulesHeaderActionResponseHeadersToAddAttributes) InternalWithRef

func (PathMatcherRouteRulesHeaderActionResponseHeadersToAddAttributes) Replace

type PathMatcherRouteRulesHeaderActionResponseHeadersToAddState

type PathMatcherRouteRulesHeaderActionResponseHeadersToAddState struct {
	HeaderName  string `json:"header_name"`
	HeaderValue string `json:"header_value"`
	Replace     bool   `json:"replace"`
}

type PathMatcherRouteRulesHeaderActionState

type PathMatcherRouteRulesHeaderActionState struct {
	RequestHeadersToRemove  []string                                                     `json:"request_headers_to_remove"`
	ResponseHeadersToRemove []string                                                     `json:"response_headers_to_remove"`
	RequestHeadersToAdd     []PathMatcherRouteRulesHeaderActionRequestHeadersToAddState  `json:"request_headers_to_add"`
	ResponseHeadersToAdd    []PathMatcherRouteRulesHeaderActionResponseHeadersToAddState `json:"response_headers_to_add"`
}

type PathMatcherRouteRulesMatchRules

type PathMatcherRouteRulesMatchRules struct {
	// FullPathMatch: string, optional
	FullPathMatch terra.StringValue `hcl:"full_path_match,attr"`
	// IgnoreCase: bool, optional
	IgnoreCase terra.BoolValue `hcl:"ignore_case,attr"`
	// PathTemplateMatch: string, optional
	PathTemplateMatch terra.StringValue `hcl:"path_template_match,attr"`
	// PrefixMatch: string, optional
	PrefixMatch terra.StringValue `hcl:"prefix_match,attr"`
	// RegexMatch: string, optional
	RegexMatch terra.StringValue `hcl:"regex_match,attr"`
	// PathMatcherRouteRulesMatchRulesHeaderMatches: min=0
	HeaderMatches []PathMatcherRouteRulesMatchRulesHeaderMatches `hcl:"header_matches,block" validate:"min=0"`
	// PathMatcherRouteRulesMatchRulesMetadataFilters: min=0
	MetadataFilters []PathMatcherRouteRulesMatchRulesMetadataFilters `hcl:"metadata_filters,block" validate:"min=0"`
	// PathMatcherRouteRulesMatchRulesQueryParameterMatches: min=0
	QueryParameterMatches []PathMatcherRouteRulesMatchRulesQueryParameterMatches `hcl:"query_parameter_matches,block" validate:"min=0"`
}

type PathMatcherRouteRulesMatchRulesAttributes

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

func (PathMatcherRouteRulesMatchRulesAttributes) FullPathMatch

func (PathMatcherRouteRulesMatchRulesAttributes) HeaderMatches

func (PathMatcherRouteRulesMatchRulesAttributes) IgnoreCase

func (PathMatcherRouteRulesMatchRulesAttributes) InternalRef

func (PathMatcherRouteRulesMatchRulesAttributes) InternalTokens

func (PathMatcherRouteRulesMatchRulesAttributes) InternalWithRef

func (PathMatcherRouteRulesMatchRulesAttributes) PathTemplateMatch

func (PathMatcherRouteRulesMatchRulesAttributes) PrefixMatch

func (PathMatcherRouteRulesMatchRulesAttributes) RegexMatch

type PathMatcherRouteRulesMatchRulesHeaderMatches

type PathMatcherRouteRulesMatchRulesHeaderMatches struct {
	// ExactMatch: string, optional
	ExactMatch terra.StringValue `hcl:"exact_match,attr"`
	// HeaderName: string, required
	HeaderName terra.StringValue `hcl:"header_name,attr" validate:"required"`
	// InvertMatch: bool, optional
	InvertMatch terra.BoolValue `hcl:"invert_match,attr"`
	// PrefixMatch: string, optional
	PrefixMatch terra.StringValue `hcl:"prefix_match,attr"`
	// PresentMatch: bool, optional
	PresentMatch terra.BoolValue `hcl:"present_match,attr"`
	// RegexMatch: string, optional
	RegexMatch terra.StringValue `hcl:"regex_match,attr"`
	// SuffixMatch: string, optional
	SuffixMatch terra.StringValue `hcl:"suffix_match,attr"`
	// PathMatcherRouteRulesCd026639: optional
	RangeMatch *PathMatcherRouteRulesCd026639 `hcl:"range_match,block"`
}

type PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes

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

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) ExactMatch

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) HeaderName

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) InternalRef

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) InternalTokens

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) InternalWithRef

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) InvertMatch

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) PrefixMatch

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) PresentMatch

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) RangeMatch

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) RegexMatch

func (PathMatcherRouteRulesMatchRulesHeaderMatchesAttributes) SuffixMatch

type PathMatcherRouteRulesMatchRulesHeaderMatchesState

type PathMatcherRouteRulesMatchRulesHeaderMatchesState struct {
	ExactMatch   string                               `json:"exact_match"`
	HeaderName   string                               `json:"header_name"`
	InvertMatch  bool                                 `json:"invert_match"`
	PrefixMatch  string                               `json:"prefix_match"`
	PresentMatch bool                                 `json:"present_match"`
	RegexMatch   string                               `json:"regex_match"`
	SuffixMatch  string                               `json:"suffix_match"`
	RangeMatch   []PathMatcherRouteRulesCd026639State `json:"range_match"`
}

type PathMatcherRouteRulesMatchRulesMetadataFilters

type PathMatcherRouteRulesMatchRulesMetadataFilters struct {
	// FilterMatchCriteria: string, required
	FilterMatchCriteria terra.StringValue `hcl:"filter_match_criteria,attr" validate:"required"`
	// PathMatcherRouteRulesCf4Abc68: min=1,max=64
	FilterLabels []PathMatcherRouteRulesCf4Abc68 `hcl:"filter_labels,block" validate:"min=1,max=64"`
}

type PathMatcherRouteRulesMatchRulesMetadataFiltersAttributes

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

func (PathMatcherRouteRulesMatchRulesMetadataFiltersAttributes) FilterLabels

func (PathMatcherRouteRulesMatchRulesMetadataFiltersAttributes) FilterMatchCriteria

func (PathMatcherRouteRulesMatchRulesMetadataFiltersAttributes) InternalRef

func (PathMatcherRouteRulesMatchRulesMetadataFiltersAttributes) InternalTokens

func (PathMatcherRouteRulesMatchRulesMetadataFiltersAttributes) InternalWithRef

type PathMatcherRouteRulesMatchRulesMetadataFiltersState

type PathMatcherRouteRulesMatchRulesMetadataFiltersState struct {
	FilterMatchCriteria string                               `json:"filter_match_criteria"`
	FilterLabels        []PathMatcherRouteRulesCf4Abc68State `json:"filter_labels"`
}

type PathMatcherRouteRulesMatchRulesQueryParameterMatches

type PathMatcherRouteRulesMatchRulesQueryParameterMatches struct {
	// ExactMatch: string, optional
	ExactMatch terra.StringValue `hcl:"exact_match,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PresentMatch: bool, optional
	PresentMatch terra.BoolValue `hcl:"present_match,attr"`
	// RegexMatch: string, optional
	RegexMatch terra.StringValue `hcl:"regex_match,attr"`
}

type PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes

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

func (PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes) ExactMatch

func (PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes) InternalRef

func (PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes) InternalTokens

func (PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes) InternalWithRef

func (PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes) Name

func (PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes) PresentMatch

func (PathMatcherRouteRulesMatchRulesQueryParameterMatchesAttributes) RegexMatch

type PathMatcherRouteRulesMatchRulesQueryParameterMatchesState

type PathMatcherRouteRulesMatchRulesQueryParameterMatchesState struct {
	ExactMatch   string `json:"exact_match"`
	Name         string `json:"name"`
	PresentMatch bool   `json:"present_match"`
	RegexMatch   string `json:"regex_match"`
}

type PathMatcherRouteRulesMatchRulesState

type PathMatcherRouteRulesMatchRulesState struct {
	FullPathMatch         string                                                      `json:"full_path_match"`
	IgnoreCase            bool                                                        `json:"ignore_case"`
	PathTemplateMatch     string                                                      `json:"path_template_match"`
	PrefixMatch           string                                                      `json:"prefix_match"`
	RegexMatch            string                                                      `json:"regex_match"`
	HeaderMatches         []PathMatcherRouteRulesMatchRulesHeaderMatchesState         `json:"header_matches"`
	MetadataFilters       []PathMatcherRouteRulesMatchRulesMetadataFiltersState       `json:"metadata_filters"`
	QueryParameterMatches []PathMatcherRouteRulesMatchRulesQueryParameterMatchesState `json:"query_parameter_matches"`
}

type PathMatcherRouteRulesRouteAction

type PathMatcherRouteRulesRouteAction struct {
	// PathMatcherRouteRulesRouteActionCorsPolicy: optional
	CorsPolicy *PathMatcherRouteRulesRouteActionCorsPolicy `hcl:"cors_policy,block"`
	// PathMatcherRouteRulesRouteActionFaultInjectionPolicy: optional
	FaultInjectionPolicy *PathMatcherRouteRulesRouteActionFaultInjectionPolicy `hcl:"fault_injection_policy,block"`
	// PathMatcherRouteRulesRouteActionRequestMirrorPolicy: optional
	RequestMirrorPolicy *PathMatcherRouteRulesRouteActionRequestMirrorPolicy `hcl:"request_mirror_policy,block"`
	// PathMatcherRouteRulesRouteActionRetryPolicy: optional
	RetryPolicy *PathMatcherRouteRulesRouteActionRetryPolicy `hcl:"retry_policy,block"`
	// PathMatcherRouteRulesRouteActionTimeout: optional
	Timeout *PathMatcherRouteRulesRouteActionTimeout `hcl:"timeout,block"`
	// PathMatcherRouteRulesRouteActionUrlRewrite: optional
	UrlRewrite *PathMatcherRouteRulesRouteActionUrlRewrite `hcl:"url_rewrite,block"`
	// PathMatcherRouteRulesRouteActionWeightedBackendServices: min=0
	WeightedBackendServices []PathMatcherRouteRulesRouteActionWeightedBackendServices `hcl:"weighted_backend_services,block" validate:"min=0"`
}

type PathMatcherRouteRulesRouteActionAttributes

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

func (PathMatcherRouteRulesRouteActionAttributes) CorsPolicy

func (PathMatcherRouteRulesRouteActionAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionAttributes) InternalWithRef

func (PathMatcherRouteRulesRouteActionAttributes) RetryPolicy

func (PathMatcherRouteRulesRouteActionAttributes) Timeout

func (PathMatcherRouteRulesRouteActionAttributes) UrlRewrite

type PathMatcherRouteRulesRouteActionCorsPolicy

type PathMatcherRouteRulesRouteActionCorsPolicy struct {
	// AllowCredentials: bool, optional
	AllowCredentials terra.BoolValue `hcl:"allow_credentials,attr"`
	// AllowHeaders: list of string, optional
	AllowHeaders terra.ListValue[terra.StringValue] `hcl:"allow_headers,attr"`
	// AllowMethods: list of string, optional
	AllowMethods terra.ListValue[terra.StringValue] `hcl:"allow_methods,attr"`
	// AllowOriginRegexes: list of string, optional
	AllowOriginRegexes terra.ListValue[terra.StringValue] `hcl:"allow_origin_regexes,attr"`
	// AllowOrigins: list of string, optional
	AllowOrigins terra.ListValue[terra.StringValue] `hcl:"allow_origins,attr"`
	// Disabled: bool, optional
	Disabled terra.BoolValue `hcl:"disabled,attr"`
	// ExposeHeaders: list of string, optional
	ExposeHeaders terra.ListValue[terra.StringValue] `hcl:"expose_headers,attr"`
	// MaxAge: number, optional
	MaxAge terra.NumberValue `hcl:"max_age,attr"`
}

type PathMatcherRouteRulesRouteActionCorsPolicyAttributes

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

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) AllowCredentials

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) AllowHeaders

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) AllowMethods

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) AllowOriginRegexes

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) AllowOrigins

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) Disabled

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) ExposeHeaders

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) InternalWithRef

func (PathMatcherRouteRulesRouteActionCorsPolicyAttributes) MaxAge

type PathMatcherRouteRulesRouteActionCorsPolicyState

type PathMatcherRouteRulesRouteActionCorsPolicyState struct {
	AllowCredentials   bool     `json:"allow_credentials"`
	AllowHeaders       []string `json:"allow_headers"`
	AllowMethods       []string `json:"allow_methods"`
	AllowOriginRegexes []string `json:"allow_origin_regexes"`
	AllowOrigins       []string `json:"allow_origins"`
	Disabled           bool     `json:"disabled"`
	ExposeHeaders      []string `json:"expose_headers"`
	MaxAge             float64  `json:"max_age"`
}

type PathMatcherRouteRulesRouteActionFaultInjectionPolicy

type PathMatcherRouteRulesRouteActionFaultInjectionPolicy struct {
	// PathMatcherRouteRulesCa6Fd7F0: optional
	Abort *PathMatcherRouteRulesCa6Fd7F0 `hcl:"abort,block"`
	// PathMatcherRouteRulesCca2E374: optional
	Delay *PathMatcherRouteRulesCca2E374 `hcl:"delay,block"`
}

type PathMatcherRouteRulesRouteActionFaultInjectionPolicyAttributes

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

func (PathMatcherRouteRulesRouteActionFaultInjectionPolicyAttributes) Abort

func (PathMatcherRouteRulesRouteActionFaultInjectionPolicyAttributes) Delay

func (PathMatcherRouteRulesRouteActionFaultInjectionPolicyAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionFaultInjectionPolicyAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionFaultInjectionPolicyAttributes) InternalWithRef

type PathMatcherRouteRulesRouteActionFaultInjectionPolicyState

type PathMatcherRouteRulesRouteActionFaultInjectionPolicyState struct {
	Abort []PathMatcherRouteRulesCa6Fd7F0State `json:"abort"`
	Delay []PathMatcherRouteRulesCca2E374State `json:"delay"`
}

type PathMatcherRouteRulesRouteActionRequestMirrorPolicy

type PathMatcherRouteRulesRouteActionRequestMirrorPolicy struct {
	// BackendService: string, required
	BackendService terra.StringValue `hcl:"backend_service,attr" validate:"required"`
}

type PathMatcherRouteRulesRouteActionRequestMirrorPolicyAttributes

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

func (PathMatcherRouteRulesRouteActionRequestMirrorPolicyAttributes) BackendService

func (PathMatcherRouteRulesRouteActionRequestMirrorPolicyAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionRequestMirrorPolicyAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionRequestMirrorPolicyAttributes) InternalWithRef

type PathMatcherRouteRulesRouteActionRequestMirrorPolicyState

type PathMatcherRouteRulesRouteActionRequestMirrorPolicyState struct {
	BackendService string `json:"backend_service"`
}

type PathMatcherRouteRulesRouteActionRetryPolicy

type PathMatcherRouteRulesRouteActionRetryPolicy struct {
	// NumRetries: number, required
	NumRetries terra.NumberValue `hcl:"num_retries,attr" validate:"required"`
	// RetryConditions: list of string, optional
	RetryConditions terra.ListValue[terra.StringValue] `hcl:"retry_conditions,attr"`
	// PathMatcherRouteRules867260A6: optional
	PerTryTimeout *PathMatcherRouteRules867260A6 `hcl:"per_try_timeout,block"`
}

type PathMatcherRouteRulesRouteActionRetryPolicyAttributes

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

func (PathMatcherRouteRulesRouteActionRetryPolicyAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionRetryPolicyAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionRetryPolicyAttributes) InternalWithRef

func (PathMatcherRouteRulesRouteActionRetryPolicyAttributes) NumRetries

func (PathMatcherRouteRulesRouteActionRetryPolicyAttributes) PerTryTimeout

func (PathMatcherRouteRulesRouteActionRetryPolicyAttributes) RetryConditions

type PathMatcherRouteRulesRouteActionRetryPolicyState

type PathMatcherRouteRulesRouteActionRetryPolicyState struct {
	NumRetries      float64                              `json:"num_retries"`
	RetryConditions []string                             `json:"retry_conditions"`
	PerTryTimeout   []PathMatcherRouteRules867260A6State `json:"per_try_timeout"`
}

type PathMatcherRouteRulesRouteActionState

type PathMatcherRouteRulesRouteActionState struct {
	CorsPolicy              []PathMatcherRouteRulesRouteActionCorsPolicyState              `json:"cors_policy"`
	FaultInjectionPolicy    []PathMatcherRouteRulesRouteActionFaultInjectionPolicyState    `json:"fault_injection_policy"`
	RequestMirrorPolicy     []PathMatcherRouteRulesRouteActionRequestMirrorPolicyState     `json:"request_mirror_policy"`
	RetryPolicy             []PathMatcherRouteRulesRouteActionRetryPolicyState             `json:"retry_policy"`
	Timeout                 []PathMatcherRouteRulesRouteActionTimeoutState                 `json:"timeout"`
	UrlRewrite              []PathMatcherRouteRulesRouteActionUrlRewriteState              `json:"url_rewrite"`
	WeightedBackendServices []PathMatcherRouteRulesRouteActionWeightedBackendServicesState `json:"weighted_backend_services"`
}

type PathMatcherRouteRulesRouteActionTimeout

type PathMatcherRouteRulesRouteActionTimeout struct {
	// Nanos: number, optional
	Nanos terra.NumberValue `hcl:"nanos,attr"`
	// Seconds: string, required
	Seconds terra.StringValue `hcl:"seconds,attr" validate:"required"`
}

type PathMatcherRouteRulesRouteActionTimeoutAttributes

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

func (PathMatcherRouteRulesRouteActionTimeoutAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionTimeoutAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionTimeoutAttributes) InternalWithRef

func (PathMatcherRouteRulesRouteActionTimeoutAttributes) Nanos

func (PathMatcherRouteRulesRouteActionTimeoutAttributes) Seconds

type PathMatcherRouteRulesRouteActionTimeoutState

type PathMatcherRouteRulesRouteActionTimeoutState struct {
	Nanos   float64 `json:"nanos"`
	Seconds string  `json:"seconds"`
}

type PathMatcherRouteRulesRouteActionUrlRewrite

type PathMatcherRouteRulesRouteActionUrlRewrite struct {
	// HostRewrite: string, optional
	HostRewrite terra.StringValue `hcl:"host_rewrite,attr"`
	// PathPrefixRewrite: string, optional
	PathPrefixRewrite terra.StringValue `hcl:"path_prefix_rewrite,attr"`
	// PathTemplateRewrite: string, optional
	PathTemplateRewrite terra.StringValue `hcl:"path_template_rewrite,attr"`
}

type PathMatcherRouteRulesRouteActionUrlRewriteAttributes

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

func (PathMatcherRouteRulesRouteActionUrlRewriteAttributes) HostRewrite

func (PathMatcherRouteRulesRouteActionUrlRewriteAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionUrlRewriteAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionUrlRewriteAttributes) InternalWithRef

func (PathMatcherRouteRulesRouteActionUrlRewriteAttributes) PathPrefixRewrite

func (PathMatcherRouteRulesRouteActionUrlRewriteAttributes) PathTemplateRewrite

type PathMatcherRouteRulesRouteActionUrlRewriteState

type PathMatcherRouteRulesRouteActionUrlRewriteState struct {
	HostRewrite         string `json:"host_rewrite"`
	PathPrefixRewrite   string `json:"path_prefix_rewrite"`
	PathTemplateRewrite string `json:"path_template_rewrite"`
}

type PathMatcherRouteRulesRouteActionWeightedBackendServices

type PathMatcherRouteRulesRouteActionWeightedBackendServices struct {
	// BackendService: string, required
	BackendService terra.StringValue `hcl:"backend_service,attr" validate:"required"`
	// Weight: number, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
	// PathMatcherRouteRulesBee7358B: optional
	HeaderAction *PathMatcherRouteRulesBee7358B `hcl:"header_action,block"`
}

type PathMatcherRouteRulesRouteActionWeightedBackendServicesAttributes

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

func (PathMatcherRouteRulesRouteActionWeightedBackendServicesAttributes) BackendService

func (PathMatcherRouteRulesRouteActionWeightedBackendServicesAttributes) HeaderAction

func (PathMatcherRouteRulesRouteActionWeightedBackendServicesAttributes) InternalRef

func (PathMatcherRouteRulesRouteActionWeightedBackendServicesAttributes) InternalTokens

func (PathMatcherRouteRulesRouteActionWeightedBackendServicesAttributes) InternalWithRef

func (PathMatcherRouteRulesRouteActionWeightedBackendServicesAttributes) Weight

type PathMatcherRouteRulesRouteActionWeightedBackendServicesState

type PathMatcherRouteRulesRouteActionWeightedBackendServicesState struct {
	BackendService string                               `json:"backend_service"`
	Weight         float64                              `json:"weight"`
	HeaderAction   []PathMatcherRouteRulesBee7358BState `json:"header_action"`
}

type PathMatcherRouteRulesState

type PathMatcherRouteRulesState struct {
	Priority     float64                                  `json:"priority"`
	Service      string                                   `json:"service"`
	HeaderAction []PathMatcherRouteRulesHeaderActionState `json:"header_action"`
	MatchRules   []PathMatcherRouteRulesMatchRulesState   `json:"match_rules"`
	RouteAction  []PathMatcherRouteRulesRouteActionState  `json:"route_action"`
	UrlRedirect  []PathMatcherRouteRulesUrlRedirectState  `json:"url_redirect"`
}

type PathMatcherRouteRulesUrlRedirect

type PathMatcherRouteRulesUrlRedirect struct {
	// HostRedirect: string, optional
	HostRedirect terra.StringValue `hcl:"host_redirect,attr"`
	// HttpsRedirect: bool, optional
	HttpsRedirect terra.BoolValue `hcl:"https_redirect,attr"`
	// PathRedirect: string, optional
	PathRedirect terra.StringValue `hcl:"path_redirect,attr"`
	// PrefixRedirect: string, optional
	PrefixRedirect terra.StringValue `hcl:"prefix_redirect,attr"`
	// RedirectResponseCode: string, optional
	RedirectResponseCode terra.StringValue `hcl:"redirect_response_code,attr"`
	// StripQuery: bool, optional
	StripQuery terra.BoolValue `hcl:"strip_query,attr"`
}

type PathMatcherRouteRulesUrlRedirectAttributes

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

func (PathMatcherRouteRulesUrlRedirectAttributes) HostRedirect

func (PathMatcherRouteRulesUrlRedirectAttributes) HttpsRedirect

func (PathMatcherRouteRulesUrlRedirectAttributes) InternalRef

func (PathMatcherRouteRulesUrlRedirectAttributes) InternalTokens

func (PathMatcherRouteRulesUrlRedirectAttributes) InternalWithRef

func (PathMatcherRouteRulesUrlRedirectAttributes) PathRedirect

func (PathMatcherRouteRulesUrlRedirectAttributes) PrefixRedirect

func (PathMatcherRouteRulesUrlRedirectAttributes) RedirectResponseCode

func (PathMatcherRouteRulesUrlRedirectAttributes) StripQuery

type PathMatcherRouteRulesUrlRedirectState

type PathMatcherRouteRulesUrlRedirectState struct {
	HostRedirect         string `json:"host_redirect"`
	HttpsRedirect        bool   `json:"https_redirect"`
	PathRedirect         string `json:"path_redirect"`
	PrefixRedirect       string `json:"prefix_redirect"`
	RedirectResponseCode string `json:"redirect_response_code"`
	StripQuery           bool   `json:"strip_query"`
}

type PathMatcherState

type PathMatcherState struct {
	DefaultService     string                               `json:"default_service"`
	Description        string                               `json:"description"`
	Name               string                               `json:"name"`
	DefaultUrlRedirect []PathMatcherDefaultUrlRedirectState `json:"default_url_redirect"`
	PathRule           []PathMatcherPathRuleState           `json:"path_rule"`
	RouteRules         []PathMatcherRouteRulesState         `json:"route_rules"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gcrum *Resource) Attributes() googleComputeRegionUrlMapAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gcrum *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gcrum *Resource) State() (*googleComputeRegionUrlMapState, bool)

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

func (*Resource) StateMust

func (gcrum *Resource) StateMust() *googleComputeRegionUrlMapState

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

func (*Resource) Type

func (gcrum *Resource) Type() string

Type returns the Terraform object type for Resource.

type Test

type Test struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// Service: string, required
	Service terra.StringValue `hcl:"service,attr" validate:"required"`
}

type TestAttributes

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

func (TestAttributes) Description

func (t TestAttributes) Description() terra.StringValue

func (TestAttributes) Host

func (t TestAttributes) Host() terra.StringValue

func (TestAttributes) InternalRef

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

func (TestAttributes) InternalTokens

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

func (TestAttributes) InternalWithRef

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

func (TestAttributes) Path

func (t TestAttributes) Path() terra.StringValue

func (TestAttributes) Service

func (t TestAttributes) Service() terra.StringValue

type TestState

type TestState struct {
	Description string `json:"description"`
	Host        string `json:"host"`
	Path        string `json:"path"`
	Service     string `json:"service"`
}

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