Documentation
¶
Index ¶
- func ChildPrimitivesFromListOfJsonStrings(ctx context.Context, in []string, path path.Path, diags *diag.Diagnostics) []*apstra.ConnectivityTemplatePrimitive
- func SdkPrimitivesToJsonStrings(ctx context.Context, in []*apstra.ConnectivityTemplatePrimitive, ...) []attr.Value
- type BgpPeeringGenericSystem
- type BgpPeeringIpEndpoint
- type CustomStaticRoute
- type DynamicBgpPeering
- type IpLink
- type JsonPrimitive
- type Primitive
- type RoutingPolicy
- type RoutingZoneConstraint
- type StaticRoute
- type VnMultiple
- type VnSingle
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 ¶
func (o BgpPeeringGenericSystem) Marshal(ctx context.Context, diags *diag.Diagnostics) string
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 ¶
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) 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 }
func PrimitiveFromSdk ¶
func PrimitiveFromSdk(ctx context.Context, in *apstra.ConnectivityTemplatePrimitive, diags *diag.Diagnostics) Primitive
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 ¶
func (o RoutingZoneConstraint) Marshal(_ context.Context, diags *diag.Diagnostics) string
type StaticRoute ¶
type StaticRoute struct { Name types.String `tfsdk:"name"` Network types.String `tfsdk:"network"` 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
Click to show internal directories.
Click to hide internal directories.