1. Packages
  2. Netbox Provider
  3. API Docs
  4. getIpRanges
netbox 4.0.0 published on Thursday, Jun 12, 2025 by e-breuninger

netbox.getIpRanges

Explore with Pulumi AI

netbox logo
netbox 4.0.0 published on Thursday, Jun 12, 2025 by e-breuninger

    Using getIpRanges

    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 getIpRanges(args: GetIpRangesArgs, opts?: InvokeOptions): Promise<GetIpRangesResult>
    function getIpRangesOutput(args: GetIpRangesOutputArgs, opts?: InvokeOptions): Output<GetIpRangesResult>
    def get_ip_ranges(filters: Optional[Sequence[GetIpRangesFilter]] = None,
                      id: Optional[str] = None,
                      limit: Optional[float] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIpRangesResult
    def get_ip_ranges_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetIpRangesFilterArgs]]]] = None,
                      id: Optional[pulumi.Input[str]] = None,
                      limit: Optional[pulumi.Input[float]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetIpRangesResult]
    func GetIpRanges(ctx *Context, args *GetIpRangesArgs, opts ...InvokeOption) (*GetIpRangesResult, error)
    func GetIpRangesOutput(ctx *Context, args *GetIpRangesOutputArgs, opts ...InvokeOption) GetIpRangesResultOutput

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

    public static class GetIpRanges 
    {
        public static Task<GetIpRangesResult> InvokeAsync(GetIpRangesArgs args, InvokeOptions? opts = null)
        public static Output<GetIpRangesResult> Invoke(GetIpRangesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpRangesResult> getIpRanges(GetIpRangesArgs args, InvokeOptions options)
    public static Output<GetIpRangesResult> getIpRanges(GetIpRangesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netbox:index/getIpRanges:getIpRanges
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filters List<GetIpRangesFilter>
    Id string
    The ID of this resource.
    Limit double
    Defaults to 1000.
    Filters []GetIpRangesFilter
    Id string
    The ID of this resource.
    Limit float64
    Defaults to 1000.
    filters List<GetIpRangesFilter>
    id String
    The ID of this resource.
    limit Double
    Defaults to 1000.
    filters GetIpRangesFilter[]
    id string
    The ID of this resource.
    limit number
    Defaults to 1000.
    filters Sequence[GetIpRangesFilter]
    id str
    The ID of this resource.
    limit float
    Defaults to 1000.
    filters List<Property Map>
    id String
    The ID of this resource.
    limit Number
    Defaults to 1000.

    getIpRanges Result

    The following output properties are available:

    Id string
    The ID of this resource.
    IpRanges List<GetIpRangesIpRange>
    Filters List<GetIpRangesFilter>
    Limit double
    Defaults to 1000.
    Id string
    The ID of this resource.
    IpRanges []GetIpRangesIpRange
    Filters []GetIpRangesFilter
    Limit float64
    Defaults to 1000.
    id String
    The ID of this resource.
    ipRanges List<GetIpRangesIpRange>
    filters List<GetIpRangesFilter>
    limit Double
    Defaults to 1000.
    id string
    The ID of this resource.
    ipRanges GetIpRangesIpRange[]
    filters GetIpRangesFilter[]
    limit number
    Defaults to 1000.
    id str
    The ID of this resource.
    ip_ranges Sequence[GetIpRangesIpRange]
    filters Sequence[GetIpRangesFilter]
    limit float
    Defaults to 1000.
    id String
    The ID of this resource.
    ipRanges List<Property Map>
    filters List<Property Map>
    limit Number
    Defaults to 1000.

    Supporting Types

    GetIpRangesFilter

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    GetIpRangesIpRange

    GetIpRangesIpRangeTag

    Display string
    Id double
    Name string
    Slug string
    Display string
    Id float64
    Name string
    Slug string
    display String
    id Double
    name String
    slug String
    display string
    id number
    name string
    slug string
    display str
    id float
    name str
    slug str
    display String
    id Number
    name String
    slug String

    GetIpRangesIpRangeTenant

    Id double
    Name string
    Slug string
    Id float64
    Name string
    Slug string
    id Double
    name String
    slug String
    id number
    name string
    slug string
    id float
    name str
    slug str
    id Number
    name String
    slug String

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox logo
    netbox 4.0.0 published on Thursday, Jun 12, 2025 by e-breuninger