import * as pulumi from "@pulumi/pulumi"; /** * Creates an identity group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const myGroup = new ovh.me.IdentityGroup("my_group", { * description: "Some custom description", * name: "my_group_name", * role: "NONE", * }); * ``` * * ## Import * * Identity groups can be imported using their `name`: * * bash * * ```sh * $ pulumi import ovh:Me/identityGroup:IdentityGroup my_identity_group name * ``` */ export declare class IdentityGroup extends pulumi.CustomResource { /** * Get an existing IdentityGroup 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?: IdentityGroupState, opts?: pulumi.CustomResourceOptions): IdentityGroup; /** * Returns true if the given object is an instance of IdentityGroup. 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 IdentityGroup; /** * URN of the user group, used when writing IAM policies */ readonly GroupURN: pulumi.Output; /** * Creation date of this group. */ readonly creation: pulumi.Output; /** * Is the group a default and immutable one. */ readonly defaultGroup: pulumi.Output; /** * Group description. */ readonly description: pulumi.Output; /** * Date of the last update of this group. */ readonly lastUpdate: pulumi.Output; /** * Group name. */ readonly name: pulumi.Output; /** * Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE. */ readonly role: pulumi.Output; /** * Create a IdentityGroup 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?: IdentityGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IdentityGroup resources. */ export interface IdentityGroupState { /** * URN of the user group, used when writing IAM policies */ GroupURN?: pulumi.Input; /** * Creation date of this group. */ creation?: pulumi.Input; /** * Is the group a default and immutable one. */ defaultGroup?: pulumi.Input; /** * Group description. */ description?: pulumi.Input; /** * Date of the last update of this group. */ lastUpdate?: pulumi.Input; /** * Group name. */ name?: pulumi.Input; /** * Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE. */ role?: pulumi.Input; } /** * The set of arguments for constructing a IdentityGroup resource. */ export interface IdentityGroupArgs { /** * Group description. */ description?: pulumi.Input; /** * Group name. */ name?: pulumi.Input; /** * Role associated with the group. Valid roles are ADMIN, REGULAR, UNPRIVILEGED, and NONE. */ role?: pulumi.Input; }