primitives

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BgpPeeringGenericSystemPrimitivesFromSubpolicies

func BgpPeeringGenericSystemPrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func BgpPeeringGenericSystemSubpolicies

func BgpPeeringGenericSystemSubpolicies(ctx context.Context, bgpPeeringGenericSystemMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func BgpPeeringIpEndpointPrimitivesFromSubpolicies

func BgpPeeringIpEndpointPrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func BgpPeeringIpEndpointSubpolicies

func BgpPeeringIpEndpointSubpolicies(ctx context.Context, bgpPeeringIpEndpointMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func CustomStaticRoutePrimitivesFromSubpolicies

func CustomStaticRoutePrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func CustomStaticRouteSubpolicies

func CustomStaticRouteSubpolicies(ctx context.Context, customStaticRouteMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func DynamicBgpPeeringPrimitivesFromSubpolicies

func DynamicBgpPeeringPrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func DynamicBgpPeeringSubpolicies

func DynamicBgpPeeringSubpolicies(ctx context.Context, dynamicBgpPeeringMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func IpLinkPrimitivesFromSubpolicies

func IpLinkPrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func IpLinkSubpolicies

func IpLinkSubpolicies(ctx context.Context, ipLinkMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func LoadIDsIntoBgpPeeringGenericSystemMap added in v0.79.0

func LoadIDsIntoBgpPeeringGenericSystemMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoBgpPeeringIpEndpointMap added in v0.79.0

func LoadIDsIntoBgpPeeringIpEndpointMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoCustomStaticRouteMap added in v0.79.0

func LoadIDsIntoCustomStaticRouteMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoDynamicBgpPeeringMap added in v0.79.0

func LoadIDsIntoDynamicBgpPeeringMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoIpLinkMap added in v0.79.0

func LoadIDsIntoIpLinkMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoRoutingPolicyMap added in v0.79.0

func LoadIDsIntoRoutingPolicyMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoRoutingZoneConstraintMap added in v0.79.0

func LoadIDsIntoRoutingZoneConstraintMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoStaticRouteMap added in v0.79.0

func LoadIDsIntoStaticRouteMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoVirtualNetworkMultipleMap added in v0.79.0

func LoadIDsIntoVirtualNetworkMultipleMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func LoadIDsIntoVirtualNetworkSingleMap added in v0.79.0

func LoadIDsIntoVirtualNetworkSingleMap(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, inMap types.Map, diags *diag.Diagnostics) types.Map

func RoutingPolicyPrimitivesFromSubpolicies

func RoutingPolicyPrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func RoutingPolicySubpolicies

func RoutingPolicySubpolicies(ctx context.Context, routingPolicyMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func RoutingZoneConstraintPrimitivesFromSubpolicies

func RoutingZoneConstraintPrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func RoutingZoneConstraintSubpolicies

func RoutingZoneConstraintSubpolicies(ctx context.Context, routingZoneConstraintMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func StaticRoutePrimitivesFromSubpolicies

func StaticRoutePrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func StaticRouteSubpolicies

func StaticRouteSubpolicies(ctx context.Context, StaticRouteMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func VirtualNetworkMultiplePrimitivesFromSubpolicies

func VirtualNetworkMultiplePrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func VirtualNetworkMultipleSubpolicies

func VirtualNetworkMultipleSubpolicies(ctx context.Context, virtualNetworkMultipleMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func VirtualNetworkSinglePrimitivesFromSubpolicies

func VirtualNetworkSinglePrimitivesFromSubpolicies(ctx context.Context, subpolicies []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) types.Map

func VirtualNetworkSingleSubpolicies

func VirtualNetworkSingleSubpolicies(ctx context.Context, virtualNetworkSingleMap types.Map, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

Types

type BgpPeeringGenericSystem

type BgpPeeringGenericSystem struct {
	Id                 types.String `tfsdk:"id"`
	BatchId            types.String `tfsdk:"batch_id"`
	PipelineId         types.String `tfsdk:"pipeline_id"`
	Ttl                types.Int64  `tfsdk:"ttl"`
	BfdEnabled         types.Bool   `tfsdk:"bfd_enabled"`
	Password           types.String `tfsdk:"password"`
	KeepaliveTime      types.Int64  `tfsdk:"keepalive_time"`
	HoldTime           types.Int64  `tfsdk:"hold_time"`
	Ipv4AddressingType types.String `tfsdk:"ipv4_addressing_type"`
	Ipv6AddressingType types.String `tfsdk:"ipv6_addressing_type"`
	LocalAsn           types.Int64  `tfsdk:"local_asn"`
	NeighborAsnDynamic types.Bool   `tfsdk:"neighbor_asn_dynamic"`
	PeerFromLoopback   types.Bool   `tfsdk:"peer_from_loopback"`
	PeerTo             types.String `tfsdk:"peer_to"`
	RoutingPolicies    types.Map    `tfsdk:"routing_policies"`
}

func (BgpPeeringGenericSystem) AttrTypes

func (o BgpPeeringGenericSystem) AttrTypes() map[string]attr.Type

func (BgpPeeringGenericSystem) ResourceAttributes

func (o BgpPeeringGenericSystem) ResourceAttributes() map[string]resourceSchema.Attribute

type BgpPeeringIpEndpoint

type BgpPeeringIpEndpoint struct {
	Id              types.String        `tfsdk:"id"`
	BatchId         types.String        `tfsdk:"batch_id"`
	PipelineId      types.String        `tfsdk:"pipeline_id"`
	NeighborAsn     types.Int64         `tfsdk:"neighbor_asn"`
	Ttl             types.Int64         `tfsdk:"ttl"`
	BfdEnabled      types.Bool          `tfsdk:"bfd_enabled"`
	Password        types.String        `tfsdk:"password"`
	KeepaliveTime   types.Int64         `tfsdk:"keepalive_time"`
	HoldTime        types.Int64         `tfsdk:"hold_time"`
	LocalAsn        types.Int64         `tfsdk:"local_asn"`
	Ipv4Address     iptypes.IPv4Address `tfsdk:"ipv4_address"`
	Ipv6Address     iptypes.IPv6Address `tfsdk:"ipv6_address"`
	RoutingPolicies types.Map           `tfsdk:"routing_policies"`
}

func (BgpPeeringIpEndpoint) AttrTypes

func (o BgpPeeringIpEndpoint) AttrTypes() map[string]attr.Type

func (BgpPeeringIpEndpoint) ResourceAttributes

func (o BgpPeeringIpEndpoint) ResourceAttributes() map[string]resourceSchema.Attribute

type CustomStaticRoute

type CustomStaticRoute struct {
	Id            types.String             `tfsdk:"id"`
	PipelineId    types.String             `tfsdk:"pipeline_id"`
	RoutingZoneId types.String             `tfsdk:"routing_zone_id"`
	Network       customtypes.IPv46Prefix  `tfsdk:"network"`
	NextHop       customtypes.IPv46Address `tfsdk:"next_hop"`
}

func (CustomStaticRoute) AttrTypes

func (o CustomStaticRoute) AttrTypes() map[string]attr.Type

func (CustomStaticRoute) ResourceAttributes

func (o CustomStaticRoute) ResourceAttributes() map[string]resourceSchema.Attribute

func (*CustomStaticRoute) ValidateConfig

func (o *CustomStaticRoute) ValidateConfig(_ context.Context, path path.Path, diags *diag.Diagnostics)

type DynamicBgpPeering

type DynamicBgpPeering struct {
	Id              types.String         `tfsdk:"id"`
	BatchId         types.String         `tfsdk:"batch_id"`
	PipelineId      types.String         `tfsdk:"pipeline_id"`
	Ttl             types.Int64          `tfsdk:"ttl"`
	BfdEnabled      types.Bool           `tfsdk:"bfd_enabled"`
	Password        types.String         `tfsdk:"password"`
	KeepaliveTime   types.Int64          `tfsdk:"keepalive_time"`
	HoldTime        types.Int64          `tfsdk:"hold_time"`
	Ipv4Enabled     types.Bool           `tfsdk:"ipv4_enabled"`
	Ipv6Enabled     types.Bool           `tfsdk:"ipv6_enabled"`
	LocalAsn        types.Int64          `tfsdk:"local_asn"`
	Ipv4PeerPrefix  cidrtypes.IPv4Prefix `tfsdk:"ipv4_peer_prefix"`
	Ipv6PeerPrefix  cidrtypes.IPv6Prefix `tfsdk:"ipv6_peer_prefix"`
	RoutingPolicies types.Map            `tfsdk:"routing_policies"`
}

func (DynamicBgpPeering) AttrTypes

func (o DynamicBgpPeering) AttrTypes() map[string]attr.Type

func (DynamicBgpPeering) ResourceAttributes

func (o DynamicBgpPeering) ResourceAttributes() map[string]resourceSchema.Attribute

func (DynamicBgpPeering) ValidateConfig

func (o DynamicBgpPeering) ValidateConfig(_ context.Context, path path.Path, diags *diag.Diagnostics)
type IpLink struct {
	Id                       types.String `tfsdk:"id"`
	BatchId                  types.String `tfsdk:"batch_id"`
	PipelineId               types.String `tfsdk:"pipeline_id"`
	RoutingZoneId            types.String `tfsdk:"routing_zone_id"`
	VlanId                   types.Int64  `tfsdk:"vlan_id"`
	L3Mtu                    types.Int64  `tfsdk:"l3_mtu"`
	Ipv4AddressingType       types.String `tfsdk:"ipv4_addressing_type"`
	Ipv6AddressingType       types.String `tfsdk:"ipv6_addressing_type"`
	BgpPeeringGenericSystems types.Map    `tfsdk:"bgp_peering_generic_systems"`
	BgpPeeringIpEndpoints    types.Map    `tfsdk:"bgp_peering_ip_endpoints"`
	DynamicBgpPeerings       types.Map    `tfsdk:"dynamic_bgp_peerings"`
	StaticRoutes             types.Map    `tfsdk:"static_routes"`
}

func (IpLink) AttrTypes

func (o IpLink) AttrTypes() map[string]attr.Type

func (IpLink) ResourceAttributes

func (o IpLink) ResourceAttributes() map[string]resourceSchema.Attribute

type RoutingPolicy

type RoutingPolicy struct {
	Id              types.String `tfsdk:"id"`
	PipelineId      types.String `tfsdk:"pipeline_id"`
	RoutingPolicyId types.String `tfsdk:"routing_policy_id"`
}

func (RoutingPolicy) AttrTypes

func (o RoutingPolicy) AttrTypes() map[string]attr.Type

func (RoutingPolicy) ResourceAttributes

func (o RoutingPolicy) ResourceAttributes() map[string]resourceSchema.Attribute

type RoutingZoneConstraint

type RoutingZoneConstraint struct {
	Id                      types.String `tfsdk:"id"`
	PipelineId              types.String `tfsdk:"pipeline_id"`
	RoutingZoneConstraintId types.String `tfsdk:"routing_zone_constraint_id"`
}

func (RoutingZoneConstraint) AttrTypes

func (o RoutingZoneConstraint) AttrTypes() map[string]attr.Type

func (RoutingZoneConstraint) ResourceAttributes

func (o RoutingZoneConstraint) ResourceAttributes() map[string]resourceSchema.Attribute

type StaticRoute

type StaticRoute struct {
	Id         types.String            `tfsdk:"id"`
	PipelineId types.String            `tfsdk:"pipeline_id"`
	Network    customtypes.IPv46Prefix `tfsdk:"network"`
	Shared     types.Bool              `tfsdk:"share_ip_endpoint"`
}

func (StaticRoute) AttrTypes

func (o StaticRoute) AttrTypes() map[string]attr.Type

func (StaticRoute) ResourceAttributes

func (o StaticRoute) ResourceAttributes() map[string]resourceSchema.Attribute

type VirtualNetworkMultiple

type VirtualNetworkMultiple struct {
	Id           types.String `tfsdk:"id"`
	PipelineId   types.String `tfsdk:"pipeline_id"`
	UntaggedVnId types.String `tfsdk:"untagged_vn_id"`
	TaggedVnIds  types.Set    `tfsdk:"tagged_vn_ids"`
}

func (VirtualNetworkMultiple) AttrTypes

func (o VirtualNetworkMultiple) AttrTypes() map[string]attr.Type

func (VirtualNetworkMultiple) ResourceAttributes

func (o VirtualNetworkMultiple) ResourceAttributes() map[string]resourceSchema.Attribute

type VirtualNetworkSingle

type VirtualNetworkSingle struct {
	Id                       types.String `tfsdk:"id"`
	BatchId                  types.String `tfsdk:"batch_id"`
	PipelineId               types.String `tfsdk:"pipeline_id"`
	VirtualNetworkId         types.String `tfsdk:"virtual_network_id"`
	Tagged                   types.Bool   `tfsdk:"tagged"`
	BgpPeeringGenericSystems types.Map    `tfsdk:"bgp_peering_generic_systems"`
	StaticRoutes             types.Map    `tfsdk:"static_routes"`
}

func (VirtualNetworkSingle) AttrTypes

func (o VirtualNetworkSingle) AttrTypes() map[string]attr.Type

func (VirtualNetworkSingle) ResourceAttributes

func (o VirtualNetworkSingle) ResourceAttributes() map[string]resourceSchema.Attribute

Jump to

Keyboard shortcuts

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