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"; * * // This data source will call the "ListForwardingProfileRegionalAndCustomProxies" API endpoint * // and return all forwarding profile regional and custom proxies in the "Mobile Users" folder. * // 1. Use a single data block to fetch ALL forwarding profile regional and custom proxies in the "Mobile Users" folder. * const allMobileUsers = scm.getForwardingProfileRegionalAndCustomProxyList({ * folder: "Mobile Users", * }); * export const forwardingProfileRegionalAndCustomProxyDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, proxy) => ({ ...__obj, [proxy.id]: proxy }), {})); * const paginatedProxiesExample = scm.getForwardingProfileRegionalAndCustomProxyList({ * folder: "Mobile Users", * limit: 5, * offset: 0, * }); * export const paginatedProxies = paginatedProxiesExample.then(paginatedProxiesExample => .reduce((__obj, proxy) => ({ ...__obj, [proxy.id]: proxy }), {})); * export const paginationProxiesDetails = { * totalObjectsInFolder: paginatedProxiesExample.then(paginatedProxiesExample => paginatedProxiesExample.total), * limitUsed: paginatedProxiesExample.then(paginatedProxiesExample => paginatedProxiesExample.limit), * }; * ``` */ export declare function getForwardingProfileRegionalAndCustomProxyList(args?: GetForwardingProfileRegionalAndCustomProxyListArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getForwardingProfileRegionalAndCustomProxyList. */ export interface GetForwardingProfileRegionalAndCustomProxyListArgs { /** * 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 getForwardingProfileRegionalAndCustomProxyList. */ export interface GetForwardingProfileRegionalAndCustomProxyListResult { /** * The data. */ readonly datas: outputs.GetForwardingProfileRegionalAndCustomProxyListData[]; /** * 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"; * * // This data source will call the "ListForwardingProfileRegionalAndCustomProxies" API endpoint * // and return all forwarding profile regional and custom proxies in the "Mobile Users" folder. * // 1. Use a single data block to fetch ALL forwarding profile regional and custom proxies in the "Mobile Users" folder. * const allMobileUsers = scm.getForwardingProfileRegionalAndCustomProxyList({ * folder: "Mobile Users", * }); * export const forwardingProfileRegionalAndCustomProxyDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, proxy) => ({ ...__obj, [proxy.id]: proxy }), {})); * const paginatedProxiesExample = scm.getForwardingProfileRegionalAndCustomProxyList({ * folder: "Mobile Users", * limit: 5, * offset: 0, * }); * export const paginatedProxies = paginatedProxiesExample.then(paginatedProxiesExample => .reduce((__obj, proxy) => ({ ...__obj, [proxy.id]: proxy }), {})); * export const paginationProxiesDetails = { * totalObjectsInFolder: paginatedProxiesExample.then(paginatedProxiesExample => paginatedProxiesExample.total), * limitUsed: paginatedProxiesExample.then(paginatedProxiesExample => paginatedProxiesExample.limit), * }; * ``` */ export declare function getForwardingProfileRegionalAndCustomProxyListOutput(args?: GetForwardingProfileRegionalAndCustomProxyListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getForwardingProfileRegionalAndCustomProxyList. */ export interface GetForwardingProfileRegionalAndCustomProxyListOutputArgs { /** * 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=getForwardingProfileRegionalAndCustomProxyList.d.ts.map