Documentation ¶
Index ¶
- type Args
- type Resource
- func (afre *Resource) Attributes() azurermFrontdoorRulesEngineAttributes
- func (afre *Resource) Configuration() interface{}
- func (afre *Resource) DependOn() terra.Reference
- func (afre *Resource) Dependencies() terra.Dependencies
- func (afre *Resource) ImportState(state io.Reader) error
- func (afre *Resource) LifecycleManagement() *terra.Lifecycle
- func (afre *Resource) LocalName() string
- func (afre *Resource) State() (*azurermFrontdoorRulesEngineState, bool)
- func (afre *Resource) StateMust() *azurermFrontdoorRulesEngineState
- func (afre *Resource) Type() string
- type Rule
- type RuleAction
- type RuleActionAttributes
- func (a RuleActionAttributes) InternalRef() (terra.Reference, error)
- func (a RuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a RuleActionAttributes) InternalWithRef(ref terra.Reference) RuleActionAttributes
- func (a RuleActionAttributes) RequestHeader() terra.ListValue[RuleActionRequestHeaderAttributes]
- func (a RuleActionAttributes) ResponseHeader() terra.ListValue[RuleActionResponseHeaderAttributes]
- type RuleActionRequestHeader
- type RuleActionRequestHeaderAttributes
- func (rh RuleActionRequestHeaderAttributes) HeaderActionType() terra.StringValue
- func (rh RuleActionRequestHeaderAttributes) HeaderName() terra.StringValue
- func (rh RuleActionRequestHeaderAttributes) InternalRef() (terra.Reference, error)
- func (rh RuleActionRequestHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rh RuleActionRequestHeaderAttributes) InternalWithRef(ref terra.Reference) RuleActionRequestHeaderAttributes
- func (rh RuleActionRequestHeaderAttributes) Value() terra.StringValue
- type RuleActionRequestHeaderState
- type RuleActionResponseHeader
- type RuleActionResponseHeaderAttributes
- func (rh RuleActionResponseHeaderAttributes) HeaderActionType() terra.StringValue
- func (rh RuleActionResponseHeaderAttributes) HeaderName() terra.StringValue
- func (rh RuleActionResponseHeaderAttributes) InternalRef() (terra.Reference, error)
- func (rh RuleActionResponseHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rh RuleActionResponseHeaderAttributes) InternalWithRef(ref terra.Reference) RuleActionResponseHeaderAttributes
- func (rh RuleActionResponseHeaderAttributes) Value() terra.StringValue
- type RuleActionResponseHeaderState
- type RuleActionState
- type RuleAttributes
- func (r RuleAttributes) Action() terra.ListValue[RuleActionAttributes]
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) MatchCondition() terra.ListValue[RuleMatchConditionAttributes]
- func (r RuleAttributes) Name() terra.StringValue
- func (r RuleAttributes) Priority() terra.NumberValue
- type RuleMatchCondition
- type RuleMatchConditionAttributes
- func (mc RuleMatchConditionAttributes) InternalRef() (terra.Reference, error)
- func (mc RuleMatchConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc RuleMatchConditionAttributes) InternalWithRef(ref terra.Reference) RuleMatchConditionAttributes
- func (mc RuleMatchConditionAttributes) NegateCondition() terra.BoolValue
- func (mc RuleMatchConditionAttributes) Operator() terra.StringValue
- func (mc RuleMatchConditionAttributes) Selector() terra.StringValue
- func (mc RuleMatchConditionAttributes) Transform() terra.ListValue[terra.StringValue]
- func (mc RuleMatchConditionAttributes) Value() terra.ListValue[terra.StringValue]
- func (mc RuleMatchConditionAttributes) Variable() terra.StringValue
- type RuleMatchConditionState
- type RuleState
- 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 { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // FrontdoorName: string, required FrontdoorName terra.StringValue `hcl:"frontdoor_name,attr" validate:"required"` // 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"` // Rule: min=0,max=100 Rule []Rule `hcl:"rule,block" validate:"min=0,max=100"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_frontdoor_rules_engine.
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_rules_engine.
func (*Resource) Attributes ¶
func (afre *Resource) Attributes() azurermFrontdoorRulesEngineAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (afre *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (afre *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 Rule ¶
type Rule struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // RuleAction: optional Action *RuleAction `hcl:"action,block"` // RuleMatchCondition: min=0,max=100 MatchCondition []RuleMatchCondition `hcl:"match_condition,block" validate:"min=0,max=100"` }
type RuleAction ¶
type RuleAction struct { // RuleActionRequestHeader: min=0,max=100 RequestHeader []RuleActionRequestHeader `hcl:"request_header,block" validate:"min=0,max=100"` // RuleActionResponseHeader: min=0,max=100 ResponseHeader []RuleActionResponseHeader `hcl:"response_header,block" validate:"min=0,max=100"` }
type RuleActionAttributes ¶
type RuleActionAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionAttributes) InternalRef ¶
func (a RuleActionAttributes) InternalRef() (terra.Reference, error)
func (RuleActionAttributes) InternalTokens ¶
func (a RuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionAttributes) InternalWithRef ¶
func (a RuleActionAttributes) InternalWithRef(ref terra.Reference) RuleActionAttributes
func (RuleActionAttributes) RequestHeader ¶
func (a RuleActionAttributes) RequestHeader() terra.ListValue[RuleActionRequestHeaderAttributes]
func (RuleActionAttributes) ResponseHeader ¶
func (a RuleActionAttributes) ResponseHeader() terra.ListValue[RuleActionResponseHeaderAttributes]
type RuleActionRequestHeader ¶
type RuleActionRequestHeader struct { // HeaderActionType: string, optional HeaderActionType terra.StringValue `hcl:"header_action_type,attr"` // HeaderName: string, optional HeaderName terra.StringValue `hcl:"header_name,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type RuleActionRequestHeaderAttributes ¶
type RuleActionRequestHeaderAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionRequestHeaderAttributes) HeaderActionType ¶
func (rh RuleActionRequestHeaderAttributes) HeaderActionType() terra.StringValue
func (RuleActionRequestHeaderAttributes) HeaderName ¶
func (rh RuleActionRequestHeaderAttributes) HeaderName() terra.StringValue
func (RuleActionRequestHeaderAttributes) InternalRef ¶
func (rh RuleActionRequestHeaderAttributes) InternalRef() (terra.Reference, error)
func (RuleActionRequestHeaderAttributes) InternalTokens ¶
func (rh RuleActionRequestHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionRequestHeaderAttributes) InternalWithRef ¶
func (rh RuleActionRequestHeaderAttributes) InternalWithRef(ref terra.Reference) RuleActionRequestHeaderAttributes
func (RuleActionRequestHeaderAttributes) Value ¶
func (rh RuleActionRequestHeaderAttributes) Value() terra.StringValue
type RuleActionResponseHeader ¶
type RuleActionResponseHeader struct { // HeaderActionType: string, optional HeaderActionType terra.StringValue `hcl:"header_action_type,attr"` // HeaderName: string, optional HeaderName terra.StringValue `hcl:"header_name,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type RuleActionResponseHeaderAttributes ¶
type RuleActionResponseHeaderAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionResponseHeaderAttributes) HeaderActionType ¶
func (rh RuleActionResponseHeaderAttributes) HeaderActionType() terra.StringValue
func (RuleActionResponseHeaderAttributes) HeaderName ¶
func (rh RuleActionResponseHeaderAttributes) HeaderName() terra.StringValue
func (RuleActionResponseHeaderAttributes) InternalRef ¶
func (rh RuleActionResponseHeaderAttributes) InternalRef() (terra.Reference, error)
func (RuleActionResponseHeaderAttributes) InternalTokens ¶
func (rh RuleActionResponseHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionResponseHeaderAttributes) InternalWithRef ¶
func (rh RuleActionResponseHeaderAttributes) InternalWithRef(ref terra.Reference) RuleActionResponseHeaderAttributes
func (RuleActionResponseHeaderAttributes) Value ¶
func (rh RuleActionResponseHeaderAttributes) Value() terra.StringValue
type RuleActionState ¶
type RuleActionState struct { RequestHeader []RuleActionRequestHeaderState `json:"request_header"` ResponseHeader []RuleActionResponseHeaderState `json:"response_header"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) Action ¶
func (r RuleAttributes) Action() terra.ListValue[RuleActionAttributes]
func (RuleAttributes) InternalRef ¶
func (r RuleAttributes) InternalRef() (terra.Reference, error)
func (RuleAttributes) InternalTokens ¶
func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleAttributes) InternalWithRef ¶
func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
func (RuleAttributes) MatchCondition ¶
func (r RuleAttributes) MatchCondition() terra.ListValue[RuleMatchConditionAttributes]
func (RuleAttributes) Name ¶
func (r RuleAttributes) Name() terra.StringValue
func (RuleAttributes) Priority ¶
func (r RuleAttributes) Priority() terra.NumberValue
type RuleMatchCondition ¶
type RuleMatchCondition struct { // NegateCondition: bool, optional NegateCondition terra.BoolValue `hcl:"negate_condition,attr"` // Operator: string, required Operator terra.StringValue `hcl:"operator,attr" validate:"required"` // Selector: string, optional Selector terra.StringValue `hcl:"selector,attr"` // Transform: list of string, optional Transform terra.ListValue[terra.StringValue] `hcl:"transform,attr"` // Value: list of string, optional Value terra.ListValue[terra.StringValue] `hcl:"value,attr"` // Variable: string, optional Variable terra.StringValue `hcl:"variable,attr"` }
type RuleMatchConditionAttributes ¶
type RuleMatchConditionAttributes struct {
// contains filtered or unexported fields
}
func (RuleMatchConditionAttributes) InternalRef ¶
func (mc RuleMatchConditionAttributes) InternalRef() (terra.Reference, error)
func (RuleMatchConditionAttributes) InternalTokens ¶
func (mc RuleMatchConditionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleMatchConditionAttributes) InternalWithRef ¶
func (mc RuleMatchConditionAttributes) InternalWithRef(ref terra.Reference) RuleMatchConditionAttributes
func (RuleMatchConditionAttributes) NegateCondition ¶
func (mc RuleMatchConditionAttributes) NegateCondition() terra.BoolValue
func (RuleMatchConditionAttributes) Operator ¶
func (mc RuleMatchConditionAttributes) Operator() terra.StringValue
func (RuleMatchConditionAttributes) Selector ¶
func (mc RuleMatchConditionAttributes) Selector() terra.StringValue
func (RuleMatchConditionAttributes) Transform ¶
func (mc RuleMatchConditionAttributes) Transform() terra.ListValue[terra.StringValue]
func (RuleMatchConditionAttributes) Value ¶
func (mc RuleMatchConditionAttributes) Value() terra.ListValue[terra.StringValue]
func (RuleMatchConditionAttributes) Variable ¶
func (mc RuleMatchConditionAttributes) Variable() terra.StringValue
type RuleMatchConditionState ¶
type RuleState ¶
type RuleState struct { Name string `json:"name"` Priority float64 `json:"priority"` Action []RuleActionState `json:"action"` MatchCondition []RuleMatchConditionState `json:"match_condition"` }
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.