Documentation
¶
Index ¶
- type Args
- type CustomRules
- type CustomRulesAttributes
- func (cr CustomRulesAttributes) Action() terra.StringValue
- func (cr CustomRulesAttributes) Enabled() terra.BoolValue
- func (cr CustomRulesAttributes) GroupRateLimitBy() terra.StringValue
- func (cr CustomRulesAttributes) InternalRef() (terra.Reference, error)
- func (cr CustomRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CustomRulesAttributes) InternalWithRef(ref terra.Reference) CustomRulesAttributes
- func (cr CustomRulesAttributes) MatchConditions() terra.ListValue[CustomRulesMatchConditionsAttributes]
- func (cr CustomRulesAttributes) Name() terra.StringValue
- func (cr CustomRulesAttributes) Priority() terra.NumberValue
- func (cr CustomRulesAttributes) RateLimitDuration() terra.StringValue
- func (cr CustomRulesAttributes) RateLimitThreshold() terra.NumberValue
- func (cr CustomRulesAttributes) RuleType() terra.StringValue
- type CustomRulesMatchConditions
- type CustomRulesMatchConditionsAttributes
- func (mc CustomRulesMatchConditionsAttributes) InternalRef() (terra.Reference, error)
- func (mc CustomRulesMatchConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc CustomRulesMatchConditionsAttributes) InternalWithRef(ref terra.Reference) CustomRulesMatchConditionsAttributes
- func (mc CustomRulesMatchConditionsAttributes) MatchValues() terra.ListValue[terra.StringValue]
- func (mc CustomRulesMatchConditionsAttributes) MatchVariables() terra.ListValue[CustomRulesMatchConditionsMatchVariablesAttributes]
- func (mc CustomRulesMatchConditionsAttributes) NegationCondition() terra.BoolValue
- func (mc CustomRulesMatchConditionsAttributes) Operator() terra.StringValue
- func (mc CustomRulesMatchConditionsAttributes) Transforms() terra.SetValue[terra.StringValue]
- type CustomRulesMatchConditionsMatchVariables
- type CustomRulesMatchConditionsMatchVariablesAttributes
- func (mv CustomRulesMatchConditionsMatchVariablesAttributes) InternalRef() (terra.Reference, error)
- func (mv CustomRulesMatchConditionsMatchVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mv CustomRulesMatchConditionsMatchVariablesAttributes) InternalWithRef(ref terra.Reference) CustomRulesMatchConditionsMatchVariablesAttributes
- func (mv CustomRulesMatchConditionsMatchVariablesAttributes) Selector() terra.StringValue
- func (mv CustomRulesMatchConditionsMatchVariablesAttributes) VariableName() terra.StringValue
- type CustomRulesMatchConditionsMatchVariablesState
- type CustomRulesMatchConditionsState
- type CustomRulesState
- type DataArgs
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type ManagedRules
- type ManagedRulesAttributes
- func (mr ManagedRulesAttributes) Exclusion() terra.ListValue[ManagedRulesExclusionAttributes]
- func (mr ManagedRulesAttributes) InternalRef() (terra.Reference, error)
- func (mr ManagedRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mr ManagedRulesAttributes) InternalWithRef(ref terra.Reference) ManagedRulesAttributes
- func (mr ManagedRulesAttributes) ManagedRuleSet() terra.ListValue[ManagedRulesManagedRuleSetAttributes]
- type ManagedRulesExclusion
- type ManagedRulesExclusionAttributes
- func (e ManagedRulesExclusionAttributes) ExcludedRuleSet() terra.ListValue[ManagedRulesExclusionExcludedRuleSetAttributes]
- func (e ManagedRulesExclusionAttributes) InternalRef() (terra.Reference, error)
- func (e ManagedRulesExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ManagedRulesExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRulesExclusionAttributes
- func (e ManagedRulesExclusionAttributes) MatchVariable() terra.StringValue
- func (e ManagedRulesExclusionAttributes) Selector() terra.StringValue
- func (e ManagedRulesExclusionAttributes) SelectorMatchOperator() terra.StringValue
- type ManagedRulesExclusionExcludedRuleSet
- type ManagedRulesExclusionExcludedRuleSetAttributes
- func (ers ManagedRulesExclusionExcludedRuleSetAttributes) InternalRef() (terra.Reference, error)
- func (ers ManagedRulesExclusionExcludedRuleSetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ers ManagedRulesExclusionExcludedRuleSetAttributes) InternalWithRef(ref terra.Reference) ManagedRulesExclusionExcludedRuleSetAttributes
- func (ers ManagedRulesExclusionExcludedRuleSetAttributes) RuleGroup() terra.ListValue[ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes]
- func (ers ManagedRulesExclusionExcludedRuleSetAttributes) Type() terra.StringValue
- func (ers ManagedRulesExclusionExcludedRuleSetAttributes) Version() terra.StringValue
- type ManagedRulesExclusionExcludedRuleSetRuleGroup
- type ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes
- func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) ExcludedRules() terra.ListValue[terra.StringValue]
- func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalRef() (terra.Reference, error)
- func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalWithRef(ref terra.Reference) ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes
- func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) RuleGroupName() terra.StringValue
- type ManagedRulesExclusionExcludedRuleSetRuleGroupState
- type ManagedRulesExclusionExcludedRuleSetState
- type ManagedRulesExclusionState
- type ManagedRulesManagedRuleSet
- type ManagedRulesManagedRuleSetAttributes
- func (mrs ManagedRulesManagedRuleSetAttributes) InternalRef() (terra.Reference, error)
- func (mrs ManagedRulesManagedRuleSetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mrs ManagedRulesManagedRuleSetAttributes) InternalWithRef(ref terra.Reference) ManagedRulesManagedRuleSetAttributes
- func (mrs ManagedRulesManagedRuleSetAttributes) RuleGroupOverride() terra.ListValue[ManagedRulesManagedRuleSetRuleGroupOverrideAttributes]
- func (mrs ManagedRulesManagedRuleSetAttributes) Type() terra.StringValue
- func (mrs ManagedRulesManagedRuleSetAttributes) Version() terra.StringValue
- type ManagedRulesManagedRuleSetRuleGroupOverride
- type ManagedRulesManagedRuleSetRuleGroupOverrideAttributes
- func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) DisabledRules() terra.ListValue[terra.StringValue]
- func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalRef() (terra.Reference, error)
- func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalWithRef(ref terra.Reference) ManagedRulesManagedRuleSetRuleGroupOverrideAttributes
- func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) Rule() terra.ListValue[ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes]
- func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) RuleGroupName() terra.StringValue
- type ManagedRulesManagedRuleSetRuleGroupOverrideRule
- type ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes
- func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) Action() terra.StringValue
- func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) Enabled() terra.BoolValue
- func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) Id() terra.StringValue
- func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalRef() (terra.Reference, error)
- func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalWithRef(ref terra.Reference) ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes
- type ManagedRulesManagedRuleSetRuleGroupOverrideRuleState
- type ManagedRulesManagedRuleSetRuleGroupOverrideState
- type ManagedRulesManagedRuleSetState
- type ManagedRulesState
- type PolicySettings
- type PolicySettingsAttributes
- func (ps PolicySettingsAttributes) Enabled() terra.BoolValue
- func (ps PolicySettingsAttributes) FileUploadLimitInMb() terra.NumberValue
- func (ps PolicySettingsAttributes) InternalRef() (terra.Reference, error)
- func (ps PolicySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ps PolicySettingsAttributes) InternalWithRef(ref terra.Reference) PolicySettingsAttributes
- func (ps PolicySettingsAttributes) LogScrubbing() terra.ListValue[PolicySettingsLogScrubbingAttributes]
- func (ps PolicySettingsAttributes) MaxRequestBodySizeInKb() terra.NumberValue
- func (ps PolicySettingsAttributes) Mode() terra.StringValue
- func (ps PolicySettingsAttributes) RequestBodyCheck() terra.BoolValue
- func (ps PolicySettingsAttributes) RequestBodyInspectLimitInKb() terra.NumberValue
- type PolicySettingsLogScrubbing
- type PolicySettingsLogScrubbingAttributes
- func (ls PolicySettingsLogScrubbingAttributes) Enabled() terra.BoolValue
- func (ls PolicySettingsLogScrubbingAttributes) InternalRef() (terra.Reference, error)
- func (ls PolicySettingsLogScrubbingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ls PolicySettingsLogScrubbingAttributes) InternalWithRef(ref terra.Reference) PolicySettingsLogScrubbingAttributes
- func (ls PolicySettingsLogScrubbingAttributes) Rule() terra.ListValue[PolicySettingsLogScrubbingRuleAttributes]
- type PolicySettingsLogScrubbingRule
- type PolicySettingsLogScrubbingRuleAttributes
- func (r PolicySettingsLogScrubbingRuleAttributes) Enabled() terra.BoolValue
- func (r PolicySettingsLogScrubbingRuleAttributes) InternalRef() (terra.Reference, error)
- func (r PolicySettingsLogScrubbingRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r PolicySettingsLogScrubbingRuleAttributes) InternalWithRef(ref terra.Reference) PolicySettingsLogScrubbingRuleAttributes
- func (r PolicySettingsLogScrubbingRuleAttributes) MatchVariable() terra.StringValue
- func (r PolicySettingsLogScrubbingRuleAttributes) Selector() terra.StringValue
- func (r PolicySettingsLogScrubbingRuleAttributes) SelectorMatchOperator() terra.StringValue
- type PolicySettingsLogScrubbingRuleState
- type PolicySettingsLogScrubbingState
- type PolicySettingsState
- type Resource
- func (awafp *Resource) Attributes() azurermWebApplicationFirewallPolicyAttributes
- func (awafp *Resource) Configuration() interface{}
- func (awafp *Resource) DependOn() terra.Reference
- func (awafp *Resource) Dependencies() terra.Dependencies
- func (awafp *Resource) ImportState(state io.Reader) error
- func (awafp *Resource) LifecycleManagement() *terra.Lifecycle
- func (awafp *Resource) LocalName() string
- func (awafp *Resource) State() (*azurermWebApplicationFirewallPolicyState, bool)
- func (awafp *Resource) StateMust() *azurermWebApplicationFirewallPolicyState
- func (awafp *Resource) Type() string
- 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) Read() terra.StringValue
- 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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // CustomRules: min=0 CustomRules []CustomRules `hcl:"custom_rules,block" validate:"min=0"` // ManagedRules: required ManagedRules *ManagedRules `hcl:"managed_rules,block" validate:"required"` // PolicySettings: optional PolicySettings *PolicySettings `hcl:"policy_settings,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_web_application_firewall_policy.
type CustomRules ¶
type CustomRules struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // GroupRateLimitBy: string, optional GroupRateLimitBy terra.StringValue `hcl:"group_rate_limit_by,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // RateLimitDuration: string, optional RateLimitDuration terra.StringValue `hcl:"rate_limit_duration,attr"` // RateLimitThreshold: number, optional RateLimitThreshold terra.NumberValue `hcl:"rate_limit_threshold,attr"` // RuleType: string, required RuleType terra.StringValue `hcl:"rule_type,attr" validate:"required"` // CustomRulesMatchConditions: min=1 MatchConditions []CustomRulesMatchConditions `hcl:"match_conditions,block" validate:"min=1"` }
type CustomRulesAttributes ¶
type CustomRulesAttributes struct {
// contains filtered or unexported fields
}
func (CustomRulesAttributes) Action ¶
func (cr CustomRulesAttributes) Action() terra.StringValue
func (CustomRulesAttributes) Enabled ¶
func (cr CustomRulesAttributes) Enabled() terra.BoolValue
func (CustomRulesAttributes) GroupRateLimitBy ¶
func (cr CustomRulesAttributes) GroupRateLimitBy() terra.StringValue
func (CustomRulesAttributes) InternalRef ¶
func (cr CustomRulesAttributes) InternalRef() (terra.Reference, error)
func (CustomRulesAttributes) InternalTokens ¶
func (cr CustomRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomRulesAttributes) InternalWithRef ¶
func (cr CustomRulesAttributes) InternalWithRef(ref terra.Reference) CustomRulesAttributes
func (CustomRulesAttributes) MatchConditions ¶
func (cr CustomRulesAttributes) MatchConditions() terra.ListValue[CustomRulesMatchConditionsAttributes]
func (CustomRulesAttributes) Name ¶
func (cr CustomRulesAttributes) Name() terra.StringValue
func (CustomRulesAttributes) Priority ¶
func (cr CustomRulesAttributes) Priority() terra.NumberValue
func (CustomRulesAttributes) RateLimitDuration ¶
func (cr CustomRulesAttributes) RateLimitDuration() terra.StringValue
func (CustomRulesAttributes) RateLimitThreshold ¶
func (cr CustomRulesAttributes) RateLimitThreshold() terra.NumberValue
func (CustomRulesAttributes) RuleType ¶
func (cr CustomRulesAttributes) RuleType() terra.StringValue
type CustomRulesMatchConditions ¶
type CustomRulesMatchConditions struct { // MatchValues: list of string, optional MatchValues terra.ListValue[terra.StringValue] `hcl:"match_values,attr"` // NegationCondition: bool, optional NegationCondition terra.BoolValue `hcl:"negation_condition,attr"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Transforms: set of string, optional Transforms terra.SetValue[terra.StringValue] `hcl:"transforms,attr"` // CustomRulesMatchConditionsMatchVariables: min=1 MatchVariables []CustomRulesMatchConditionsMatchVariables `hcl:"match_variables,block" validate:"min=1"` }
type CustomRulesMatchConditionsAttributes ¶
type CustomRulesMatchConditionsAttributes struct {
// contains filtered or unexported fields
}
func (CustomRulesMatchConditionsAttributes) InternalRef ¶
func (mc CustomRulesMatchConditionsAttributes) InternalRef() (terra.Reference, error)
func (CustomRulesMatchConditionsAttributes) InternalTokens ¶
func (mc CustomRulesMatchConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomRulesMatchConditionsAttributes) InternalWithRef ¶
func (mc CustomRulesMatchConditionsAttributes) InternalWithRef(ref terra.Reference) CustomRulesMatchConditionsAttributes
func (CustomRulesMatchConditionsAttributes) MatchValues ¶
func (mc CustomRulesMatchConditionsAttributes) MatchValues() terra.ListValue[terra.StringValue]
func (CustomRulesMatchConditionsAttributes) MatchVariables ¶
func (mc CustomRulesMatchConditionsAttributes) MatchVariables() terra.ListValue[CustomRulesMatchConditionsMatchVariablesAttributes]
func (CustomRulesMatchConditionsAttributes) NegationCondition ¶
func (mc CustomRulesMatchConditionsAttributes) NegationCondition() terra.BoolValue
func (CustomRulesMatchConditionsAttributes) Operator ¶
func (mc CustomRulesMatchConditionsAttributes) Operator() terra.StringValue
func (CustomRulesMatchConditionsAttributes) Transforms ¶
func (mc CustomRulesMatchConditionsAttributes) Transforms() terra.SetValue[terra.StringValue]
type CustomRulesMatchConditionsMatchVariables ¶
type CustomRulesMatchConditionsMatchVariables struct { // Selector: string, optional Selector terra.StringValue `hcl:"selector,attr"` // VariableName: string, required VariableName terra.StringValue `hcl:"variable_name,attr" validate:"required"` }
type CustomRulesMatchConditionsMatchVariablesAttributes ¶
type CustomRulesMatchConditionsMatchVariablesAttributes struct {
// contains filtered or unexported fields
}
func (CustomRulesMatchConditionsMatchVariablesAttributes) InternalRef ¶
func (mv CustomRulesMatchConditionsMatchVariablesAttributes) InternalRef() (terra.Reference, error)
func (CustomRulesMatchConditionsMatchVariablesAttributes) InternalTokens ¶
func (mv CustomRulesMatchConditionsMatchVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomRulesMatchConditionsMatchVariablesAttributes) InternalWithRef ¶
func (mv CustomRulesMatchConditionsMatchVariablesAttributes) InternalWithRef(ref terra.Reference) CustomRulesMatchConditionsMatchVariablesAttributes
func (CustomRulesMatchConditionsMatchVariablesAttributes) Selector ¶
func (mv CustomRulesMatchConditionsMatchVariablesAttributes) Selector() terra.StringValue
func (CustomRulesMatchConditionsMatchVariablesAttributes) VariableName ¶
func (mv CustomRulesMatchConditionsMatchVariablesAttributes) VariableName() terra.StringValue
type CustomRulesMatchConditionsState ¶
type CustomRulesMatchConditionsState struct { MatchValues []string `json:"match_values"` NegationCondition bool `json:"negation_condition"` Operator string `json:"operator"` Transforms []string `json:"transforms"` MatchVariables []CustomRulesMatchConditionsMatchVariablesState `json:"match_variables"` }
type CustomRulesState ¶
type CustomRulesState struct { Action string `json:"action"` Enabled bool `json:"enabled"` GroupRateLimitBy string `json:"group_rate_limit_by"` Name string `json:"name"` Priority float64 `json:"priority"` RateLimitDuration string `json:"rate_limit_duration"` RateLimitThreshold float64 `json:"rate_limit_threshold"` RuleType string `json:"rule_type"` MatchConditions []CustomRulesMatchConditionsState `json:"match_conditions"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_web_application_firewall_policy.
type DataSource ¶
DataSource represents the Terraform data resource azurerm_web_application_firewall_policy.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (awafp *DataSource) Attributes() dataAzurermWebApplicationFirewallPolicyAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (awafp *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (awafp *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (awafp *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type ManagedRules ¶
type ManagedRules struct { // ManagedRulesExclusion: min=0 Exclusion []ManagedRulesExclusion `hcl:"exclusion,block" validate:"min=0"` // ManagedRulesManagedRuleSet: min=1 ManagedRuleSet []ManagedRulesManagedRuleSet `hcl:"managed_rule_set,block" validate:"min=1"` }
type ManagedRulesAttributes ¶
type ManagedRulesAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRulesAttributes) Exclusion ¶
func (mr ManagedRulesAttributes) Exclusion() terra.ListValue[ManagedRulesExclusionAttributes]
func (ManagedRulesAttributes) InternalRef ¶
func (mr ManagedRulesAttributes) InternalRef() (terra.Reference, error)
func (ManagedRulesAttributes) InternalTokens ¶
func (mr ManagedRulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRulesAttributes) InternalWithRef ¶
func (mr ManagedRulesAttributes) InternalWithRef(ref terra.Reference) ManagedRulesAttributes
func (ManagedRulesAttributes) ManagedRuleSet ¶
func (mr ManagedRulesAttributes) ManagedRuleSet() terra.ListValue[ManagedRulesManagedRuleSetAttributes]
type ManagedRulesExclusion ¶
type ManagedRulesExclusion struct { // MatchVariable: string, required MatchVariable terra.StringValue `hcl:"match_variable,attr" validate:"required"` // Selector: string, required Selector terra.StringValue `hcl:"selector,attr" validate:"required"` // SelectorMatchOperator: string, required SelectorMatchOperator terra.StringValue `hcl:"selector_match_operator,attr" validate:"required"` // ManagedRulesExclusionExcludedRuleSet: optional ExcludedRuleSet *ManagedRulesExclusionExcludedRuleSet `hcl:"excluded_rule_set,block"` }
type ManagedRulesExclusionAttributes ¶
type ManagedRulesExclusionAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRulesExclusionAttributes) ExcludedRuleSet ¶
func (e ManagedRulesExclusionAttributes) ExcludedRuleSet() terra.ListValue[ManagedRulesExclusionExcludedRuleSetAttributes]
func (ManagedRulesExclusionAttributes) InternalRef ¶
func (e ManagedRulesExclusionAttributes) InternalRef() (terra.Reference, error)
func (ManagedRulesExclusionAttributes) InternalTokens ¶
func (e ManagedRulesExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRulesExclusionAttributes) InternalWithRef ¶
func (e ManagedRulesExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRulesExclusionAttributes
func (ManagedRulesExclusionAttributes) MatchVariable ¶
func (e ManagedRulesExclusionAttributes) MatchVariable() terra.StringValue
func (ManagedRulesExclusionAttributes) Selector ¶
func (e ManagedRulesExclusionAttributes) Selector() terra.StringValue
func (ManagedRulesExclusionAttributes) SelectorMatchOperator ¶
func (e ManagedRulesExclusionAttributes) SelectorMatchOperator() terra.StringValue
type ManagedRulesExclusionExcludedRuleSet ¶
type ManagedRulesExclusionExcludedRuleSet struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` // ManagedRulesExclusionExcludedRuleSetRuleGroup: min=0 RuleGroup []ManagedRulesExclusionExcludedRuleSetRuleGroup `hcl:"rule_group,block" validate:"min=0"` }
type ManagedRulesExclusionExcludedRuleSetAttributes ¶
type ManagedRulesExclusionExcludedRuleSetAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRulesExclusionExcludedRuleSetAttributes) InternalRef ¶
func (ers ManagedRulesExclusionExcludedRuleSetAttributes) InternalRef() (terra.Reference, error)
func (ManagedRulesExclusionExcludedRuleSetAttributes) InternalTokens ¶
func (ers ManagedRulesExclusionExcludedRuleSetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRulesExclusionExcludedRuleSetAttributes) InternalWithRef ¶
func (ers ManagedRulesExclusionExcludedRuleSetAttributes) InternalWithRef(ref terra.Reference) ManagedRulesExclusionExcludedRuleSetAttributes
func (ManagedRulesExclusionExcludedRuleSetAttributes) Type ¶
func (ers ManagedRulesExclusionExcludedRuleSetAttributes) Type() terra.StringValue
func (ManagedRulesExclusionExcludedRuleSetAttributes) Version ¶
func (ers ManagedRulesExclusionExcludedRuleSetAttributes) Version() terra.StringValue
type ManagedRulesExclusionExcludedRuleSetRuleGroup ¶
type ManagedRulesExclusionExcludedRuleSetRuleGroup struct { // ExcludedRules: list of string, optional ExcludedRules terra.ListValue[terra.StringValue] `hcl:"excluded_rules,attr"` // RuleGroupName: string, required RuleGroupName terra.StringValue `hcl:"rule_group_name,attr" validate:"required"` }
type ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes ¶
type ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) ExcludedRules ¶
func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) ExcludedRules() terra.ListValue[terra.StringValue]
func (ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalRef ¶
func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalRef() (terra.Reference, error)
func (ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalTokens ¶
func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalWithRef ¶
func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) InternalWithRef(ref terra.Reference) ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes
func (ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) RuleGroupName ¶
func (rg ManagedRulesExclusionExcludedRuleSetRuleGroupAttributes) RuleGroupName() terra.StringValue
type ManagedRulesExclusionExcludedRuleSetState ¶
type ManagedRulesExclusionExcludedRuleSetState struct { Type string `json:"type"` Version string `json:"version"` RuleGroup []ManagedRulesExclusionExcludedRuleSetRuleGroupState `json:"rule_group"` }
type ManagedRulesExclusionState ¶
type ManagedRulesExclusionState struct { MatchVariable string `json:"match_variable"` Selector string `json:"selector"` SelectorMatchOperator string `json:"selector_match_operator"` ExcludedRuleSet []ManagedRulesExclusionExcludedRuleSetState `json:"excluded_rule_set"` }
type ManagedRulesManagedRuleSet ¶
type ManagedRulesManagedRuleSet struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` // ManagedRulesManagedRuleSetRuleGroupOverride: min=0 RuleGroupOverride []ManagedRulesManagedRuleSetRuleGroupOverride `hcl:"rule_group_override,block" validate:"min=0"` }
type ManagedRulesManagedRuleSetAttributes ¶
type ManagedRulesManagedRuleSetAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRulesManagedRuleSetAttributes) InternalRef ¶
func (mrs ManagedRulesManagedRuleSetAttributes) InternalRef() (terra.Reference, error)
func (ManagedRulesManagedRuleSetAttributes) InternalTokens ¶
func (mrs ManagedRulesManagedRuleSetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRulesManagedRuleSetAttributes) InternalWithRef ¶
func (mrs ManagedRulesManagedRuleSetAttributes) InternalWithRef(ref terra.Reference) ManagedRulesManagedRuleSetAttributes
func (ManagedRulesManagedRuleSetAttributes) RuleGroupOverride ¶
func (mrs ManagedRulesManagedRuleSetAttributes) RuleGroupOverride() terra.ListValue[ManagedRulesManagedRuleSetRuleGroupOverrideAttributes]
func (ManagedRulesManagedRuleSetAttributes) Type ¶
func (mrs ManagedRulesManagedRuleSetAttributes) Type() terra.StringValue
func (ManagedRulesManagedRuleSetAttributes) Version ¶
func (mrs ManagedRulesManagedRuleSetAttributes) Version() terra.StringValue
type ManagedRulesManagedRuleSetRuleGroupOverride ¶
type ManagedRulesManagedRuleSetRuleGroupOverride struct { // DisabledRules: list of string, optional DisabledRules terra.ListValue[terra.StringValue] `hcl:"disabled_rules,attr"` // RuleGroupName: string, required RuleGroupName terra.StringValue `hcl:"rule_group_name,attr" validate:"required"` // ManagedRulesManagedRuleSetRuleGroupOverrideRule: min=0 Rule []ManagedRulesManagedRuleSetRuleGroupOverrideRule `hcl:"rule,block" validate:"min=0"` }
type ManagedRulesManagedRuleSetRuleGroupOverrideAttributes ¶
type ManagedRulesManagedRuleSetRuleGroupOverrideAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) DisabledRules ¶
func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) DisabledRules() terra.ListValue[terra.StringValue]
func (ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalRef ¶
func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalRef() (terra.Reference, error)
func (ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalTokens ¶
func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalWithRef ¶
func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) InternalWithRef(ref terra.Reference) ManagedRulesManagedRuleSetRuleGroupOverrideAttributes
func (ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) RuleGroupName ¶
func (rgo ManagedRulesManagedRuleSetRuleGroupOverrideAttributes) RuleGroupName() terra.StringValue
type ManagedRulesManagedRuleSetRuleGroupOverrideRule ¶
type ManagedRulesManagedRuleSetRuleGroupOverrideRule struct { // Action: string, optional Action terra.StringValue `hcl:"action,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` }
type ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes ¶
type ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) Action ¶
func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) Action() terra.StringValue
func (ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) Enabled ¶
func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) Enabled() terra.BoolValue
func (ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalRef ¶
func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalRef() (terra.Reference, error)
func (ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalTokens ¶
func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalWithRef ¶
func (r ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes) InternalWithRef(ref terra.Reference) ManagedRulesManagedRuleSetRuleGroupOverrideRuleAttributes
type ManagedRulesManagedRuleSetRuleGroupOverrideState ¶
type ManagedRulesManagedRuleSetRuleGroupOverrideState struct { DisabledRules []string `json:"disabled_rules"` RuleGroupName string `json:"rule_group_name"` Rule []ManagedRulesManagedRuleSetRuleGroupOverrideRuleState `json:"rule"` }
type ManagedRulesManagedRuleSetState ¶
type ManagedRulesManagedRuleSetState struct { Type string `json:"type"` Version string `json:"version"` RuleGroupOverride []ManagedRulesManagedRuleSetRuleGroupOverrideState `json:"rule_group_override"` }
type ManagedRulesState ¶
type ManagedRulesState struct { Exclusion []ManagedRulesExclusionState `json:"exclusion"` ManagedRuleSet []ManagedRulesManagedRuleSetState `json:"managed_rule_set"` }
type PolicySettings ¶
type PolicySettings struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // FileUploadLimitInMb: number, optional FileUploadLimitInMb terra.NumberValue `hcl:"file_upload_limit_in_mb,attr"` // MaxRequestBodySizeInKb: number, optional MaxRequestBodySizeInKb terra.NumberValue `hcl:"max_request_body_size_in_kb,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // RequestBodyCheck: bool, optional RequestBodyCheck terra.BoolValue `hcl:"request_body_check,attr"` // RequestBodyInspectLimitInKb: number, optional RequestBodyInspectLimitInKb terra.NumberValue `hcl:"request_body_inspect_limit_in_kb,attr"` // PolicySettingsLogScrubbing: optional LogScrubbing *PolicySettingsLogScrubbing `hcl:"log_scrubbing,block"` }
type PolicySettingsAttributes ¶
type PolicySettingsAttributes struct {
// contains filtered or unexported fields
}
func (PolicySettingsAttributes) Enabled ¶
func (ps PolicySettingsAttributes) Enabled() terra.BoolValue
func (PolicySettingsAttributes) FileUploadLimitInMb ¶
func (ps PolicySettingsAttributes) FileUploadLimitInMb() terra.NumberValue
func (PolicySettingsAttributes) InternalRef ¶
func (ps PolicySettingsAttributes) InternalRef() (terra.Reference, error)
func (PolicySettingsAttributes) InternalTokens ¶
func (ps PolicySettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicySettingsAttributes) InternalWithRef ¶
func (ps PolicySettingsAttributes) InternalWithRef(ref terra.Reference) PolicySettingsAttributes
func (PolicySettingsAttributes) LogScrubbing ¶
func (ps PolicySettingsAttributes) LogScrubbing() terra.ListValue[PolicySettingsLogScrubbingAttributes]
func (PolicySettingsAttributes) MaxRequestBodySizeInKb ¶
func (ps PolicySettingsAttributes) MaxRequestBodySizeInKb() terra.NumberValue
func (PolicySettingsAttributes) Mode ¶
func (ps PolicySettingsAttributes) Mode() terra.StringValue
func (PolicySettingsAttributes) RequestBodyCheck ¶
func (ps PolicySettingsAttributes) RequestBodyCheck() terra.BoolValue
func (PolicySettingsAttributes) RequestBodyInspectLimitInKb ¶
func (ps PolicySettingsAttributes) RequestBodyInspectLimitInKb() terra.NumberValue
type PolicySettingsLogScrubbing ¶
type PolicySettingsLogScrubbing struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // PolicySettingsLogScrubbingRule: min=0 Rule []PolicySettingsLogScrubbingRule `hcl:"rule,block" validate:"min=0"` }
type PolicySettingsLogScrubbingAttributes ¶
type PolicySettingsLogScrubbingAttributes struct {
// contains filtered or unexported fields
}
func (PolicySettingsLogScrubbingAttributes) Enabled ¶
func (ls PolicySettingsLogScrubbingAttributes) Enabled() terra.BoolValue
func (PolicySettingsLogScrubbingAttributes) InternalRef ¶
func (ls PolicySettingsLogScrubbingAttributes) InternalRef() (terra.Reference, error)
func (PolicySettingsLogScrubbingAttributes) InternalTokens ¶
func (ls PolicySettingsLogScrubbingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicySettingsLogScrubbingAttributes) InternalWithRef ¶
func (ls PolicySettingsLogScrubbingAttributes) InternalWithRef(ref terra.Reference) PolicySettingsLogScrubbingAttributes
type PolicySettingsLogScrubbingRule ¶
type PolicySettingsLogScrubbingRule struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // MatchVariable: string, required MatchVariable terra.StringValue `hcl:"match_variable,attr" validate:"required"` // Selector: string, optional Selector terra.StringValue `hcl:"selector,attr"` // SelectorMatchOperator: string, optional SelectorMatchOperator terra.StringValue `hcl:"selector_match_operator,attr"` }
type PolicySettingsLogScrubbingRuleAttributes ¶
type PolicySettingsLogScrubbingRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicySettingsLogScrubbingRuleAttributes) Enabled ¶
func (r PolicySettingsLogScrubbingRuleAttributes) Enabled() terra.BoolValue
func (PolicySettingsLogScrubbingRuleAttributes) InternalRef ¶
func (r PolicySettingsLogScrubbingRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicySettingsLogScrubbingRuleAttributes) InternalTokens ¶
func (r PolicySettingsLogScrubbingRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicySettingsLogScrubbingRuleAttributes) InternalWithRef ¶
func (r PolicySettingsLogScrubbingRuleAttributes) InternalWithRef(ref terra.Reference) PolicySettingsLogScrubbingRuleAttributes
func (PolicySettingsLogScrubbingRuleAttributes) MatchVariable ¶
func (r PolicySettingsLogScrubbingRuleAttributes) MatchVariable() terra.StringValue
func (PolicySettingsLogScrubbingRuleAttributes) Selector ¶
func (r PolicySettingsLogScrubbingRuleAttributes) Selector() terra.StringValue
func (PolicySettingsLogScrubbingRuleAttributes) SelectorMatchOperator ¶
func (r PolicySettingsLogScrubbingRuleAttributes) SelectorMatchOperator() terra.StringValue
type PolicySettingsLogScrubbingState ¶
type PolicySettingsLogScrubbingState struct { Enabled bool `json:"enabled"` Rule []PolicySettingsLogScrubbingRuleState `json:"rule"` }
type PolicySettingsState ¶
type PolicySettingsState struct { Enabled bool `json:"enabled"` FileUploadLimitInMb float64 `json:"file_upload_limit_in_mb"` MaxRequestBodySizeInKb float64 `json:"max_request_body_size_in_kb"` Mode string `json:"mode"` RequestBodyCheck bool `json:"request_body_check"` RequestBodyInspectLimitInKb float64 `json:"request_body_inspect_limit_in_kb"` LogScrubbing []PolicySettingsLogScrubbingState `json:"log_scrubbing"` }
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 azurerm_web_application_firewall_policy.
func (*Resource) Attributes ¶
func (awafp *Resource) Attributes() azurermWebApplicationFirewallPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (awafp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (awafp *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 Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue