Documentation ¶
Index ¶
- type Args
- type CustomRule
- type CustomRuleAttributes
- func (cr CustomRuleAttributes) Action() terra.StringValue
- func (cr CustomRuleAttributes) Enabled() terra.BoolValue
- func (cr CustomRuleAttributes) InternalRef() (terra.Reference, error)
- func (cr CustomRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CustomRuleAttributes) InternalWithRef(ref terra.Reference) CustomRuleAttributes
- func (cr CustomRuleAttributes) MatchCondition() terra.ListValue[CustomRuleMatchConditionAttributes]
- func (cr CustomRuleAttributes) Name() terra.StringValue
- func (cr CustomRuleAttributes) Priority() terra.NumberValue
- func (cr CustomRuleAttributes) RateLimitDurationInMinutes() terra.NumberValue
- func (cr CustomRuleAttributes) RateLimitThreshold() terra.NumberValue
- func (cr CustomRuleAttributes) Type() terra.StringValue
- type CustomRuleMatchCondition
- type CustomRuleMatchConditionAttributes
- func (mc CustomRuleMatchConditionAttributes) InternalRef() (terra.Reference, error)
- func (mc CustomRuleMatchConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc CustomRuleMatchConditionAttributes) InternalWithRef(ref terra.Reference) CustomRuleMatchConditionAttributes
- func (mc CustomRuleMatchConditionAttributes) MatchValues() terra.ListValue[terra.StringValue]
- func (mc CustomRuleMatchConditionAttributes) MatchVariable() terra.StringValue
- func (mc CustomRuleMatchConditionAttributes) NegationCondition() terra.BoolValue
- func (mc CustomRuleMatchConditionAttributes) Operator() terra.StringValue
- func (mc CustomRuleMatchConditionAttributes) Selector() terra.StringValue
- func (mc CustomRuleMatchConditionAttributes) Transforms() terra.ListValue[terra.StringValue]
- type CustomRuleMatchConditionState
- type CustomRuleState
- type ManagedRule
- type ManagedRuleAttributes
- func (mr ManagedRuleAttributes) Exclusion() terra.ListValue[ManagedRuleExclusionAttributes]
- func (mr ManagedRuleAttributes) InternalRef() (terra.Reference, error)
- func (mr ManagedRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mr ManagedRuleAttributes) InternalWithRef(ref terra.Reference) ManagedRuleAttributes
- func (mr ManagedRuleAttributes) Override() terra.ListValue[ManagedRuleOverrideAttributes]
- func (mr ManagedRuleAttributes) Type() terra.StringValue
- func (mr ManagedRuleAttributes) Version() terra.StringValue
- type ManagedRuleExclusion
- type ManagedRuleExclusionAttributes
- func (e ManagedRuleExclusionAttributes) InternalRef() (terra.Reference, error)
- func (e ManagedRuleExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ManagedRuleExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRuleExclusionAttributes
- func (e ManagedRuleExclusionAttributes) MatchVariable() terra.StringValue
- func (e ManagedRuleExclusionAttributes) Operator() terra.StringValue
- func (e ManagedRuleExclusionAttributes) Selector() terra.StringValue
- type ManagedRuleExclusionState
- type ManagedRuleOverride
- type ManagedRuleOverrideAttributes
- func (o ManagedRuleOverrideAttributes) Exclusion() terra.ListValue[ManagedRuleOverrideExclusionAttributes]
- func (o ManagedRuleOverrideAttributes) InternalRef() (terra.Reference, error)
- func (o ManagedRuleOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o ManagedRuleOverrideAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideAttributes
- func (o ManagedRuleOverrideAttributes) Rule() terra.ListValue[ManagedRuleOverrideRuleAttributes]
- func (o ManagedRuleOverrideAttributes) RuleGroupName() terra.StringValue
- type ManagedRuleOverrideExclusion
- type ManagedRuleOverrideExclusionAttributes
- func (e ManagedRuleOverrideExclusionAttributes) InternalRef() (terra.Reference, error)
- func (e ManagedRuleOverrideExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ManagedRuleOverrideExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideExclusionAttributes
- func (e ManagedRuleOverrideExclusionAttributes) MatchVariable() terra.StringValue
- func (e ManagedRuleOverrideExclusionAttributes) Operator() terra.StringValue
- func (e ManagedRuleOverrideExclusionAttributes) Selector() terra.StringValue
- type ManagedRuleOverrideExclusionState
- type ManagedRuleOverrideRule
- type ManagedRuleOverrideRuleAttributes
- func (r ManagedRuleOverrideRuleAttributes) Action() terra.StringValue
- func (r ManagedRuleOverrideRuleAttributes) Enabled() terra.BoolValue
- func (r ManagedRuleOverrideRuleAttributes) Exclusion() terra.ListValue[ManagedRuleOverrideRuleExclusionAttributes]
- func (r ManagedRuleOverrideRuleAttributes) InternalRef() (terra.Reference, error)
- func (r ManagedRuleOverrideRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r ManagedRuleOverrideRuleAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideRuleAttributes
- func (r ManagedRuleOverrideRuleAttributes) RuleId() terra.StringValue
- type ManagedRuleOverrideRuleExclusion
- type ManagedRuleOverrideRuleExclusionAttributes
- func (e ManagedRuleOverrideRuleExclusionAttributes) InternalRef() (terra.Reference, error)
- func (e ManagedRuleOverrideRuleExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ManagedRuleOverrideRuleExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideRuleExclusionAttributes
- func (e ManagedRuleOverrideRuleExclusionAttributes) MatchVariable() terra.StringValue
- func (e ManagedRuleOverrideRuleExclusionAttributes) Operator() terra.StringValue
- func (e ManagedRuleOverrideRuleExclusionAttributes) Selector() terra.StringValue
- type ManagedRuleOverrideRuleExclusionState
- type ManagedRuleOverrideRuleState
- type ManagedRuleOverrideState
- type ManagedRuleState
- type Resource
- func (affp *Resource) Attributes() azurermFrontdoorFirewallPolicyAttributes
- func (affp *Resource) Configuration() interface{}
- func (affp *Resource) DependOn() terra.Reference
- func (affp *Resource) Dependencies() terra.Dependencies
- func (affp *Resource) ImportState(state io.Reader) error
- func (affp *Resource) LifecycleManagement() *terra.Lifecycle
- func (affp *Resource) LocalName() string
- func (affp *Resource) State() (*azurermFrontdoorFirewallPolicyState, bool)
- func (affp *Resource) StateMust() *azurermFrontdoorFirewallPolicyState
- func (affp *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 { // CustomBlockResponseBody: string, optional CustomBlockResponseBody terra.StringValue `hcl:"custom_block_response_body,attr"` // CustomBlockResponseStatusCode: number, optional CustomBlockResponseStatusCode terra.NumberValue `hcl:"custom_block_response_status_code,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RedirectUrl: string, optional RedirectUrl terra.StringValue `hcl:"redirect_url,attr"` // 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"` // CustomRule: min=0,max=100 CustomRule []CustomRule `hcl:"custom_rule,block" validate:"min=0,max=100"` // ManagedRule: min=0,max=100 ManagedRule []ManagedRule `hcl:"managed_rule,block" validate:"min=0,max=100"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_frontdoor_firewall_policy.
type CustomRule ¶
type CustomRule struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // RateLimitDurationInMinutes: number, optional RateLimitDurationInMinutes terra.NumberValue `hcl:"rate_limit_duration_in_minutes,attr"` // RateLimitThreshold: number, optional RateLimitThreshold terra.NumberValue `hcl:"rate_limit_threshold,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // CustomRuleMatchCondition: min=0,max=10 MatchCondition []CustomRuleMatchCondition `hcl:"match_condition,block" validate:"min=0,max=10"` }
type CustomRuleAttributes ¶
type CustomRuleAttributes struct {
// contains filtered or unexported fields
}
func (CustomRuleAttributes) Action ¶
func (cr CustomRuleAttributes) Action() terra.StringValue
func (CustomRuleAttributes) Enabled ¶
func (cr CustomRuleAttributes) Enabled() terra.BoolValue
func (CustomRuleAttributes) InternalRef ¶
func (cr CustomRuleAttributes) InternalRef() (terra.Reference, error)
func (CustomRuleAttributes) InternalTokens ¶
func (cr CustomRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomRuleAttributes) InternalWithRef ¶
func (cr CustomRuleAttributes) InternalWithRef(ref terra.Reference) CustomRuleAttributes
func (CustomRuleAttributes) MatchCondition ¶
func (cr CustomRuleAttributes) MatchCondition() terra.ListValue[CustomRuleMatchConditionAttributes]
func (CustomRuleAttributes) Name ¶
func (cr CustomRuleAttributes) Name() terra.StringValue
func (CustomRuleAttributes) Priority ¶
func (cr CustomRuleAttributes) Priority() terra.NumberValue
func (CustomRuleAttributes) RateLimitDurationInMinutes ¶
func (cr CustomRuleAttributes) RateLimitDurationInMinutes() terra.NumberValue
func (CustomRuleAttributes) RateLimitThreshold ¶
func (cr CustomRuleAttributes) RateLimitThreshold() terra.NumberValue
func (CustomRuleAttributes) Type ¶
func (cr CustomRuleAttributes) Type() terra.StringValue
type CustomRuleMatchCondition ¶
type CustomRuleMatchCondition struct { // MatchValues: list of string, required MatchValues terra.ListValue[terra.StringValue] `hcl:"match_values,attr" validate:"required"` // MatchVariable: string, required MatchVariable terra.StringValue `hcl:"match_variable,attr" validate:"required"` // NegationCondition: bool, optional NegationCondition terra.BoolValue `hcl:"negation_condition,attr"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Selector: string, optional Selector terra.StringValue `hcl:"selector,attr"` // Transforms: list of string, optional Transforms terra.ListValue[terra.StringValue] `hcl:"transforms,attr"` }
type CustomRuleMatchConditionAttributes ¶
type CustomRuleMatchConditionAttributes struct {
// contains filtered or unexported fields
}
func (CustomRuleMatchConditionAttributes) InternalRef ¶
func (mc CustomRuleMatchConditionAttributes) InternalRef() (terra.Reference, error)
func (CustomRuleMatchConditionAttributes) InternalTokens ¶
func (mc CustomRuleMatchConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomRuleMatchConditionAttributes) InternalWithRef ¶
func (mc CustomRuleMatchConditionAttributes) InternalWithRef(ref terra.Reference) CustomRuleMatchConditionAttributes
func (CustomRuleMatchConditionAttributes) MatchValues ¶
func (mc CustomRuleMatchConditionAttributes) MatchValues() terra.ListValue[terra.StringValue]
func (CustomRuleMatchConditionAttributes) MatchVariable ¶
func (mc CustomRuleMatchConditionAttributes) MatchVariable() terra.StringValue
func (CustomRuleMatchConditionAttributes) NegationCondition ¶
func (mc CustomRuleMatchConditionAttributes) NegationCondition() terra.BoolValue
func (CustomRuleMatchConditionAttributes) Operator ¶
func (mc CustomRuleMatchConditionAttributes) Operator() terra.StringValue
func (CustomRuleMatchConditionAttributes) Selector ¶
func (mc CustomRuleMatchConditionAttributes) Selector() terra.StringValue
func (CustomRuleMatchConditionAttributes) Transforms ¶
func (mc CustomRuleMatchConditionAttributes) Transforms() terra.ListValue[terra.StringValue]
type CustomRuleState ¶
type CustomRuleState struct { Action string `json:"action"` Enabled bool `json:"enabled"` Name string `json:"name"` Priority float64 `json:"priority"` RateLimitDurationInMinutes float64 `json:"rate_limit_duration_in_minutes"` RateLimitThreshold float64 `json:"rate_limit_threshold"` Type string `json:"type"` MatchCondition []CustomRuleMatchConditionState `json:"match_condition"` }
type ManagedRule ¶
type ManagedRule struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Version: string, required Version terra.StringValue `hcl:"version,attr" validate:"required"` // ManagedRuleExclusion: min=0,max=100 Exclusion []ManagedRuleExclusion `hcl:"exclusion,block" validate:"min=0,max=100"` // ManagedRuleOverride: min=0,max=100 Override []ManagedRuleOverride `hcl:"override,block" validate:"min=0,max=100"` }
type ManagedRuleAttributes ¶
type ManagedRuleAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRuleAttributes) Exclusion ¶
func (mr ManagedRuleAttributes) Exclusion() terra.ListValue[ManagedRuleExclusionAttributes]
func (ManagedRuleAttributes) InternalRef ¶
func (mr ManagedRuleAttributes) InternalRef() (terra.Reference, error)
func (ManagedRuleAttributes) InternalTokens ¶
func (mr ManagedRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRuleAttributes) InternalWithRef ¶
func (mr ManagedRuleAttributes) InternalWithRef(ref terra.Reference) ManagedRuleAttributes
func (ManagedRuleAttributes) Override ¶
func (mr ManagedRuleAttributes) Override() terra.ListValue[ManagedRuleOverrideAttributes]
func (ManagedRuleAttributes) Type ¶
func (mr ManagedRuleAttributes) Type() terra.StringValue
func (ManagedRuleAttributes) Version ¶
func (mr ManagedRuleAttributes) Version() terra.StringValue
type ManagedRuleExclusion ¶
type ManagedRuleExclusion struct { // MatchVariable: string, required MatchVariable terra.StringValue `hcl:"match_variable,attr" validate:"required"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Selector: string, required Selector terra.StringValue `hcl:"selector,attr" validate:"required"` }
type ManagedRuleExclusionAttributes ¶
type ManagedRuleExclusionAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRuleExclusionAttributes) InternalRef ¶
func (e ManagedRuleExclusionAttributes) InternalRef() (terra.Reference, error)
func (ManagedRuleExclusionAttributes) InternalTokens ¶
func (e ManagedRuleExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRuleExclusionAttributes) InternalWithRef ¶
func (e ManagedRuleExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRuleExclusionAttributes
func (ManagedRuleExclusionAttributes) MatchVariable ¶
func (e ManagedRuleExclusionAttributes) MatchVariable() terra.StringValue
func (ManagedRuleExclusionAttributes) Operator ¶
func (e ManagedRuleExclusionAttributes) Operator() terra.StringValue
func (ManagedRuleExclusionAttributes) Selector ¶
func (e ManagedRuleExclusionAttributes) Selector() terra.StringValue
type ManagedRuleOverride ¶
type ManagedRuleOverride struct { // RuleGroupName: string, required RuleGroupName terra.StringValue `hcl:"rule_group_name,attr" validate:"required"` // ManagedRuleOverrideExclusion: min=0,max=100 Exclusion []ManagedRuleOverrideExclusion `hcl:"exclusion,block" validate:"min=0,max=100"` // ManagedRuleOverrideRule: min=0,max=1000 Rule []ManagedRuleOverrideRule `hcl:"rule,block" validate:"min=0,max=1000"` }
type ManagedRuleOverrideAttributes ¶
type ManagedRuleOverrideAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRuleOverrideAttributes) Exclusion ¶
func (o ManagedRuleOverrideAttributes) Exclusion() terra.ListValue[ManagedRuleOverrideExclusionAttributes]
func (ManagedRuleOverrideAttributes) InternalRef ¶
func (o ManagedRuleOverrideAttributes) InternalRef() (terra.Reference, error)
func (ManagedRuleOverrideAttributes) InternalTokens ¶
func (o ManagedRuleOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRuleOverrideAttributes) InternalWithRef ¶
func (o ManagedRuleOverrideAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideAttributes
func (ManagedRuleOverrideAttributes) Rule ¶
func (o ManagedRuleOverrideAttributes) Rule() terra.ListValue[ManagedRuleOverrideRuleAttributes]
func (ManagedRuleOverrideAttributes) RuleGroupName ¶
func (o ManagedRuleOverrideAttributes) RuleGroupName() terra.StringValue
type ManagedRuleOverrideExclusion ¶
type ManagedRuleOverrideExclusion struct { // MatchVariable: string, required MatchVariable terra.StringValue `hcl:"match_variable,attr" validate:"required"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Selector: string, required Selector terra.StringValue `hcl:"selector,attr" validate:"required"` }
type ManagedRuleOverrideExclusionAttributes ¶
type ManagedRuleOverrideExclusionAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRuleOverrideExclusionAttributes) InternalRef ¶
func (e ManagedRuleOverrideExclusionAttributes) InternalRef() (terra.Reference, error)
func (ManagedRuleOverrideExclusionAttributes) InternalTokens ¶
func (e ManagedRuleOverrideExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRuleOverrideExclusionAttributes) InternalWithRef ¶
func (e ManagedRuleOverrideExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideExclusionAttributes
func (ManagedRuleOverrideExclusionAttributes) MatchVariable ¶
func (e ManagedRuleOverrideExclusionAttributes) MatchVariable() terra.StringValue
func (ManagedRuleOverrideExclusionAttributes) Operator ¶
func (e ManagedRuleOverrideExclusionAttributes) Operator() terra.StringValue
func (ManagedRuleOverrideExclusionAttributes) Selector ¶
func (e ManagedRuleOverrideExclusionAttributes) Selector() terra.StringValue
type ManagedRuleOverrideRule ¶
type ManagedRuleOverrideRule struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // RuleId: string, required RuleId terra.StringValue `hcl:"rule_id,attr" validate:"required"` // ManagedRuleOverrideRuleExclusion: min=0,max=100 Exclusion []ManagedRuleOverrideRuleExclusion `hcl:"exclusion,block" validate:"min=0,max=100"` }
type ManagedRuleOverrideRuleAttributes ¶
type ManagedRuleOverrideRuleAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRuleOverrideRuleAttributes) Action ¶
func (r ManagedRuleOverrideRuleAttributes) Action() terra.StringValue
func (ManagedRuleOverrideRuleAttributes) Enabled ¶
func (r ManagedRuleOverrideRuleAttributes) Enabled() terra.BoolValue
func (ManagedRuleOverrideRuleAttributes) Exclusion ¶
func (r ManagedRuleOverrideRuleAttributes) Exclusion() terra.ListValue[ManagedRuleOverrideRuleExclusionAttributes]
func (ManagedRuleOverrideRuleAttributes) InternalRef ¶
func (r ManagedRuleOverrideRuleAttributes) InternalRef() (terra.Reference, error)
func (ManagedRuleOverrideRuleAttributes) InternalTokens ¶
func (r ManagedRuleOverrideRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRuleOverrideRuleAttributes) InternalWithRef ¶
func (r ManagedRuleOverrideRuleAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideRuleAttributes
func (ManagedRuleOverrideRuleAttributes) RuleId ¶
func (r ManagedRuleOverrideRuleAttributes) RuleId() terra.StringValue
type ManagedRuleOverrideRuleExclusion ¶
type ManagedRuleOverrideRuleExclusion struct { // MatchVariable: string, required MatchVariable terra.StringValue `hcl:"match_variable,attr" validate:"required"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Selector: string, required Selector terra.StringValue `hcl:"selector,attr" validate:"required"` }
type ManagedRuleOverrideRuleExclusionAttributes ¶
type ManagedRuleOverrideRuleExclusionAttributes struct {
// contains filtered or unexported fields
}
func (ManagedRuleOverrideRuleExclusionAttributes) InternalRef ¶
func (e ManagedRuleOverrideRuleExclusionAttributes) InternalRef() (terra.Reference, error)
func (ManagedRuleOverrideRuleExclusionAttributes) InternalTokens ¶
func (e ManagedRuleOverrideRuleExclusionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ManagedRuleOverrideRuleExclusionAttributes) InternalWithRef ¶
func (e ManagedRuleOverrideRuleExclusionAttributes) InternalWithRef(ref terra.Reference) ManagedRuleOverrideRuleExclusionAttributes
func (ManagedRuleOverrideRuleExclusionAttributes) MatchVariable ¶
func (e ManagedRuleOverrideRuleExclusionAttributes) MatchVariable() terra.StringValue
func (ManagedRuleOverrideRuleExclusionAttributes) Operator ¶
func (e ManagedRuleOverrideRuleExclusionAttributes) Operator() terra.StringValue
func (ManagedRuleOverrideRuleExclusionAttributes) Selector ¶
func (e ManagedRuleOverrideRuleExclusionAttributes) Selector() terra.StringValue
type ManagedRuleOverrideRuleState ¶
type ManagedRuleOverrideRuleState struct { Action string `json:"action"` Enabled bool `json:"enabled"` RuleId string `json:"rule_id"` Exclusion []ManagedRuleOverrideRuleExclusionState `json:"exclusion"` }
type ManagedRuleOverrideState ¶
type ManagedRuleOverrideState struct { RuleGroupName string `json:"rule_group_name"` Exclusion []ManagedRuleOverrideExclusionState `json:"exclusion"` Rule []ManagedRuleOverrideRuleState `json:"rule"` }
type ManagedRuleState ¶
type ManagedRuleState struct { Type string `json:"type"` Version string `json:"version"` Exclusion []ManagedRuleExclusionState `json:"exclusion"` Override []ManagedRuleOverrideState `json:"override"` }
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_frontdoor_firewall_policy.
func (*Resource) Attributes ¶
func (affp *Resource) Attributes() azurermFrontdoorFirewallPolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (affp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (affp *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
Click to show internal directories.
Click to hide internal directories.