import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to retrieve an IAM permissions group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const website = ovh.Iam.getPermissionsGroup({ * urn: "urn:v1:eu:permissionsGroup:ovh:controlPanelAccess", * }); * ``` */ export declare function getPermissionsGroup(args: GetPermissionsGroupArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPermissionsGroup. */ export interface GetPermissionsGroupArgs { /** * Set of actions allowed by the permissions group. */ allows?: string[]; /** * Set of actions that will always be denied even if it is explicitly allowed by a policy. */ denies?: string[]; /** * Group description. */ description?: string; /** * Set of actions that will be subtracted from the `allow` list. */ excepts?: string[]; /** * Date of the last update of this group. */ updatedAt?: string; /** * URN of the permissions group. */ urn: string; } /** * A collection of values returned by getPermissionsGroup. */ export interface GetPermissionsGroupResult { /** * Set of actions allowed by the permissions group. */ readonly allows?: string[]; /** * Creation date of this group. */ readonly createdAt: string; /** * Set of actions that will always be denied even if it is explicitly allowed by a policy. */ readonly denies?: string[]; /** * Group description. */ readonly description?: string; /** * Set of actions that will be subtracted from the `allow` list. */ readonly excepts?: string[]; readonly id: string; /** * Name of the permissions group. */ readonly name: string; /** * Owner of the permissions group. */ readonly owner: string; /** * Date of the last update of this group. */ readonly updatedAt: string; readonly urn: string; } /** * Use this data source to retrieve an IAM permissions group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const website = ovh.Iam.getPermissionsGroup({ * urn: "urn:v1:eu:permissionsGroup:ovh:controlPanelAccess", * }); * ``` */ export declare function getPermissionsGroupOutput(args: GetPermissionsGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPermissionsGroup. */ export interface GetPermissionsGroupOutputArgs { /** * Set of actions allowed by the permissions group. */ allows?: pulumi.Input[]>; /** * Set of actions that will always be denied even if it is explicitly allowed by a policy. */ denies?: pulumi.Input[]>; /** * Group description. */ description?: pulumi.Input; /** * Set of actions that will be subtracted from the `allow` list. */ excepts?: pulumi.Input[]>; /** * Date of the last update of this group. */ updatedAt?: pulumi.Input; /** * URN of the permissions group. */ urn: pulumi.Input; }