import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieves a listing of config items. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * function tryOutput_( * ...fns: Array<() => pulumi.Input> * ): pulumi.Output { * if (fns.length === 0) { * throw new Error("try: all parameters failed"); * } * const [fn, ...rest] = fns; * try { * return pulumi.output(fn()).apply(result => result !== undefined ? result : tryOutput_(...rest)); * } catch { * return tryOutput_(...rest); * } * throw new Error("try: all parameters failed"); * } * * * const pagedProfilesList = scm.getRadiusServerProfileList({ * folder: "All", * limit: 10, * }); * export const fetchedProfileListSummary = { * countOfProfilesFetched: pagedProfilesList.then(pagedProfilesList => pagedProfilesList.total), * firstProfileName: tryOutput_( * () => pagedProfilesList.then(pagedProfilesList => pagedProfilesList.datas?.[0]?.name), * () => "List is empty" * ), * }; * ``` */ export declare function getRadiusServerProfileList(args?: GetRadiusServerProfileListArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRadiusServerProfileList. */ export interface GetRadiusServerProfileListArgs { /** * The device of the item. */ device?: string; /** * The folder of the item. Default: Shared. */ folder?: string; /** * The max number of items to return. Default: 200. */ limit?: number; /** * The name of the item. */ name?: string; /** * The offset of the first item to return. */ offset?: number; /** * The snippet of the item. */ snippet?: string; } /** * A collection of values returned by getRadiusServerProfileList. */ export interface GetRadiusServerProfileListResult { /** * The data. */ readonly datas: outputs.GetRadiusServerProfileListData[]; /** * The device of the item. */ readonly device?: string; /** * The folder of the item. Default: Shared. */ readonly folder?: string; /** * The max number of items to return. Default: 200. */ readonly limit?: number; /** * The name of the item. */ readonly name?: string; /** * The offset of the first item to return. */ readonly offset?: number; /** * The snippet of the item. */ readonly snippet?: string; /** * The Terraform ID. */ readonly tfid: string; /** * The total number of items. */ readonly total: number; } /** * Retrieves a listing of config items. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * function tryOutput_( * ...fns: Array<() => pulumi.Input> * ): pulumi.Output { * if (fns.length === 0) { * throw new Error("try: all parameters failed"); * } * const [fn, ...rest] = fns; * try { * return pulumi.output(fn()).apply(result => result !== undefined ? result : tryOutput_(...rest)); * } catch { * return tryOutput_(...rest); * } * throw new Error("try: all parameters failed"); * } * * * const pagedProfilesList = scm.getRadiusServerProfileList({ * folder: "All", * limit: 10, * }); * export const fetchedProfileListSummary = { * countOfProfilesFetched: pagedProfilesList.then(pagedProfilesList => pagedProfilesList.total), * firstProfileName: tryOutput_( * () => pagedProfilesList.then(pagedProfilesList => pagedProfilesList.datas?.[0]?.name), * () => "List is empty" * ), * }; * ``` */ export declare function getRadiusServerProfileListOutput(args?: GetRadiusServerProfileListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRadiusServerProfileList. */ export interface GetRadiusServerProfileListOutputArgs { /** * The device of the item. */ device?: pulumi.Input; /** * The folder of the item. Default: Shared. */ folder?: pulumi.Input; /** * The max number of items to return. Default: 200. */ limit?: pulumi.Input; /** * The name of the item. */ name?: pulumi.Input; /** * The offset of the first item to return. */ offset?: pulumi.Input; /** * The snippet of the item. */ snippet?: pulumi.Input; } //# sourceMappingURL=getRadiusServerProfileList.d.ts.map