datanetworkmanagercorenetworkpolicydocument

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 ActionState struct {
	AssociationMethod string `json:"association_method"`
	RequireAcceptance bool   `json:"require_acceptance"`
	Segment           string `json:"segment"`
	TagValueOfKey     string `json:"tag_value_of_key"`
}

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 (AttachmentPoliciesAttributes) ConditionLogic

func (ap AttachmentPoliciesAttributes) ConditionLogic() terra.StringValue

func (AttachmentPoliciesAttributes) Conditions

func (AttachmentPoliciesAttributes) Description

func (AttachmentPoliciesAttributes) InternalRef

func (ap AttachmentPoliciesAttributes) InternalRef() (terra.Reference, error)

func (AttachmentPoliciesAttributes) InternalTokens

func (ap AttachmentPoliciesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AttachmentPoliciesAttributes) InternalWithRef

func (AttachmentPoliciesAttributes) RuleNumber

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 (ConditionsAttributes) Key

func (ConditionsAttributes) Operator

func (c ConditionsAttributes) Operator() terra.StringValue

func (ConditionsAttributes) Type

func (ConditionsAttributes) Value

type ConditionsState

type ConditionsState struct {
	Key      string `json:"key"`
	Operator string `json:"operator"`
	Type     string `json:"type"`
	Value    string `json:"value"`
}

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 (CoreNetworkConfigurationAttributes) EdgeLocations

func (CoreNetworkConfigurationAttributes) InsideCidrBlocks

func (CoreNetworkConfigurationAttributes) InternalRef

func (CoreNetworkConfigurationAttributes) InternalTokens

func (cnc CoreNetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CoreNetworkConfigurationAttributes) InternalWithRef

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 (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 (EdgeLocationsAttributes) Location

type EdgeLocationsState

type EdgeLocationsState struct {
	Asn              string   `json:"asn"`
	InsideCidrBlocks []string `json:"inside_cidr_blocks"`
	Location         string   `json:"location"`
}

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: set of string, optional
	ShareWith terra.SetValue[terra.StringValue] `hcl:"share_with,attr"`
	// ShareWithExcept: set of string, optional
	ShareWithExcept terra.SetValue[terra.StringValue] `hcl:"share_with_except,attr"`
}

type SegmentActionsAttributes

type SegmentActionsAttributes struct {
	// contains filtered or unexported fields
}

func (SegmentActionsAttributes) Action

func (SegmentActionsAttributes) Description

func (sa SegmentActionsAttributes) Description() terra.StringValue

func (SegmentActionsAttributes) DestinationCidrBlocks

func (sa SegmentActionsAttributes) DestinationCidrBlocks() terra.SetValue[terra.StringValue]

func (SegmentActionsAttributes) Destinations

func (SegmentActionsAttributes) InternalRef

func (sa SegmentActionsAttributes) InternalRef() (terra.Reference, error)

func (SegmentActionsAttributes) InternalTokens

func (sa SegmentActionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SegmentActionsAttributes) InternalWithRef

func (SegmentActionsAttributes) Mode

func (SegmentActionsAttributes) Segment

func (SegmentActionsAttributes) ShareWith

func (SegmentActionsAttributes) ShareWithExcept

type SegmentActionsState

type SegmentActionsState struct {
	Action                string   `json:"action"`
	Description           string   `json:"description"`
	DestinationCidrBlocks []string `json:"destination_cidr_blocks"`
	Destinations          []string `json:"destinations"`
	Mode                  string   `json:"mode"`
	Segment               string   `json:"segment"`
	ShareWith             []string `json:"share_with"`
	ShareWithExcept       []string `json:"share_with_except"`
}

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 (SegmentsAttributes) DenyFilter

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 (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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL