@pulumi/wavefront
Version:
A Pulumi package for creating and managing wavefront cloud resources.
77 lines (76 loc) • 2.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get information about a Wavefront user group by its ID.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the information about the user group.
* const example = wavefront.getUserGroup({
* id: "user-group-id",
* });
* ```
*/
export declare function getUserGroup(args: GetUserGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetUserGroupResult>;
/**
* A collection of arguments for invoking getUserGroup.
*/
export interface GetUserGroupArgs {
/**
* The ID associated with the user group data to be fetched.
*/
id: string;
}
/**
* A collection of values returned by getUserGroup.
*/
export interface GetUserGroupResult {
/**
* Human-readable description of the group.
*/
readonly description: string;
/**
* The ID of the group in Wavefront.
*/
readonly id: string;
/**
* The name of the group in Wavefront.
*/
readonly name: string;
/**
* The list of roles associated with the group.
*/
readonly roles: string[];
/**
* The list of users assigned to the group.
*/
readonly users: string[];
}
/**
* Use this data source to get information about a Wavefront user group by its ID.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as wavefront from "@pulumi/wavefront";
*
* // Get the information about the user group.
* const example = wavefront.getUserGroup({
* id: "user-group-id",
* });
* ```
*/
export declare function getUserGroupOutput(args: GetUserGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserGroupResult>;
/**
* A collection of arguments for invoking getUserGroup.
*/
export interface GetUserGroupOutputArgs {
/**
* The ID associated with the user group data to be fetched.
*/
id: pulumi.Input<string>;
}