Documentation ¶
Index ¶
- type Args
- type ContentMatchers
- type ContentMatchersAttributes
- func (cm ContentMatchersAttributes) Content() terra.StringValue
- func (cm ContentMatchersAttributes) InternalRef() (terra.Reference, error)
- func (cm ContentMatchersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cm ContentMatchersAttributes) InternalWithRef(ref terra.Reference) ContentMatchersAttributes
- func (cm ContentMatchersAttributes) JsonPathMatcher() terra.ListValue[ContentMatchersJsonPathMatcherAttributes]
- func (cm ContentMatchersAttributes) Matcher() terra.StringValue
- type ContentMatchersJsonPathMatcher
- type ContentMatchersJsonPathMatcherAttributes
- func (jpm ContentMatchersJsonPathMatcherAttributes) InternalRef() (terra.Reference, error)
- func (jpm ContentMatchersJsonPathMatcherAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (jpm ContentMatchersJsonPathMatcherAttributes) InternalWithRef(ref terra.Reference) ContentMatchersJsonPathMatcherAttributes
- func (jpm ContentMatchersJsonPathMatcherAttributes) JsonMatcher() terra.StringValue
- func (jpm ContentMatchersJsonPathMatcherAttributes) JsonPath() terra.StringValue
- type ContentMatchersJsonPathMatcherState
- type ContentMatchersState
- type HttpCheck
- type HttpCheckAcceptedResponseStatusCodes
- type HttpCheckAcceptedResponseStatusCodesAttributes
- func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) InternalRef() (terra.Reference, error)
- func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) InternalWithRef(ref terra.Reference) HttpCheckAcceptedResponseStatusCodesAttributes
- func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) StatusClass() terra.StringValue
- func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) StatusValue() terra.NumberValue
- type HttpCheckAcceptedResponseStatusCodesState
- type HttpCheckAttributes
- func (hc HttpCheckAttributes) AcceptedResponseStatusCodes() terra.ListValue[HttpCheckAcceptedResponseStatusCodesAttributes]
- func (hc HttpCheckAttributes) AuthInfo() terra.ListValue[HttpCheckAuthInfoAttributes]
- func (hc HttpCheckAttributes) Body() terra.StringValue
- func (hc HttpCheckAttributes) ContentType() terra.StringValue
- func (hc HttpCheckAttributes) CustomContentType() terra.StringValue
- func (hc HttpCheckAttributes) Headers() terra.MapValue[terra.StringValue]
- func (hc HttpCheckAttributes) InternalRef() (terra.Reference, error)
- func (hc HttpCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc HttpCheckAttributes) InternalWithRef(ref terra.Reference) HttpCheckAttributes
- func (hc HttpCheckAttributes) MaskHeaders() terra.BoolValue
- func (hc HttpCheckAttributes) Path() terra.StringValue
- func (hc HttpCheckAttributes) PingConfig() terra.ListValue[HttpCheckPingConfigAttributes]
- func (hc HttpCheckAttributes) Port() terra.NumberValue
- func (hc HttpCheckAttributes) RequestMethod() terra.StringValue
- func (hc HttpCheckAttributes) UseSsl() terra.BoolValue
- func (hc HttpCheckAttributes) ValidateSsl() terra.BoolValue
- type HttpCheckAuthInfo
- type HttpCheckAuthInfoAttributes
- func (ai HttpCheckAuthInfoAttributes) InternalRef() (terra.Reference, error)
- func (ai HttpCheckAuthInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ai HttpCheckAuthInfoAttributes) InternalWithRef(ref terra.Reference) HttpCheckAuthInfoAttributes
- func (ai HttpCheckAuthInfoAttributes) Password() terra.StringValue
- func (ai HttpCheckAuthInfoAttributes) Username() terra.StringValue
- type HttpCheckAuthInfoState
- type HttpCheckPingConfig
- type HttpCheckPingConfigAttributes
- func (pc HttpCheckPingConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc HttpCheckPingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc HttpCheckPingConfigAttributes) InternalWithRef(ref terra.Reference) HttpCheckPingConfigAttributes
- func (pc HttpCheckPingConfigAttributes) PingsCount() terra.NumberValue
- type HttpCheckPingConfigState
- type HttpCheckState
- type MonitoredResource
- type MonitoredResourceAttributes
- func (mr MonitoredResourceAttributes) InternalRef() (terra.Reference, error)
- func (mr MonitoredResourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mr MonitoredResourceAttributes) InternalWithRef(ref terra.Reference) MonitoredResourceAttributes
- func (mr MonitoredResourceAttributes) Labels() terra.MapValue[terra.StringValue]
- func (mr MonitoredResourceAttributes) Type() terra.StringValue
- type MonitoredResourceState
- type Resource
- func (gmucc *Resource) Attributes() googleMonitoringUptimeCheckConfigAttributes
- func (gmucc *Resource) Configuration() interface{}
- func (gmucc *Resource) DependOn() terra.Reference
- func (gmucc *Resource) Dependencies() terra.Dependencies
- func (gmucc *Resource) ImportState(state io.Reader) error
- func (gmucc *Resource) LifecycleManagement() *terra.Lifecycle
- func (gmucc *Resource) LocalName() string
- func (gmucc *Resource) State() (*googleMonitoringUptimeCheckConfigState, bool)
- func (gmucc *Resource) StateMust() *googleMonitoringUptimeCheckConfigState
- func (gmucc *Resource) Type() string
- type ResourceGroup
- type ResourceGroupAttributes
- func (rg ResourceGroupAttributes) GroupId() terra.StringValue
- func (rg ResourceGroupAttributes) InternalRef() (terra.Reference, error)
- func (rg ResourceGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rg ResourceGroupAttributes) InternalWithRef(ref terra.Reference) ResourceGroupAttributes
- func (rg ResourceGroupAttributes) ResourceType() terra.StringValue
- type ResourceGroupState
- type SyntheticMonitor
- type SyntheticMonitorAttributes
- func (sm SyntheticMonitorAttributes) CloudFunctionV2() terra.ListValue[SyntheticMonitorCloudFunctionV2Attributes]
- func (sm SyntheticMonitorAttributes) InternalRef() (terra.Reference, error)
- func (sm SyntheticMonitorAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sm SyntheticMonitorAttributes) InternalWithRef(ref terra.Reference) SyntheticMonitorAttributes
- type SyntheticMonitorCloudFunctionV2
- type SyntheticMonitorCloudFunctionV2Attributes
- func (cfv SyntheticMonitorCloudFunctionV2Attributes) InternalRef() (terra.Reference, error)
- func (cfv SyntheticMonitorCloudFunctionV2Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (cfv SyntheticMonitorCloudFunctionV2Attributes) InternalWithRef(ref terra.Reference) SyntheticMonitorCloudFunctionV2Attributes
- func (cfv SyntheticMonitorCloudFunctionV2Attributes) Name() terra.StringValue
- type SyntheticMonitorCloudFunctionV2State
- type SyntheticMonitorState
- type TcpCheck
- type TcpCheckAttributes
- func (tc TcpCheckAttributes) InternalRef() (terra.Reference, error)
- func (tc TcpCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tc TcpCheckAttributes) InternalWithRef(ref terra.Reference) TcpCheckAttributes
- func (tc TcpCheckAttributes) PingConfig() terra.ListValue[TcpCheckPingConfigAttributes]
- func (tc TcpCheckAttributes) Port() terra.NumberValue
- type TcpCheckPingConfig
- type TcpCheckPingConfigAttributes
- func (pc TcpCheckPingConfigAttributes) InternalRef() (terra.Reference, error)
- func (pc TcpCheckPingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc TcpCheckPingConfigAttributes) InternalWithRef(ref terra.Reference) TcpCheckPingConfigAttributes
- func (pc TcpCheckPingConfigAttributes) PingsCount() terra.NumberValue
- type TcpCheckPingConfigState
- type TcpCheckState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CheckerType: string, optional CheckerType terra.StringValue `hcl:"checker_type,attr"` // DisplayName: string, required DisplayName terra.StringValue `hcl:"display_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Period: string, optional Period terra.StringValue `hcl:"period,attr"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // SelectedRegions: list of string, optional SelectedRegions terra.ListValue[terra.StringValue] `hcl:"selected_regions,attr"` // Timeout: string, required Timeout terra.StringValue `hcl:"timeout,attr" validate:"required"` // UserLabels: map of string, optional UserLabels terra.MapValue[terra.StringValue] `hcl:"user_labels,attr"` // ContentMatchers: min=0 ContentMatchers []ContentMatchers `hcl:"content_matchers,block" validate:"min=0"` // HttpCheck: optional HttpCheck *HttpCheck `hcl:"http_check,block"` // MonitoredResource: optional MonitoredResource *MonitoredResource `hcl:"monitored_resource,block"` // ResourceGroup: optional ResourceGroup *ResourceGroup `hcl:"resource_group,block"` // SyntheticMonitor: optional SyntheticMonitor *SyntheticMonitor `hcl:"synthetic_monitor,block"` // TcpCheck: optional TcpCheck *TcpCheck `hcl:"tcp_check,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_monitoring_uptime_check_config.
type ContentMatchers ¶
type ContentMatchers struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // Matcher: string, optional Matcher terra.StringValue `hcl:"matcher,attr"` // ContentMatchersJsonPathMatcher: optional JsonPathMatcher *ContentMatchersJsonPathMatcher `hcl:"json_path_matcher,block"` }
type ContentMatchersAttributes ¶
type ContentMatchersAttributes struct {
// contains filtered or unexported fields
}
func (ContentMatchersAttributes) Content ¶
func (cm ContentMatchersAttributes) Content() terra.StringValue
func (ContentMatchersAttributes) InternalRef ¶
func (cm ContentMatchersAttributes) InternalRef() (terra.Reference, error)
func (ContentMatchersAttributes) InternalTokens ¶
func (cm ContentMatchersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContentMatchersAttributes) InternalWithRef ¶
func (cm ContentMatchersAttributes) InternalWithRef(ref terra.Reference) ContentMatchersAttributes
func (ContentMatchersAttributes) JsonPathMatcher ¶
func (cm ContentMatchersAttributes) JsonPathMatcher() terra.ListValue[ContentMatchersJsonPathMatcherAttributes]
func (ContentMatchersAttributes) Matcher ¶
func (cm ContentMatchersAttributes) Matcher() terra.StringValue
type ContentMatchersJsonPathMatcher ¶
type ContentMatchersJsonPathMatcher struct { // JsonMatcher: string, optional JsonMatcher terra.StringValue `hcl:"json_matcher,attr"` // JsonPath: string, required JsonPath terra.StringValue `hcl:"json_path,attr" validate:"required"` }
type ContentMatchersJsonPathMatcherAttributes ¶
type ContentMatchersJsonPathMatcherAttributes struct {
// contains filtered or unexported fields
}
func (ContentMatchersJsonPathMatcherAttributes) InternalRef ¶
func (jpm ContentMatchersJsonPathMatcherAttributes) InternalRef() (terra.Reference, error)
func (ContentMatchersJsonPathMatcherAttributes) InternalTokens ¶
func (jpm ContentMatchersJsonPathMatcherAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContentMatchersJsonPathMatcherAttributes) InternalWithRef ¶
func (jpm ContentMatchersJsonPathMatcherAttributes) InternalWithRef(ref terra.Reference) ContentMatchersJsonPathMatcherAttributes
func (ContentMatchersJsonPathMatcherAttributes) JsonMatcher ¶
func (jpm ContentMatchersJsonPathMatcherAttributes) JsonMatcher() terra.StringValue
func (ContentMatchersJsonPathMatcherAttributes) JsonPath ¶
func (jpm ContentMatchersJsonPathMatcherAttributes) JsonPath() terra.StringValue
type ContentMatchersState ¶
type ContentMatchersState struct { Content string `json:"content"` Matcher string `json:"matcher"` JsonPathMatcher []ContentMatchersJsonPathMatcherState `json:"json_path_matcher"` }
type HttpCheck ¶
type HttpCheck struct { // Body: string, optional Body terra.StringValue `hcl:"body,attr"` // ContentType: string, optional ContentType terra.StringValue `hcl:"content_type,attr"` // CustomContentType: string, optional CustomContentType terra.StringValue `hcl:"custom_content_type,attr"` // Headers: map of string, optional Headers terra.MapValue[terra.StringValue] `hcl:"headers,attr"` // MaskHeaders: bool, optional MaskHeaders terra.BoolValue `hcl:"mask_headers,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // RequestMethod: string, optional RequestMethod terra.StringValue `hcl:"request_method,attr"` // UseSsl: bool, optional UseSsl terra.BoolValue `hcl:"use_ssl,attr"` // ValidateSsl: bool, optional ValidateSsl terra.BoolValue `hcl:"validate_ssl,attr"` // HttpCheckAcceptedResponseStatusCodes: min=0 AcceptedResponseStatusCodes []HttpCheckAcceptedResponseStatusCodes `hcl:"accepted_response_status_codes,block" validate:"min=0"` // HttpCheckAuthInfo: optional AuthInfo *HttpCheckAuthInfo `hcl:"auth_info,block"` // HttpCheckPingConfig: optional PingConfig *HttpCheckPingConfig `hcl:"ping_config,block"` }
type HttpCheckAcceptedResponseStatusCodes ¶
type HttpCheckAcceptedResponseStatusCodes struct { // StatusClass: string, optional StatusClass terra.StringValue `hcl:"status_class,attr"` // StatusValue: number, optional StatusValue terra.NumberValue `hcl:"status_value,attr"` }
type HttpCheckAcceptedResponseStatusCodesAttributes ¶
type HttpCheckAcceptedResponseStatusCodesAttributes struct {
// contains filtered or unexported fields
}
func (HttpCheckAcceptedResponseStatusCodesAttributes) InternalRef ¶
func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) InternalRef() (terra.Reference, error)
func (HttpCheckAcceptedResponseStatusCodesAttributes) InternalTokens ¶
func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpCheckAcceptedResponseStatusCodesAttributes) InternalWithRef ¶
func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) InternalWithRef(ref terra.Reference) HttpCheckAcceptedResponseStatusCodesAttributes
func (HttpCheckAcceptedResponseStatusCodesAttributes) StatusClass ¶
func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) StatusClass() terra.StringValue
func (HttpCheckAcceptedResponseStatusCodesAttributes) StatusValue ¶
func (arsc HttpCheckAcceptedResponseStatusCodesAttributes) StatusValue() terra.NumberValue
type HttpCheckAttributes ¶
type HttpCheckAttributes struct {
// contains filtered or unexported fields
}
func (HttpCheckAttributes) AcceptedResponseStatusCodes ¶
func (hc HttpCheckAttributes) AcceptedResponseStatusCodes() terra.ListValue[HttpCheckAcceptedResponseStatusCodesAttributes]
func (HttpCheckAttributes) AuthInfo ¶
func (hc HttpCheckAttributes) AuthInfo() terra.ListValue[HttpCheckAuthInfoAttributes]
func (HttpCheckAttributes) Body ¶
func (hc HttpCheckAttributes) Body() terra.StringValue
func (HttpCheckAttributes) ContentType ¶
func (hc HttpCheckAttributes) ContentType() terra.StringValue
func (HttpCheckAttributes) CustomContentType ¶
func (hc HttpCheckAttributes) CustomContentType() terra.StringValue
func (HttpCheckAttributes) Headers ¶
func (hc HttpCheckAttributes) Headers() terra.MapValue[terra.StringValue]
func (HttpCheckAttributes) InternalRef ¶
func (hc HttpCheckAttributes) InternalRef() (terra.Reference, error)
func (HttpCheckAttributes) InternalTokens ¶
func (hc HttpCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpCheckAttributes) InternalWithRef ¶
func (hc HttpCheckAttributes) InternalWithRef(ref terra.Reference) HttpCheckAttributes
func (HttpCheckAttributes) MaskHeaders ¶
func (hc HttpCheckAttributes) MaskHeaders() terra.BoolValue
func (HttpCheckAttributes) Path ¶
func (hc HttpCheckAttributes) Path() terra.StringValue
func (HttpCheckAttributes) PingConfig ¶
func (hc HttpCheckAttributes) PingConfig() terra.ListValue[HttpCheckPingConfigAttributes]
func (HttpCheckAttributes) Port ¶
func (hc HttpCheckAttributes) Port() terra.NumberValue
func (HttpCheckAttributes) RequestMethod ¶
func (hc HttpCheckAttributes) RequestMethod() terra.StringValue
func (HttpCheckAttributes) UseSsl ¶
func (hc HttpCheckAttributes) UseSsl() terra.BoolValue
func (HttpCheckAttributes) ValidateSsl ¶
func (hc HttpCheckAttributes) ValidateSsl() terra.BoolValue
type HttpCheckAuthInfo ¶
type HttpCheckAuthInfo struct { // Password: string, required Password terra.StringValue `hcl:"password,attr" validate:"required"` // Username: string, required Username terra.StringValue `hcl:"username,attr" validate:"required"` }
type HttpCheckAuthInfoAttributes ¶
type HttpCheckAuthInfoAttributes struct {
// contains filtered or unexported fields
}
func (HttpCheckAuthInfoAttributes) InternalRef ¶
func (ai HttpCheckAuthInfoAttributes) InternalRef() (terra.Reference, error)
func (HttpCheckAuthInfoAttributes) InternalTokens ¶
func (ai HttpCheckAuthInfoAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpCheckAuthInfoAttributes) InternalWithRef ¶
func (ai HttpCheckAuthInfoAttributes) InternalWithRef(ref terra.Reference) HttpCheckAuthInfoAttributes
func (HttpCheckAuthInfoAttributes) Password ¶
func (ai HttpCheckAuthInfoAttributes) Password() terra.StringValue
func (HttpCheckAuthInfoAttributes) Username ¶
func (ai HttpCheckAuthInfoAttributes) Username() terra.StringValue
type HttpCheckAuthInfoState ¶
type HttpCheckPingConfig ¶
type HttpCheckPingConfig struct { // PingsCount: number, required PingsCount terra.NumberValue `hcl:"pings_count,attr" validate:"required"` }
type HttpCheckPingConfigAttributes ¶
type HttpCheckPingConfigAttributes struct {
// contains filtered or unexported fields
}
func (HttpCheckPingConfigAttributes) InternalRef ¶
func (pc HttpCheckPingConfigAttributes) InternalRef() (terra.Reference, error)
func (HttpCheckPingConfigAttributes) InternalTokens ¶
func (pc HttpCheckPingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HttpCheckPingConfigAttributes) InternalWithRef ¶
func (pc HttpCheckPingConfigAttributes) InternalWithRef(ref terra.Reference) HttpCheckPingConfigAttributes
func (HttpCheckPingConfigAttributes) PingsCount ¶
func (pc HttpCheckPingConfigAttributes) PingsCount() terra.NumberValue
type HttpCheckPingConfigState ¶
type HttpCheckPingConfigState struct {
PingsCount float64 `json:"pings_count"`
}
type HttpCheckState ¶
type HttpCheckState struct { Body string `json:"body"` ContentType string `json:"content_type"` CustomContentType string `json:"custom_content_type"` Headers map[string]string `json:"headers"` MaskHeaders bool `json:"mask_headers"` Path string `json:"path"` Port float64 `json:"port"` RequestMethod string `json:"request_method"` UseSsl bool `json:"use_ssl"` ValidateSsl bool `json:"validate_ssl"` AcceptedResponseStatusCodes []HttpCheckAcceptedResponseStatusCodesState `json:"accepted_response_status_codes"` AuthInfo []HttpCheckAuthInfoState `json:"auth_info"` PingConfig []HttpCheckPingConfigState `json:"ping_config"` }
type MonitoredResource ¶
type MonitoredResource struct { // Labels: map of string, required Labels terra.MapValue[terra.StringValue] `hcl:"labels,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type MonitoredResourceAttributes ¶
type MonitoredResourceAttributes struct {
// contains filtered or unexported fields
}
func (MonitoredResourceAttributes) InternalRef ¶
func (mr MonitoredResourceAttributes) InternalRef() (terra.Reference, error)
func (MonitoredResourceAttributes) InternalTokens ¶
func (mr MonitoredResourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MonitoredResourceAttributes) InternalWithRef ¶
func (mr MonitoredResourceAttributes) InternalWithRef(ref terra.Reference) MonitoredResourceAttributes
func (MonitoredResourceAttributes) Labels ¶
func (mr MonitoredResourceAttributes) Labels() terra.MapValue[terra.StringValue]
func (MonitoredResourceAttributes) Type ¶
func (mr MonitoredResourceAttributes) Type() terra.StringValue
type MonitoredResourceState ¶
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_monitoring_uptime_check_config.
func (*Resource) Attributes ¶
func (gmucc *Resource) Attributes() googleMonitoringUptimeCheckConfigAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gmucc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gmucc *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type ResourceGroup ¶
type ResourceGroup struct { // GroupId: string, optional GroupId terra.StringValue `hcl:"group_id,attr"` // ResourceType: string, optional ResourceType terra.StringValue `hcl:"resource_type,attr"` }
type ResourceGroupAttributes ¶
type ResourceGroupAttributes struct {
// contains filtered or unexported fields
}
func (ResourceGroupAttributes) GroupId ¶
func (rg ResourceGroupAttributes) GroupId() terra.StringValue
func (ResourceGroupAttributes) InternalRef ¶
func (rg ResourceGroupAttributes) InternalRef() (terra.Reference, error)
func (ResourceGroupAttributes) InternalTokens ¶
func (rg ResourceGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourceGroupAttributes) InternalWithRef ¶
func (rg ResourceGroupAttributes) InternalWithRef(ref terra.Reference) ResourceGroupAttributes
func (ResourceGroupAttributes) ResourceType ¶
func (rg ResourceGroupAttributes) ResourceType() terra.StringValue
type ResourceGroupState ¶
type SyntheticMonitor ¶
type SyntheticMonitor struct { // SyntheticMonitorCloudFunctionV2: required CloudFunctionV2 *SyntheticMonitorCloudFunctionV2 `hcl:"cloud_function_v2,block" validate:"required"` }
type SyntheticMonitorAttributes ¶
type SyntheticMonitorAttributes struct {
// contains filtered or unexported fields
}
func (SyntheticMonitorAttributes) CloudFunctionV2 ¶
func (sm SyntheticMonitorAttributes) CloudFunctionV2() terra.ListValue[SyntheticMonitorCloudFunctionV2Attributes]
func (SyntheticMonitorAttributes) InternalRef ¶
func (sm SyntheticMonitorAttributes) InternalRef() (terra.Reference, error)
func (SyntheticMonitorAttributes) InternalTokens ¶
func (sm SyntheticMonitorAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SyntheticMonitorAttributes) InternalWithRef ¶
func (sm SyntheticMonitorAttributes) InternalWithRef(ref terra.Reference) SyntheticMonitorAttributes
type SyntheticMonitorCloudFunctionV2 ¶
type SyntheticMonitorCloudFunctionV2 struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type SyntheticMonitorCloudFunctionV2Attributes ¶
type SyntheticMonitorCloudFunctionV2Attributes struct {
// contains filtered or unexported fields
}
func (SyntheticMonitorCloudFunctionV2Attributes) InternalRef ¶
func (cfv SyntheticMonitorCloudFunctionV2Attributes) InternalRef() (terra.Reference, error)
func (SyntheticMonitorCloudFunctionV2Attributes) InternalTokens ¶
func (cfv SyntheticMonitorCloudFunctionV2Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SyntheticMonitorCloudFunctionV2Attributes) InternalWithRef ¶
func (cfv SyntheticMonitorCloudFunctionV2Attributes) InternalWithRef(ref terra.Reference) SyntheticMonitorCloudFunctionV2Attributes
func (SyntheticMonitorCloudFunctionV2Attributes) Name ¶
func (cfv SyntheticMonitorCloudFunctionV2Attributes) Name() terra.StringValue
type SyntheticMonitorCloudFunctionV2State ¶
type SyntheticMonitorCloudFunctionV2State struct {
Name string `json:"name"`
}
type SyntheticMonitorState ¶
type SyntheticMonitorState struct {
CloudFunctionV2 []SyntheticMonitorCloudFunctionV2State `json:"cloud_function_v2"`
}
type TcpCheck ¶
type TcpCheck struct { // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` // TcpCheckPingConfig: optional PingConfig *TcpCheckPingConfig `hcl:"ping_config,block"` }
type TcpCheckAttributes ¶
type TcpCheckAttributes struct {
// contains filtered or unexported fields
}
func (TcpCheckAttributes) InternalRef ¶
func (tc TcpCheckAttributes) InternalRef() (terra.Reference, error)
func (TcpCheckAttributes) InternalTokens ¶
func (tc TcpCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpCheckAttributes) InternalWithRef ¶
func (tc TcpCheckAttributes) InternalWithRef(ref terra.Reference) TcpCheckAttributes
func (TcpCheckAttributes) PingConfig ¶
func (tc TcpCheckAttributes) PingConfig() terra.ListValue[TcpCheckPingConfigAttributes]
func (TcpCheckAttributes) Port ¶
func (tc TcpCheckAttributes) Port() terra.NumberValue
type TcpCheckPingConfig ¶
type TcpCheckPingConfig struct { // PingsCount: number, required PingsCount terra.NumberValue `hcl:"pings_count,attr" validate:"required"` }
type TcpCheckPingConfigAttributes ¶
type TcpCheckPingConfigAttributes struct {
// contains filtered or unexported fields
}
func (TcpCheckPingConfigAttributes) InternalRef ¶
func (pc TcpCheckPingConfigAttributes) InternalRef() (terra.Reference, error)
func (TcpCheckPingConfigAttributes) InternalTokens ¶
func (pc TcpCheckPingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpCheckPingConfigAttributes) InternalWithRef ¶
func (pc TcpCheckPingConfigAttributes) InternalWithRef(ref terra.Reference) TcpCheckPingConfigAttributes
func (TcpCheckPingConfigAttributes) PingsCount ¶
func (pc TcpCheckPingConfigAttributes) PingsCount() terra.NumberValue
type TcpCheckPingConfigState ¶
type TcpCheckPingConfigState struct {
PingsCount float64 `json:"pings_count"`
}
type TcpCheckState ¶
type TcpCheckState struct { Port float64 `json:"port"` PingConfig []TcpCheckPingConfigState `json:"ping_config"` }
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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.