UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

78 lines (77 loc) 2.1 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Use this data source to get all User Groups in Wavefront. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get all user groups * const groups = wavefront.getUserGroups({ * limit: 10, * offset: 0, * }); * ``` */ export declare function getUserGroups(args?: GetUserGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetUserGroupsResult>; /** * A collection of arguments for invoking getUserGroups. */ export interface GetUserGroupsArgs { /** * Limit is the maximum number of results to be returned. Defaults to 100. */ limit?: number; /** * Offset is the offset from the first result to be returned. Defaults to 0. */ offset?: number; } /** * A collection of values returned by getUserGroups. */ export interface GetUserGroupsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly limit?: number; readonly offset?: number; /** * List of user groups. */ readonly userGroups: outputs.GetUserGroupsUserGroup[]; } /** * Use this data source to get all User Groups in Wavefront. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as wavefront from "@pulumi/wavefront"; * * // Get all user groups * const groups = wavefront.getUserGroups({ * limit: 10, * offset: 0, * }); * ``` */ export declare function getUserGroupsOutput(args?: GetUserGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserGroupsResult>; /** * A collection of arguments for invoking getUserGroups. */ export interface GetUserGroupsOutputArgs { /** * Limit is the maximum number of results to be returned. Defaults to 100. */ limit?: pulumi.Input<number>; /** * Offset is the offset from the first result to be returned. Defaults to 0. */ offset?: pulumi.Input<number>; }