Documentation ¶
Index ¶
- type Args
- type Match
- type MatchAttributes
- func (m MatchAttributes) DestAddressGroups() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) DestFqdns() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) DestIpRanges() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) DestRegionCodes() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) DestThreatIntelligences() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) InternalRef() (terra.Reference, error)
- func (m MatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MatchAttributes) InternalWithRef(ref terra.Reference) MatchAttributes
- func (m MatchAttributes) Layer4Configs() terra.ListValue[MatchLayer4ConfigsAttributes]
- func (m MatchAttributes) SrcAddressGroups() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) SrcFqdns() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) SrcIpRanges() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) SrcRegionCodes() terra.ListValue[terra.StringValue]
- func (m MatchAttributes) SrcSecureTags() terra.ListValue[MatchSrcSecureTagsAttributes]
- func (m MatchAttributes) SrcThreatIntelligences() terra.ListValue[terra.StringValue]
- type MatchLayer4Configs
- type MatchLayer4ConfigsAttributes
- func (lc MatchLayer4ConfigsAttributes) InternalRef() (terra.Reference, error)
- func (lc MatchLayer4ConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc MatchLayer4ConfigsAttributes) InternalWithRef(ref terra.Reference) MatchLayer4ConfigsAttributes
- func (lc MatchLayer4ConfigsAttributes) IpProtocol() terra.StringValue
- func (lc MatchLayer4ConfigsAttributes) Ports() terra.ListValue[terra.StringValue]
- type MatchLayer4ConfigsState
- type MatchSrcSecureTags
- type MatchSrcSecureTagsAttributes
- func (sst MatchSrcSecureTagsAttributes) InternalRef() (terra.Reference, error)
- func (sst MatchSrcSecureTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sst MatchSrcSecureTagsAttributes) InternalWithRef(ref terra.Reference) MatchSrcSecureTagsAttributes
- func (sst MatchSrcSecureTagsAttributes) Name() terra.StringValue
- func (sst MatchSrcSecureTagsAttributes) State() terra.StringValue
- type MatchSrcSecureTagsState
- type MatchState
- type Resource
- func (gcrnfpr *Resource) Attributes() googleComputeRegionNetworkFirewallPolicyRuleAttributes
- func (gcrnfpr *Resource) Configuration() interface{}
- func (gcrnfpr *Resource) DependOn() terra.Reference
- func (gcrnfpr *Resource) Dependencies() terra.Dependencies
- func (gcrnfpr *Resource) ImportState(state io.Reader) error
- func (gcrnfpr *Resource) LifecycleManagement() *terra.Lifecycle
- func (gcrnfpr *Resource) LocalName() string
- func (gcrnfpr *Resource) State() (*googleComputeRegionNetworkFirewallPolicyRuleState, bool)
- func (gcrnfpr *Resource) StateMust() *googleComputeRegionNetworkFirewallPolicyRuleState
- func (gcrnfpr *Resource) Type() string
- type TargetSecureTags
- type TargetSecureTagsAttributes
- func (tst TargetSecureTagsAttributes) InternalRef() (terra.Reference, error)
- func (tst TargetSecureTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tst TargetSecureTagsAttributes) InternalWithRef(ref terra.Reference) TargetSecureTagsAttributes
- func (tst TargetSecureTagsAttributes) Name() terra.StringValue
- func (tst TargetSecureTagsAttributes) State() terra.StringValue
- type TargetSecureTagsState
- 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 { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Direction: string, required Direction terra.StringValue `hcl:"direction,attr" validate:"required"` // Disabled: bool, optional Disabled terra.BoolValue `hcl:"disabled,attr"` // EnableLogging: bool, optional EnableLogging terra.BoolValue `hcl:"enable_logging,attr"` // FirewallPolicy: string, required FirewallPolicy terra.StringValue `hcl:"firewall_policy,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // Project: string, optional Project terra.StringValue `hcl:"project,attr"` // Region: string, optional Region terra.StringValue `hcl:"region,attr"` // RuleName: string, optional RuleName terra.StringValue `hcl:"rule_name,attr"` // TargetServiceAccounts: list of string, optional TargetServiceAccounts terra.ListValue[terra.StringValue] `hcl:"target_service_accounts,attr"` // Match: required Match *Match `hcl:"match,block" validate:"required"` // TargetSecureTags: min=0 TargetSecureTags []TargetSecureTags `hcl:"target_secure_tags,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for google_compute_region_network_firewall_policy_rule.
type Match ¶
type Match struct { // DestAddressGroups: list of string, optional DestAddressGroups terra.ListValue[terra.StringValue] `hcl:"dest_address_groups,attr"` // DestFqdns: list of string, optional DestFqdns terra.ListValue[terra.StringValue] `hcl:"dest_fqdns,attr"` // DestIpRanges: list of string, optional DestIpRanges terra.ListValue[terra.StringValue] `hcl:"dest_ip_ranges,attr"` // DestRegionCodes: list of string, optional DestRegionCodes terra.ListValue[terra.StringValue] `hcl:"dest_region_codes,attr"` // DestThreatIntelligences: list of string, optional DestThreatIntelligences terra.ListValue[terra.StringValue] `hcl:"dest_threat_intelligences,attr"` // SrcAddressGroups: list of string, optional SrcAddressGroups terra.ListValue[terra.StringValue] `hcl:"src_address_groups,attr"` // SrcFqdns: list of string, optional SrcFqdns terra.ListValue[terra.StringValue] `hcl:"src_fqdns,attr"` // SrcIpRanges: list of string, optional SrcIpRanges terra.ListValue[terra.StringValue] `hcl:"src_ip_ranges,attr"` // SrcRegionCodes: list of string, optional SrcRegionCodes terra.ListValue[terra.StringValue] `hcl:"src_region_codes,attr"` // SrcThreatIntelligences: list of string, optional SrcThreatIntelligences terra.ListValue[terra.StringValue] `hcl:"src_threat_intelligences,attr"` // MatchLayer4Configs: min=1 Layer4Configs []MatchLayer4Configs `hcl:"layer4_configs,block" validate:"min=1"` // MatchSrcSecureTags: min=0 SrcSecureTags []MatchSrcSecureTags `hcl:"src_secure_tags,block" validate:"min=0"` }
type MatchAttributes ¶
type MatchAttributes struct {
// contains filtered or unexported fields
}
func (MatchAttributes) DestAddressGroups ¶
func (m MatchAttributes) DestAddressGroups() terra.ListValue[terra.StringValue]
func (MatchAttributes) DestFqdns ¶
func (m MatchAttributes) DestFqdns() terra.ListValue[terra.StringValue]
func (MatchAttributes) DestIpRanges ¶
func (m MatchAttributes) DestIpRanges() terra.ListValue[terra.StringValue]
func (MatchAttributes) DestRegionCodes ¶
func (m MatchAttributes) DestRegionCodes() terra.ListValue[terra.StringValue]
func (MatchAttributes) DestThreatIntelligences ¶
func (m MatchAttributes) DestThreatIntelligences() terra.ListValue[terra.StringValue]
func (MatchAttributes) InternalRef ¶
func (m MatchAttributes) InternalRef() (terra.Reference, error)
func (MatchAttributes) InternalTokens ¶
func (m MatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MatchAttributes) InternalWithRef ¶
func (m MatchAttributes) InternalWithRef(ref terra.Reference) MatchAttributes
func (MatchAttributes) Layer4Configs ¶
func (m MatchAttributes) Layer4Configs() terra.ListValue[MatchLayer4ConfigsAttributes]
func (MatchAttributes) SrcAddressGroups ¶
func (m MatchAttributes) SrcAddressGroups() terra.ListValue[terra.StringValue]
func (MatchAttributes) SrcFqdns ¶
func (m MatchAttributes) SrcFqdns() terra.ListValue[terra.StringValue]
func (MatchAttributes) SrcIpRanges ¶
func (m MatchAttributes) SrcIpRanges() terra.ListValue[terra.StringValue]
func (MatchAttributes) SrcRegionCodes ¶
func (m MatchAttributes) SrcRegionCodes() terra.ListValue[terra.StringValue]
func (MatchAttributes) SrcSecureTags ¶
func (m MatchAttributes) SrcSecureTags() terra.ListValue[MatchSrcSecureTagsAttributes]
func (MatchAttributes) SrcThreatIntelligences ¶
func (m MatchAttributes) SrcThreatIntelligences() terra.ListValue[terra.StringValue]
type MatchLayer4Configs ¶
type MatchLayer4Configs struct { // IpProtocol: string, required IpProtocol terra.StringValue `hcl:"ip_protocol,attr" validate:"required"` // Ports: list of string, optional Ports terra.ListValue[terra.StringValue] `hcl:"ports,attr"` }
type MatchLayer4ConfigsAttributes ¶
type MatchLayer4ConfigsAttributes struct {
// contains filtered or unexported fields
}
func (MatchLayer4ConfigsAttributes) InternalRef ¶
func (lc MatchLayer4ConfigsAttributes) InternalRef() (terra.Reference, error)
func (MatchLayer4ConfigsAttributes) InternalTokens ¶
func (lc MatchLayer4ConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MatchLayer4ConfigsAttributes) InternalWithRef ¶
func (lc MatchLayer4ConfigsAttributes) InternalWithRef(ref terra.Reference) MatchLayer4ConfigsAttributes
func (MatchLayer4ConfigsAttributes) IpProtocol ¶
func (lc MatchLayer4ConfigsAttributes) IpProtocol() terra.StringValue
func (MatchLayer4ConfigsAttributes) Ports ¶
func (lc MatchLayer4ConfigsAttributes) Ports() terra.ListValue[terra.StringValue]
type MatchLayer4ConfigsState ¶
type MatchSrcSecureTags ¶
type MatchSrcSecureTags struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type MatchSrcSecureTagsAttributes ¶
type MatchSrcSecureTagsAttributes struct {
// contains filtered or unexported fields
}
func (MatchSrcSecureTagsAttributes) InternalRef ¶
func (sst MatchSrcSecureTagsAttributes) InternalRef() (terra.Reference, error)
func (MatchSrcSecureTagsAttributes) InternalTokens ¶
func (sst MatchSrcSecureTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MatchSrcSecureTagsAttributes) InternalWithRef ¶
func (sst MatchSrcSecureTagsAttributes) InternalWithRef(ref terra.Reference) MatchSrcSecureTagsAttributes
func (MatchSrcSecureTagsAttributes) Name ¶
func (sst MatchSrcSecureTagsAttributes) Name() terra.StringValue
func (MatchSrcSecureTagsAttributes) State ¶
func (sst MatchSrcSecureTagsAttributes) State() terra.StringValue
type MatchSrcSecureTagsState ¶
type MatchState ¶
type MatchState struct { DestAddressGroups []string `json:"dest_address_groups"` DestFqdns []string `json:"dest_fqdns"` DestIpRanges []string `json:"dest_ip_ranges"` DestRegionCodes []string `json:"dest_region_codes"` DestThreatIntelligences []string `json:"dest_threat_intelligences"` SrcAddressGroups []string `json:"src_address_groups"` SrcFqdns []string `json:"src_fqdns"` SrcIpRanges []string `json:"src_ip_ranges"` SrcRegionCodes []string `json:"src_region_codes"` SrcThreatIntelligences []string `json:"src_threat_intelligences"` Layer4Configs []MatchLayer4ConfigsState `json:"layer4_configs"` SrcSecureTags []MatchSrcSecureTagsState `json:"src_secure_tags"` }
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_network_firewall_policy_rule.
func (*Resource) Attributes ¶
func (gcrnfpr *Resource) Attributes() googleComputeRegionNetworkFirewallPolicyRuleAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (gcrnfpr *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (gcrnfpr *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 TargetSecureTags ¶
type TargetSecureTags struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
type TargetSecureTagsAttributes ¶
type TargetSecureTagsAttributes struct {
// contains filtered or unexported fields
}
func (TargetSecureTagsAttributes) InternalRef ¶
func (tst TargetSecureTagsAttributes) InternalRef() (terra.Reference, error)
func (TargetSecureTagsAttributes) InternalTokens ¶
func (tst TargetSecureTagsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetSecureTagsAttributes) InternalWithRef ¶
func (tst TargetSecureTagsAttributes) InternalWithRef(ref terra.Reference) TargetSecureTagsAttributes
func (TargetSecureTagsAttributes) Name ¶
func (tst TargetSecureTagsAttributes) Name() terra.StringValue
func (TargetSecureTagsAttributes) State ¶
func (tst TargetSecureTagsAttributes) State() terra.StringValue
type TargetSecureTagsState ¶
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.