import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * A user group is a collection of users. When a user group is associated with a policy, all users in the group gain the corresponding policy permissions. A user can belong to multiple user groups and have permissions from each group. * * ## Import * * ```sh * $ pulumi import volcenginecc:iam/group:Group example "user_group_name" * ``` */ export declare class Group extends pulumi.CustomResource { /** * Get an existing Group resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GroupState, opts?: pulumi.CustomResourceOptions): Group; /** * Returns true if the given object is an instance of Group. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Group; /** * ID of the primary account to which the user group belongs. */ readonly accountId: pulumi.Output; readonly attachedPolicies: pulumi.Output; /** * User group creation time. */ readonly createdTime: pulumi.Output; /** * User group description. Maximum length: 128 characters. */ readonly description: pulumi.Output; /** * User group display name. Maximum length: 64 characters. */ readonly displayName: pulumi.Output; /** * User group update time. */ readonly updatedTime: pulumi.Output; /** * User group ID. */ readonly userGroupId: pulumi.Output; /** * User group name. Length: 1–64 characters. Supports English letters, numbers, and .-_ symbols. */ readonly userGroupName: pulumi.Output; readonly users: pulumi.Output; /** * Create a Group resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Group resources. */ export interface GroupState { /** * ID of the primary account to which the user group belongs. */ accountId?: pulumi.Input; attachedPolicies?: pulumi.Input[]>; /** * User group creation time. */ createdTime?: pulumi.Input; /** * User group description. Maximum length: 128 characters. */ description?: pulumi.Input; /** * User group display name. Maximum length: 64 characters. */ displayName?: pulumi.Input; /** * User group update time. */ updatedTime?: pulumi.Input; /** * User group ID. */ userGroupId?: pulumi.Input; /** * User group name. Length: 1–64 characters. Supports English letters, numbers, and .-_ symbols. */ userGroupName?: pulumi.Input; users?: pulumi.Input[]>; } /** * The set of arguments for constructing a Group resource. */ export interface GroupArgs { attachedPolicies?: pulumi.Input[]>; /** * User group description. Maximum length: 128 characters. */ description?: pulumi.Input; /** * User group display name. Maximum length: 64 characters. */ displayName?: pulumi.Input; /** * User group name. Length: 1–64 characters. Supports English letters, numbers, and .-_ symbols. */ userGroupName: pulumi.Input; users?: pulumi.Input[]>; }