connectivitytemplate

package
v0.57.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChildPrimitivesFromListOfJsonStrings

func ChildPrimitivesFromListOfJsonStrings(ctx context.Context, in []string, path path.Path, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive

func SdkPrimitivesToJsonStrings

func SdkPrimitivesToJsonStrings(ctx context.Context, in []*apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) []attr.Value

Types

type BgpPeeringGenericSystem

type BgpPeeringGenericSystem struct {
	Name               types.String `tfsdk:"name"`
	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"`
	ChildPrimitives    types.Set    `tfsdk:"child_primitives"`
	Primitive          types.String `tfsdk:"primitive"`
}

func (BgpPeeringGenericSystem) DataSourceAttributes

func (o BgpPeeringGenericSystem) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (BgpPeeringGenericSystem) Marshal

type BgpPeeringIpEndpoint

type BgpPeeringIpEndpoint struct {
	Name            types.String `tfsdk:"name"`
	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     types.String `tfsdk:"ipv4_address"`
	Ipv6Address     types.String `tfsdk:"ipv6_address"`
	ChildPrimitives types.Set    `tfsdk:"child_primitives"`
	Primitive       types.String `tfsdk:"primitive"`
}

func (BgpPeeringIpEndpoint) DataSourceAttributes

func (o BgpPeeringIpEndpoint) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (BgpPeeringIpEndpoint) Marshal

func (o BgpPeeringIpEndpoint) Marshal(ctx context.Context, diags *diag.Diagnostics) string

type CustomStaticRoute

type CustomStaticRoute struct {
	Name          types.String `tfsdk:"name"`
	RoutingZoneId types.String `tfsdk:"routing_zone_id"`
	Network       types.String `tfsdk:"network"`
	NextHop       types.String `tfsdk:"next_hop"`
	Primitive     types.String `tfsdk:"primitive"`
}

func (CustomStaticRoute) DataSourceAttributes

func (o CustomStaticRoute) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (CustomStaticRoute) Marshal

func (o CustomStaticRoute) Marshal(_ context.Context, diags *diag.Diagnostics) string

type DynamicBgpPeering

type DynamicBgpPeering struct {
	Name            types.String `tfsdk:"name"`
	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  types.String `tfsdk:"ipv4_peer_prefix"`
	Ipv6PeerPrefix  types.String `tfsdk:"ipv6_peer_prefix"`
	ChildPrimitives types.Set    `tfsdk:"child_primitives"`
	Primitive       types.String `tfsdk:"primitive"`
}

func (DynamicBgpPeering) DataSourceAttributes

func (o DynamicBgpPeering) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (DynamicBgpPeering) Marshal

func (o DynamicBgpPeering) Marshal(ctx context.Context, diags *diag.Diagnostics) string
type IpLink struct {
	Name               types.String `tfsdk:"name"`
	RoutingZoneId      types.String `tfsdk:"routing_zone_id"`
	VlanId             types.Int64  `tfsdk:"vlan_id"`
	Ipv4AddressingType types.String `tfsdk:"ipv4_addressing_type"`
	Ipv6AddressingType types.String `tfsdk:"ipv6_addressing_type"`
	Primitive          types.String `tfsdk:"primitive"`
	ChildPrimitives    types.Set    `tfsdk:"child_primitives"`
	L3Mtu              types.Int64  `tfsdk:"l3_mtu"`
}

func (IpLink) DataSourceAttributes

func (o IpLink) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (IpLink) Marshal

func (o IpLink) Marshal(ctx context.Context, diags *diag.Diagnostics) string

func (IpLink) VersionConstraints added in v0.50.1

func (o IpLink) VersionConstraints() apiversions.Constraints

type JsonPrimitive

type JsonPrimitive interface {
	ToSdkPrimitive(context.Context, path.Path, *diag.Diagnostics) *apstra.ConnectivityTemplatePrimitive
	// contains filtered or unexported methods
}

type Primitive

type Primitive interface {
	Marshal(context.Context, *diag.Diagnostics) string
	DataSourceAttributes() map[string]dataSourceSchema.Attribute
	// contains filtered or unexported methods
}

type RoutingPolicy

type RoutingPolicy struct {
	Name            types.String `tfsdk:"name"`
	RoutingPolicyId types.String `tfsdk:"routing_policy_id"`
	Primitive       types.String `tfsdk:"primitive"`
}

func (RoutingPolicy) DataSourceAttributes

func (o RoutingPolicy) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (RoutingPolicy) Marshal

func (o RoutingPolicy) Marshal(_ context.Context, diags *diag.Diagnostics) string

type RoutingZoneConstraint

type RoutingZoneConstraint struct {
	Name                    types.String `tfsdk:"name"`
	RoutingZoneConstraintId types.String `tfsdk:"routing_zone_constraint_id"`
	Primitive               types.String `tfsdk:"primitive"`
}

func (RoutingZoneConstraint) DataSourceAttributes

func (o RoutingZoneConstraint) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (RoutingZoneConstraint) Marshal

type StaticRoute

type StaticRoute struct {
	Name            types.String `tfsdk:"name"`
	Network         types.String `tfsdk:"network"`
	ShareIpEndpoint types.Bool   `tfsdk:"share_ip_endpoint"`
	Primitive       types.String `tfsdk:"primitive"`
}

func (StaticRoute) DataSourceAttributes

func (o StaticRoute) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (StaticRoute) Marshal

func (o StaticRoute) Marshal(_ context.Context, diags *diag.Diagnostics) string

type VnMultiple

type VnMultiple struct {
	Name         types.String `tfsdk:"name"`
	UntaggedVnId types.String `tfsdk:"untagged_vn_id"`
	TaggedVnIds  types.Set    `tfsdk:"tagged_vn_ids"`
	Primitive    types.String `tfsdk:"primitive"`
}

func (VnMultiple) DataSourceAttributes

func (o VnMultiple) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (VnMultiple) Marshal

func (o VnMultiple) Marshal(ctx context.Context, diags *diag.Diagnostics) string

type VnSingle

type VnSingle struct {
	Name            types.String `tfsdk:"name"`
	VnId            types.String `tfsdk:"vn_id"`
	Tagged          types.Bool   `tfsdk:"tagged"`
	Primitive       types.String `tfsdk:"primitive"`
	ChildPrimitives types.Set    `tfsdk:"child_primitives"`
}

func (VnSingle) DataSourceAttributes

func (o VnSingle) DataSourceAttributes() map[string]dataSourceSchema.Attribute

func (VnSingle) Marshal

func (o VnSingle) Marshal(ctx context.Context, diags *diag.Diagnostics) string

Jump to

Keyboard shortcuts

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