1. Registry
  2. Packages
  3. Netbox Provider
  4. API Docs
  5. getFrontPortTemplates
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger
netbox
Viewing docs for netbox 6.0.0
published on Wednesday, Nov 4, 2026 by e-breuninger

    Lists front_port_template objects matching the given filters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as netbox from "@pulumi/netbox";
    
    const test = netbox.getFrontPortTemplates({
        filters: [{
            name: "name",
            value: "test-front_port_template",
        }],
    });
    
    import pulumi
    import pulumi_netbox as netbox
    
    test = netbox.get_front_port_templates(filters=[{
        "name": "name",
        "value": "test-front_port_template",
    }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/netbox/v6/netbox"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := netbox.GetFrontPortTemplates(ctx, &netbox.GetFrontPortTemplatesArgs{
    			Filters: []netbox.GetFrontPortTemplatesFilter{
    				{
    					Name:  "name",
    					Value: "test-front_port_template",
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Netbox = Pulumi.Netbox;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Netbox.GetFrontPortTemplates.Invoke(new()
        {
            Filters = new[]
            {
                new Netbox.Inputs.GetFrontPortTemplatesFilterInputArgs
                {
                    Name = "name",
                    Value = "test-front_port_template",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.netbox.NetboxFunctions;
    import com.pulumi.netbox.inputs.GetFrontPortTemplatesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var test = NetboxFunctions.getFrontPortTemplates(GetFrontPortTemplatesArgs.builder()
                .filters(GetFrontPortTemplatesFilterArgs.builder()
                    .name("name")
                    .value("test-front_port_template")
                    .build())
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: netbox:getFrontPortTemplates
          arguments:
            filters:
              - name: name
                value: test-front_port_template
    
    Example coming soon!
    

    Using getFrontPortTemplates

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFrontPortTemplates(args: GetFrontPortTemplatesArgs, opts?: InvokeOptions): Promise<GetFrontPortTemplatesResult>
    function getFrontPortTemplatesOutput(args: GetFrontPortTemplatesOutputArgs, opts?: InvokeOutputOptions): Output<GetFrontPortTemplatesResult>
    def get_front_port_templates(filters: Optional[Sequence[GetFrontPortTemplatesFilter]] = None,
                                 limit: Optional[float] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetFrontPortTemplatesResult
    def get_front_port_templates_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetFrontPortTemplatesFilterArgs]]]] = None,
                                 limit: pulumi.Input[Optional[float]] = None,
                                 opts: Optional[InvokeOutputOptions] = None) -> Output[GetFrontPortTemplatesResult]
    func GetFrontPortTemplates(ctx *Context, args *GetFrontPortTemplatesArgs, opts ...InvokeOption) (*GetFrontPortTemplatesResult, error)
    func GetFrontPortTemplatesOutput(ctx *Context, args *GetFrontPortTemplatesOutputArgs, opts ...InvokeOption) GetFrontPortTemplatesResultOutput

    > Note: This function is named GetFrontPortTemplates in the Go SDK.

    public static class GetFrontPortTemplates 
    {
        public static Task<GetFrontPortTemplatesResult> InvokeAsync(GetFrontPortTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetFrontPortTemplatesResult> Invoke(GetFrontPortTemplatesInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetFrontPortTemplatesResult> Invoke(GetFrontPortTemplatesInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetFrontPortTemplatesResult> getFrontPortTemplates(GetFrontPortTemplatesArgs args, InvokeOptions options)
    public static Output<GetFrontPortTemplatesResult> getFrontPortTemplates(GetFrontPortTemplatesArgs args, InvokeOptions options)
    public static Output<GetFrontPortTemplatesResult> getFrontPortTemplates(GetFrontPortTemplatesArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: netbox:index/getFrontPortTemplates:getFrontPortTemplates
      arguments:
        # arguments dictionary
    data "netbox_get_front_port_templates" "name" {
        # arguments
    }

    The following arguments are supported:

    Filters List<GetFrontPortTemplatesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    Filters []GetFrontPortTemplatesFilter
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<GetFrontPortTemplatesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters GetFrontPortTemplatesFilter[]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters Sequence[GetFrontPortTemplatesFilter]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    getFrontPortTemplates Result

    The following output properties are available:

    FrontPortTemplates List<GetFrontPortTemplatesFrontPortTemplate>
    The matching frontporttemplates.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetFrontPortTemplatesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    Limit double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    FrontPortTemplates []GetFrontPortTemplatesFrontPortTemplate
    The matching frontporttemplates.
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetFrontPortTemplatesFilter
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    Limit float64
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    front_port_templates list(object)
    The matching frontporttemplates.
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    frontPortTemplates List<GetFrontPortTemplatesFrontPortTemplate>
    The matching frontporttemplates.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetFrontPortTemplatesFilter>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit Double
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    frontPortTemplates GetFrontPortTemplatesFrontPortTemplate[]
    The matching frontporttemplates.
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetFrontPortTemplatesFilter[]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit number
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    front_port_templates Sequence[GetFrontPortTemplatesFrontPortTemplate]
    The matching frontporttemplates.
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetFrontPortTemplatesFilter]
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit float
    The maximum number of objects to return from the API lookup. Defaults to 1000.
    frontPortTemplates List<Property Map>
    The matching frontporttemplates.
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>
    Query filters, sent as API list parameters. Supported names: id, idempty, idgt, idgte, idlt, idlte, idn, moduletypeid, moduletypeidn, name, nameempty, nameic, nameie, nameiew, nameiregex, nameisw, namen, namenic, namenie, nameniew, namenisw, nameregex, type, typeempty, typeic, typeie, typeiew, typeiregex, typeisw, typen, typenic, typenie, typeniew, typenisw, type__regex. Repeating a name sends that parameter once per value.
    limit Number
    The maximum number of objects to return from the API lookup. Defaults to 1000.

    Supporting Types

    GetFrontPortTemplatesFilter

    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    Name string
    Name of the query filter (the API list parameter).
    Value string
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.
    name string
    Name of the query filter (the API list parameter).
    value string
    Value to filter by.
    name str
    Name of the query filter (the API list parameter).
    value str
    Value to filter by.
    name String
    Name of the query filter (the API list parameter).
    value String
    Value to filter by.

    GetFrontPortTemplatesFrontPortTemplate

    ColorHex string
    RGB color in hex (e.g. ff0000).
    Created string
    Description string
    DeviceTypeId double
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Id double
    NetBox id.
    Label string
    Physical label.
    LastUpdated string
    ModuleTypeId double
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Name string
    Positions double
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    RearPortId double
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    RearPortPosition double
    Position on rearportid. Requires rearportid. Must be a whole number.
    RearPorts List<GetFrontPortTemplatesFrontPortTemplateRearPort>
    Mappings of the front port's positions onto rear port templates of the same device type or module type, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    Type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    Url string
    ColorHex string
    RGB color in hex (e.g. ff0000).
    Created string
    Description string
    DeviceTypeId float64
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Id float64
    NetBox id.
    Label string
    Physical label.
    LastUpdated string
    ModuleTypeId float64
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    Name string
    Positions float64
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    RearPortId float64
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    RearPortPosition float64
    Position on rearportid. Requires rearportid. Must be a whole number.
    RearPorts []GetFrontPortTemplatesFrontPortTemplateRearPort
    Mappings of the front port's positions onto rear port templates of the same device type or module type, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    Type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    Url string
    color_hex string
    RGB color in hex (e.g. ff0000).
    created string
    description string
    device_type_id number
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    id number
    NetBox id.
    label string
    Physical label.
    last_updated string
    module_type_id number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name string
    positions number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rear_port_id number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rear_port_position number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rear_ports list(object)
    Mappings of the front port's positions onto rear port templates of the same device type or module type, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url string
    colorHex String
    RGB color in hex (e.g. ff0000).
    created String
    description String
    deviceTypeId Double
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    id Double
    NetBox id.
    label String
    Physical label.
    lastUpdated String
    moduleTypeId Double
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name String
    positions Double
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId Double
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition Double
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts List<GetFrontPortTemplatesFrontPortTemplateRearPort>
    Mappings of the front port's positions onto rear port templates of the same device type or module type, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    type String
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url String
    colorHex string
    RGB color in hex (e.g. ff0000).
    created string
    description string
    deviceTypeId number
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    id number
    NetBox id.
    label string
    Physical label.
    lastUpdated string
    moduleTypeId number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name string
    positions number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts GetFrontPortTemplatesFrontPortTemplateRearPort[]
    Mappings of the front port's positions onto rear port templates of the same device type or module type, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    type string
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url string
    color_hex str
    RGB color in hex (e.g. ff0000).
    created str
    description str
    device_type_id float
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    id float
    NetBox id.
    label str
    Physical label.
    last_updated str
    module_type_id float
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name str
    positions float
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rear_port_id float
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rear_port_position float
    Position on rearportid. Requires rearportid. Must be a whole number.
    rear_ports Sequence[GetFrontPortTemplatesFrontPortTemplateRearPort]
    Mappings of the front port's positions onto rear port templates of the same device type or module type, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    type str
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url str
    colorHex String
    RGB color in hex (e.g. ff0000).
    created String
    description String
    deviceTypeId Number
    Id of the device type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    id Number
    NetBox id.
    label String
    Physical label.
    lastUpdated String
    moduleTypeId Number
    Id of the module type. Set exactly one of devicetypeid and moduletypeid; NetBox rejects both and neither.
    name String
    positions Number
    Number of positions on the front port, at least the number of rear_ports mappings. NetBox checks a lower value against the mappings it already holds, so remove mappings in one apply and lower positions in the next. Must be a whole number.
    rearPortId Number
    Rear port of a single-position front port: the same as rearports = [{position = 1, rearportid = ..., rearportposition = ...}]. Conflicts with rearports and with positions > 1.
    rearPortPosition Number
    Position on rearportid. Requires rearportid. Must be a whole number.
    rearPorts List<Property Map>
    Mappings of the front port's positions onto rear port templates of the same device type or module type, one object per position. Derived from rearportid and rearportposition when those are set; an empty set, or neither form, leaves the port unmapped. Changing the set recreates every mapping, since NetBox 4.6 rejects an update that resends an existing one.
    type String
    Port type as its NetBox slug, e.g. 8p8c, lc, mpo (any of NetBox's port type choices).
    url String

    GetFrontPortTemplatesFrontPortTemplateRearPort

    Position double
    Position on the front port, 1-based and unique per port. Must be a whole number.
    RearPortId double
    Id of the rear port template the position maps to.
    RearPortPosition double
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    Position float64
    Position on the front port, 1-based and unique per port. Must be a whole number.
    RearPortId float64
    Id of the rear port template the position maps to.
    RearPortPosition float64
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position number
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rear_port_id number
    Id of the rear port template the position maps to.
    rear_port_position number
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position Double
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rearPortId Double
    Id of the rear port template the position maps to.
    rearPortPosition Double
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position number
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rearPortId number
    Id of the rear port template the position maps to.
    rearPortPosition number
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position float
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rear_port_id float
    Id of the rear port template the position maps to.
    rear_port_position float
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.
    position Number
    Position on the front port, 1-based and unique per port. Must be a whole number.
    rearPortId Number
    Id of the rear port template the position maps to.
    rearPortPosition Number
    Position on that rear port, 1-based; each rear port position takes one mapping. Must be a whole number.

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox
    Viewing docs for netbox 6.0.0
    published on Wednesday, Nov 4, 2026 by e-breuninger

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial