"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.userGroupsOutput = exports.userGroups = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of iam user groups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.iam.getUserGroups({
 *     query: "xRqElT",
 * });
 * ```
 */
/** @deprecated volcengine.iam.UserGroups has been deprecated in favor of volcengine.iam.getUserGroups */
function userGroups(args, opts) {
    pulumi.log.warn("userGroups is deprecated: volcengine.iam.UserGroups has been deprecated in favor of volcengine.iam.getUserGroups");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:iam/userGroups:UserGroups", {
        "outputFile": args.outputFile,
        "query": args.query,
    }, opts);
}
exports.userGroups = userGroups;
/**
 * Use this data source to query detailed information of iam user groups
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.iam.getUserGroups({
 *     query: "xRqElT",
 * });
 * ```
 */
/** @deprecated volcengine.iam.UserGroups has been deprecated in favor of volcengine.iam.getUserGroups */
function userGroupsOutput(args, opts) {
    return pulumi.output(args).apply((a) => userGroups(a, opts));
}
exports.userGroupsOutput = userGroupsOutput;
//# sourceMappingURL=userGroups.js.map