Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) AssociationMethod() terra.StringValue
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- func (a ActionAttributes) RequireAcceptance() terra.BoolValue
- func (a ActionAttributes) Segment() terra.StringValue
- func (a ActionAttributes) TagValueOfKey() terra.StringValue
- type ActionState
- type AttachmentPolicies
- type AttachmentPoliciesAttributes
- func (ap AttachmentPoliciesAttributes) Action() terra.ListValue[ActionAttributes]
- func (ap AttachmentPoliciesAttributes) ConditionLogic() terra.StringValue
- func (ap AttachmentPoliciesAttributes) Conditions() terra.ListValue[ConditionsAttributes]
- func (ap AttachmentPoliciesAttributes) Description() terra.StringValue
- func (ap AttachmentPoliciesAttributes) InternalRef() (terra.Reference, error)
- func (ap AttachmentPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ap AttachmentPoliciesAttributes) InternalWithRef(ref terra.Reference) AttachmentPoliciesAttributes
- func (ap AttachmentPoliciesAttributes) RuleNumber() terra.NumberValue
- type AttachmentPoliciesState
- type Conditions
- type ConditionsAttributes
- func (c ConditionsAttributes) InternalRef() (terra.Reference, error)
- func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConditionsAttributes) InternalWithRef(ref terra.Reference) ConditionsAttributes
- func (c ConditionsAttributes) Key() terra.StringValue
- func (c ConditionsAttributes) Operator() terra.StringValue
- func (c ConditionsAttributes) Type() terra.StringValue
- func (c ConditionsAttributes) Value() terra.StringValue
- type ConditionsState
- type CoreNetworkConfiguration
- type CoreNetworkConfigurationAttributes
- func (cnc CoreNetworkConfigurationAttributes) AsnRanges() terra.SetValue[terra.StringValue]
- func (cnc CoreNetworkConfigurationAttributes) EdgeLocations() terra.ListValue[EdgeLocationsAttributes]
- func (cnc CoreNetworkConfigurationAttributes) InsideCidrBlocks() terra.SetValue[terra.StringValue]
- func (cnc CoreNetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cnc CoreNetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cnc CoreNetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) CoreNetworkConfigurationAttributes
- func (cnc CoreNetworkConfigurationAttributes) VpnEcmpSupport() terra.BoolValue
- type CoreNetworkConfigurationState
- type EdgeLocations
- type EdgeLocationsAttributes
- func (el EdgeLocationsAttributes) Asn() terra.StringValue
- func (el EdgeLocationsAttributes) InsideCidrBlocks() terra.ListValue[terra.StringValue]
- func (el EdgeLocationsAttributes) InternalRef() (terra.Reference, error)
- func (el EdgeLocationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (el EdgeLocationsAttributes) InternalWithRef(ref terra.Reference) EdgeLocationsAttributes
- func (el EdgeLocationsAttributes) Location() terra.StringValue
- type EdgeLocationsState
- type SegmentActions
- type SegmentActionsAttributes
- func (sa SegmentActionsAttributes) Action() terra.StringValue
- func (sa SegmentActionsAttributes) Description() terra.StringValue
- func (sa SegmentActionsAttributes) DestinationCidrBlocks() terra.SetValue[terra.StringValue]
- func (sa SegmentActionsAttributes) Destinations() terra.SetValue[terra.StringValue]
- func (sa SegmentActionsAttributes) InternalRef() (terra.Reference, error)
- func (sa SegmentActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa SegmentActionsAttributes) InternalWithRef(ref terra.Reference) SegmentActionsAttributes
- func (sa SegmentActionsAttributes) Mode() terra.StringValue
- func (sa SegmentActionsAttributes) Segment() terra.StringValue
- func (sa SegmentActionsAttributes) ShareWith() terra.SetValue[terra.StringValue]
- func (sa SegmentActionsAttributes) ShareWithExcept() terra.SetValue[terra.StringValue]
- type SegmentActionsState
- type Segments
- type SegmentsAttributes
- func (s SegmentsAttributes) AllowFilter() terra.SetValue[terra.StringValue]
- func (s SegmentsAttributes) DenyFilter() terra.SetValue[terra.StringValue]
- func (s SegmentsAttributes) Description() terra.StringValue
- func (s SegmentsAttributes) EdgeLocations() terra.SetValue[terra.StringValue]
- func (s SegmentsAttributes) InternalRef() (terra.Reference, error)
- func (s SegmentsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SegmentsAttributes) InternalWithRef(ref terra.Reference) SegmentsAttributes
- func (s SegmentsAttributes) IsolateAttachments() terra.BoolValue
- func (s SegmentsAttributes) Name() terra.StringValue
- func (s SegmentsAttributes) RequireAttachmentAcceptance() terra.BoolValue
- type SegmentsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // AssociationMethod: string, required AssociationMethod terra.StringValue `hcl:"association_method,attr" validate:"required"` // RequireAcceptance: bool, optional RequireAcceptance terra.BoolValue `hcl:"require_acceptance,attr"` // Segment: string, optional Segment terra.StringValue `hcl:"segment,attr"` // TagValueOfKey: string, optional TagValueOfKey terra.StringValue `hcl:"tag_value_of_key,attr"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) AssociationMethod ¶
func (a ActionAttributes) AssociationMethod() terra.StringValue
func (ActionAttributes) InternalRef ¶
func (a ActionAttributes) InternalRef() (terra.Reference, error)
func (ActionAttributes) InternalTokens ¶
func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionAttributes) InternalWithRef ¶
func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
func (ActionAttributes) RequireAcceptance ¶
func (a ActionAttributes) RequireAcceptance() terra.BoolValue
func (ActionAttributes) Segment ¶
func (a ActionAttributes) Segment() terra.StringValue
func (ActionAttributes) TagValueOfKey ¶
func (a ActionAttributes) TagValueOfKey() terra.StringValue
type ActionState ¶
type AttachmentPolicies ¶
type AttachmentPolicies struct { // ConditionLogic: string, optional ConditionLogic terra.StringValue `hcl:"condition_logic,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // RuleNumber: number, required RuleNumber terra.NumberValue `hcl:"rule_number,attr" validate:"required"` // Action: required Action *Action `hcl:"action,block" validate:"required"` // Conditions: min=1 Conditions []Conditions `hcl:"conditions,block" validate:"min=1"` }
type AttachmentPoliciesAttributes ¶
type AttachmentPoliciesAttributes struct {
// contains filtered or unexported fields
}
func (AttachmentPoliciesAttributes) Action ¶
func (ap AttachmentPoliciesAttributes) Action() terra.ListValue[ActionAttributes]
func (AttachmentPoliciesAttributes) ConditionLogic ¶
func (ap AttachmentPoliciesAttributes) ConditionLogic() terra.StringValue
func (AttachmentPoliciesAttributes) Conditions ¶
func (ap AttachmentPoliciesAttributes) Conditions() terra.ListValue[ConditionsAttributes]
func (AttachmentPoliciesAttributes) Description ¶
func (ap AttachmentPoliciesAttributes) Description() terra.StringValue
func (AttachmentPoliciesAttributes) InternalRef ¶
func (ap AttachmentPoliciesAttributes) InternalRef() (terra.Reference, error)
func (AttachmentPoliciesAttributes) InternalTokens ¶
func (ap AttachmentPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AttachmentPoliciesAttributes) InternalWithRef ¶
func (ap AttachmentPoliciesAttributes) InternalWithRef(ref terra.Reference) AttachmentPoliciesAttributes
func (AttachmentPoliciesAttributes) RuleNumber ¶
func (ap AttachmentPoliciesAttributes) RuleNumber() terra.NumberValue
type AttachmentPoliciesState ¶
type AttachmentPoliciesState struct { ConditionLogic string `json:"condition_logic"` Description string `json:"description"` RuleNumber float64 `json:"rule_number"` Action []ActionState `json:"action"` Conditions []ConditionsState `json:"conditions"` }
type Conditions ¶
type Conditions struct { // Key: string, optional Key terra.StringValue `hcl:"key,attr"` // Operator: string, optional Operator terra.StringValue `hcl:"operator,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type ConditionsAttributes ¶
type ConditionsAttributes struct {
// contains filtered or unexported fields
}
func (ConditionsAttributes) InternalRef ¶
func (c ConditionsAttributes) InternalRef() (terra.Reference, error)
func (ConditionsAttributes) InternalTokens ¶
func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConditionsAttributes) InternalWithRef ¶
func (c ConditionsAttributes) InternalWithRef(ref terra.Reference) ConditionsAttributes
func (ConditionsAttributes) Key ¶
func (c ConditionsAttributes) Key() terra.StringValue
func (ConditionsAttributes) Operator ¶
func (c ConditionsAttributes) Operator() terra.StringValue
func (ConditionsAttributes) Type ¶
func (c ConditionsAttributes) Type() terra.StringValue
func (ConditionsAttributes) Value ¶
func (c ConditionsAttributes) Value() terra.StringValue
type ConditionsState ¶
type CoreNetworkConfiguration ¶
type CoreNetworkConfiguration struct { // AsnRanges: set of string, required AsnRanges terra.SetValue[terra.StringValue] `hcl:"asn_ranges,attr" validate:"required"` // InsideCidrBlocks: set of string, optional InsideCidrBlocks terra.SetValue[terra.StringValue] `hcl:"inside_cidr_blocks,attr"` // VpnEcmpSupport: bool, optional VpnEcmpSupport terra.BoolValue `hcl:"vpn_ecmp_support,attr"` // EdgeLocations: min=1,max=17 EdgeLocations []EdgeLocations `hcl:"edge_locations,block" validate:"min=1,max=17"` }
type CoreNetworkConfigurationAttributes ¶
type CoreNetworkConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CoreNetworkConfigurationAttributes) AsnRanges ¶
func (cnc CoreNetworkConfigurationAttributes) AsnRanges() terra.SetValue[terra.StringValue]
func (CoreNetworkConfigurationAttributes) EdgeLocations ¶
func (cnc CoreNetworkConfigurationAttributes) EdgeLocations() terra.ListValue[EdgeLocationsAttributes]
func (CoreNetworkConfigurationAttributes) InsideCidrBlocks ¶
func (cnc CoreNetworkConfigurationAttributes) InsideCidrBlocks() terra.SetValue[terra.StringValue]
func (CoreNetworkConfigurationAttributes) InternalRef ¶
func (cnc CoreNetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CoreNetworkConfigurationAttributes) InternalTokens ¶
func (cnc CoreNetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CoreNetworkConfigurationAttributes) InternalWithRef ¶
func (cnc CoreNetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) CoreNetworkConfigurationAttributes
func (CoreNetworkConfigurationAttributes) VpnEcmpSupport ¶
func (cnc CoreNetworkConfigurationAttributes) VpnEcmpSupport() terra.BoolValue
type CoreNetworkConfigurationState ¶
type CoreNetworkConfigurationState struct { AsnRanges []string `json:"asn_ranges"` InsideCidrBlocks []string `json:"inside_cidr_blocks"` VpnEcmpSupport bool `json:"vpn_ecmp_support"` EdgeLocations []EdgeLocationsState `json:"edge_locations"` }
type EdgeLocations ¶
type EdgeLocations struct { // Asn: string, optional Asn terra.StringValue `hcl:"asn,attr"` // InsideCidrBlocks: list of string, optional InsideCidrBlocks terra.ListValue[terra.StringValue] `hcl:"inside_cidr_blocks,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` }
type EdgeLocationsAttributes ¶
type EdgeLocationsAttributes struct {
// contains filtered or unexported fields
}
func (EdgeLocationsAttributes) Asn ¶
func (el EdgeLocationsAttributes) Asn() terra.StringValue
func (EdgeLocationsAttributes) InsideCidrBlocks ¶
func (el EdgeLocationsAttributes) InsideCidrBlocks() terra.ListValue[terra.StringValue]
func (EdgeLocationsAttributes) InternalRef ¶
func (el EdgeLocationsAttributes) InternalRef() (terra.Reference, error)
func (EdgeLocationsAttributes) InternalTokens ¶
func (el EdgeLocationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EdgeLocationsAttributes) InternalWithRef ¶
func (el EdgeLocationsAttributes) InternalWithRef(ref terra.Reference) EdgeLocationsAttributes
func (EdgeLocationsAttributes) Location ¶
func (el EdgeLocationsAttributes) Location() terra.StringValue
type EdgeLocationsState ¶
type SegmentActions ¶
type SegmentActions struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DestinationCidrBlocks: set of string, optional DestinationCidrBlocks terra.SetValue[terra.StringValue] `hcl:"destination_cidr_blocks,attr"` // Destinations: set of string, optional Destinations terra.SetValue[terra.StringValue] `hcl:"destinations,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // Segment: string, required Segment terra.StringValue `hcl:"segment,attr" validate:"required"` ShareWith terra.SetValue[terra.StringValue] `hcl:"share_with,attr"` ShareWithExcept terra.SetValue[terra.StringValue] `hcl:"share_with_except,attr"` }
type SegmentActionsAttributes ¶
type SegmentActionsAttributes struct {
// contains filtered or unexported fields
}
func (SegmentActionsAttributes) Action ¶
func (sa SegmentActionsAttributes) Action() terra.StringValue
func (SegmentActionsAttributes) Description ¶
func (sa SegmentActionsAttributes) Description() terra.StringValue
func (SegmentActionsAttributes) DestinationCidrBlocks ¶
func (sa SegmentActionsAttributes) DestinationCidrBlocks() terra.SetValue[terra.StringValue]
func (SegmentActionsAttributes) Destinations ¶
func (sa SegmentActionsAttributes) Destinations() terra.SetValue[terra.StringValue]
func (SegmentActionsAttributes) InternalRef ¶
func (sa SegmentActionsAttributes) InternalRef() (terra.Reference, error)
func (SegmentActionsAttributes) InternalTokens ¶
func (sa SegmentActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SegmentActionsAttributes) InternalWithRef ¶
func (sa SegmentActionsAttributes) InternalWithRef(ref terra.Reference) SegmentActionsAttributes
func (SegmentActionsAttributes) Mode ¶
func (sa SegmentActionsAttributes) Mode() terra.StringValue
func (SegmentActionsAttributes) Segment ¶
func (sa SegmentActionsAttributes) Segment() terra.StringValue
func (SegmentActionsAttributes) ShareWith ¶
func (sa SegmentActionsAttributes) ShareWith() terra.SetValue[terra.StringValue]
func (SegmentActionsAttributes) ShareWithExcept ¶
func (sa SegmentActionsAttributes) ShareWithExcept() terra.SetValue[terra.StringValue]
type SegmentActionsState ¶
type Segments ¶
type Segments struct { // AllowFilter: set of string, optional AllowFilter terra.SetValue[terra.StringValue] `hcl:"allow_filter,attr"` // DenyFilter: set of string, optional DenyFilter terra.SetValue[terra.StringValue] `hcl:"deny_filter,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // EdgeLocations: set of string, optional EdgeLocations terra.SetValue[terra.StringValue] `hcl:"edge_locations,attr"` // IsolateAttachments: bool, optional IsolateAttachments terra.BoolValue `hcl:"isolate_attachments,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RequireAttachmentAcceptance: bool, optional RequireAttachmentAcceptance terra.BoolValue `hcl:"require_attachment_acceptance,attr"` }
type SegmentsAttributes ¶
type SegmentsAttributes struct {
// contains filtered or unexported fields
}
func (SegmentsAttributes) AllowFilter ¶
func (s SegmentsAttributes) AllowFilter() terra.SetValue[terra.StringValue]
func (SegmentsAttributes) DenyFilter ¶
func (s SegmentsAttributes) DenyFilter() terra.SetValue[terra.StringValue]
func (SegmentsAttributes) Description ¶
func (s SegmentsAttributes) Description() terra.StringValue
func (SegmentsAttributes) EdgeLocations ¶
func (s SegmentsAttributes) EdgeLocations() terra.SetValue[terra.StringValue]
func (SegmentsAttributes) InternalRef ¶
func (s SegmentsAttributes) InternalRef() (terra.Reference, error)
func (SegmentsAttributes) InternalTokens ¶
func (s SegmentsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SegmentsAttributes) InternalWithRef ¶
func (s SegmentsAttributes) InternalWithRef(ref terra.Reference) SegmentsAttributes
func (SegmentsAttributes) IsolateAttachments ¶
func (s SegmentsAttributes) IsolateAttachments() terra.BoolValue
func (SegmentsAttributes) Name ¶
func (s SegmentsAttributes) Name() terra.StringValue
func (SegmentsAttributes) RequireAttachmentAcceptance ¶
func (s SegmentsAttributes) RequireAttachmentAcceptance() terra.BoolValue
type SegmentsState ¶
type SegmentsState struct { AllowFilter []string `json:"allow_filter"` DenyFilter []string `json:"deny_filter"` Description string `json:"description"` EdgeLocations []string `json:"edge_locations"` IsolateAttachments bool `json:"isolate_attachments"` Name string `json:"name"` RequireAttachmentAcceptance bool `json:"require_attachment_acceptance"` }
Click to show internal directories.
Click to hide internal directories.