UNPKG

@pulumi/wavefront

Version:

A Pulumi package for creating and managing wavefront cloud resources.

58 lines 1.79 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getUserGroupsOutput = exports.getUserGroups = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * 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, * }); * ``` */ function getUserGroups(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("wavefront:index/getUserGroups:getUserGroups", { "limit": args.limit, "offset": args.offset, }, opts); } exports.getUserGroups = getUserGroups; /** * 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, * }); * ``` */ function getUserGroupsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("wavefront:index/getUserGroups:getUserGroups", { "limit": args.limit, "offset": args.offset, }, opts); } exports.getUserGroupsOutput = getUserGroupsOutput; //# sourceMappingURL=getUserGroups.js.map