UNPKG

@natzka-oss/pulumi-netbox

Version:

A Pulumi package for creating and managing Netbox cloud resources.

50 lines (49 loc) 1.68 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; export declare function getPrefixes(args?: GetPrefixesArgs, opts?: pulumi.InvokeOptions): Promise<GetPrefixesResult>; /** * A collection of arguments for invoking getPrefixes. */ export interface GetPrefixesArgs { /** * A list of filters to apply to the API query when requesting prefixes. */ filters?: inputs.ipam.GetPrefixesFilter[]; /** * The limit of objects to return from the API lookup. Defaults to `0`. */ limit?: number; } /** * A collection of values returned by getPrefixes. */ export interface GetPrefixesResult { /** * A list of filters to apply to the API query when requesting prefixes. */ readonly filters?: outputs.ipam.GetPrefixesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The limit of objects to return from the API lookup. Defaults to `0`. */ readonly limit?: number; readonly prefixes: outputs.ipam.GetPrefixesPrefix[]; } export declare function getPrefixesOutput(args?: GetPrefixesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrefixesResult>; /** * A collection of arguments for invoking getPrefixes. */ export interface GetPrefixesOutputArgs { /** * A list of filters to apply to the API query when requesting prefixes. */ filters?: pulumi.Input<pulumi.Input<inputs.ipam.GetPrefixesFilterArgs>[]>; /** * The limit of objects to return from the API lookup. Defaults to `0`. */ limit?: pulumi.Input<number>; }