UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

80 lines (79 loc) 2.08 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get details of the specified IAM user group. * * > **NOTE:** You *must* have IAM read privileges to use this data source. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const group = pulumi.output(huaweicloud.Iam.getGroup({ * name: "my_group", * })); * ``` */ export declare function getGroup(args?: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>; /** * A collection of arguments for invoking getGroup. */ export interface GetGroupArgs { /** * Specifies the description of the identity group. */ description?: string; /** * Specifies the ID of the identity group. */ id?: string; /** * Specifies the name of the identity group. */ name?: string; } /** * A collection of values returned by getGroup. */ export interface GetGroupResult { /** * Indicates the description of the IAM user. */ readonly description: string; /** * Indicates the domain the group belongs to. */ readonly domainId: string; /** * Indicates the ID of the IAM user. */ readonly id: string; /** * Indicates the IAM user name. */ readonly name: string; /** * Indicates the users the group contains. Structure is documented below. */ readonly users: outputs.Iam.GetGroupUser[]; } export declare function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>; /** * A collection of arguments for invoking getGroup. */ export interface GetGroupOutputArgs { /** * Specifies the description of the identity group. */ description?: pulumi.Input<string>; /** * Specifies the ID of the identity group. */ id?: pulumi.Input<string>; /** * Specifies the name of the identity group. */ name?: pulumi.Input<string>; }