Documentation ¶
Index ¶
- type Args
- type Resource
- func (arm *Resource) Attributes() azurermRouteMapAttributes
- func (arm *Resource) Configuration() interface{}
- func (arm *Resource) DependOn() terra.Reference
- func (arm *Resource) Dependencies() terra.Dependencies
- func (arm *Resource) ImportState(state io.Reader) error
- func (arm *Resource) LifecycleManagement() *terra.Lifecycle
- func (arm *Resource) LocalName() string
- func (arm *Resource) State() (*azurermRouteMapState, bool)
- func (arm *Resource) StateMust() *azurermRouteMapState
- func (arm *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) Parameter() terra.ListValue[RuleActionParameterAttributes]
- func (a RuleActionAttributes) Type() terra.StringValue
- type RuleActionParameter
- type RuleActionParameterAttributes
- func (p RuleActionParameterAttributes) AsPath() terra.ListValue[terra.StringValue]
- func (p RuleActionParameterAttributes) Community() terra.ListValue[terra.StringValue]
- func (p RuleActionParameterAttributes) InternalRef() (terra.Reference, error)
- func (p RuleActionParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p RuleActionParameterAttributes) InternalWithRef(ref terra.Reference) RuleActionParameterAttributes
- func (p RuleActionParameterAttributes) RoutePrefix() terra.ListValue[terra.StringValue]
- type RuleActionParameterState
- 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) MatchCriterion() terra.ListValue[RuleMatchCriterionAttributes]
- func (r RuleAttributes) Name() terra.StringValue
- func (r RuleAttributes) NextStepIfMatched() terra.StringValue
- type RuleMatchCriterion
- type RuleMatchCriterionAttributes
- func (mc RuleMatchCriterionAttributes) AsPath() terra.ListValue[terra.StringValue]
- func (mc RuleMatchCriterionAttributes) Community() terra.ListValue[terra.StringValue]
- func (mc RuleMatchCriterionAttributes) InternalRef() (terra.Reference, error)
- func (mc RuleMatchCriterionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mc RuleMatchCriterionAttributes) InternalWithRef(ref terra.Reference) RuleMatchCriterionAttributes
- func (mc RuleMatchCriterionAttributes) MatchCondition() terra.StringValue
- func (mc RuleMatchCriterionAttributes) RoutePrefix() terra.ListValue[terra.StringValue]
- type RuleMatchCriterionState
- 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 { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // VirtualHubId: string, required VirtualHubId terra.StringValue `hcl:"virtual_hub_id,attr" validate:"required"` // Rule: min=0 Rule []Rule `hcl:"rule,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_route_map.
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_route_map.
func (*Resource) Attributes ¶
func (arm *Resource) Attributes() azurermRouteMapAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arm *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arm *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"` // NextStepIfMatched: string, optional NextStepIfMatched terra.StringValue `hcl:"next_step_if_matched,attr"` // RuleAction: min=0 Action []RuleAction `hcl:"action,block" validate:"min=0"` // RuleMatchCriterion: min=0 MatchCriterion []RuleMatchCriterion `hcl:"match_criterion,block" validate:"min=0"` }
type RuleAction ¶
type RuleAction struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // RuleActionParameter: min=1 Parameter []RuleActionParameter `hcl:"parameter,block" validate:"min=1"` }
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) Parameter ¶
func (a RuleActionAttributes) Parameter() terra.ListValue[RuleActionParameterAttributes]
func (RuleActionAttributes) Type ¶
func (a RuleActionAttributes) Type() terra.StringValue
type RuleActionParameter ¶
type RuleActionParameter struct { // AsPath: list of string, optional AsPath terra.ListValue[terra.StringValue] `hcl:"as_path,attr"` // Community: list of string, optional Community terra.ListValue[terra.StringValue] `hcl:"community,attr"` // RoutePrefix: list of string, optional RoutePrefix terra.ListValue[terra.StringValue] `hcl:"route_prefix,attr"` }
type RuleActionParameterAttributes ¶
type RuleActionParameterAttributes struct {
// contains filtered or unexported fields
}
func (RuleActionParameterAttributes) AsPath ¶
func (p RuleActionParameterAttributes) AsPath() terra.ListValue[terra.StringValue]
func (RuleActionParameterAttributes) Community ¶
func (p RuleActionParameterAttributes) Community() terra.ListValue[terra.StringValue]
func (RuleActionParameterAttributes) InternalRef ¶
func (p RuleActionParameterAttributes) InternalRef() (terra.Reference, error)
func (RuleActionParameterAttributes) InternalTokens ¶
func (p RuleActionParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleActionParameterAttributes) InternalWithRef ¶
func (p RuleActionParameterAttributes) InternalWithRef(ref terra.Reference) RuleActionParameterAttributes
func (RuleActionParameterAttributes) RoutePrefix ¶
func (p RuleActionParameterAttributes) RoutePrefix() terra.ListValue[terra.StringValue]
type RuleActionState ¶
type RuleActionState struct { Type string `json:"type"` Parameter []RuleActionParameterState `json:"parameter"` }
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) MatchCriterion ¶
func (r RuleAttributes) MatchCriterion() terra.ListValue[RuleMatchCriterionAttributes]
func (RuleAttributes) Name ¶
func (r RuleAttributes) Name() terra.StringValue
func (RuleAttributes) NextStepIfMatched ¶
func (r RuleAttributes) NextStepIfMatched() terra.StringValue
type RuleMatchCriterion ¶
type RuleMatchCriterion struct { // AsPath: list of string, optional AsPath terra.ListValue[terra.StringValue] `hcl:"as_path,attr"` // Community: list of string, optional Community terra.ListValue[terra.StringValue] `hcl:"community,attr"` // MatchCondition: string, required MatchCondition terra.StringValue `hcl:"match_condition,attr" validate:"required"` // RoutePrefix: list of string, optional RoutePrefix terra.ListValue[terra.StringValue] `hcl:"route_prefix,attr"` }
type RuleMatchCriterionAttributes ¶
type RuleMatchCriterionAttributes struct {
// contains filtered or unexported fields
}
func (RuleMatchCriterionAttributes) AsPath ¶
func (mc RuleMatchCriterionAttributes) AsPath() terra.ListValue[terra.StringValue]
func (RuleMatchCriterionAttributes) Community ¶
func (mc RuleMatchCriterionAttributes) Community() terra.ListValue[terra.StringValue]
func (RuleMatchCriterionAttributes) InternalRef ¶
func (mc RuleMatchCriterionAttributes) InternalRef() (terra.Reference, error)
func (RuleMatchCriterionAttributes) InternalTokens ¶
func (mc RuleMatchCriterionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleMatchCriterionAttributes) InternalWithRef ¶
func (mc RuleMatchCriterionAttributes) InternalWithRef(ref terra.Reference) RuleMatchCriterionAttributes
func (RuleMatchCriterionAttributes) MatchCondition ¶
func (mc RuleMatchCriterionAttributes) MatchCondition() terra.StringValue
func (RuleMatchCriterionAttributes) RoutePrefix ¶
func (mc RuleMatchCriterionAttributes) RoutePrefix() terra.ListValue[terra.StringValue]
type RuleMatchCriterionState ¶
type RuleState ¶
type RuleState struct { Name string `json:"name"` NextStepIfMatched string `json:"next_step_if_matched"` Action []RuleActionState `json:"action"` MatchCriterion []RuleMatchCriterionState `json:"match_criterion"` }
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.