UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

76 lines (75 loc) 2.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of iam user group attachments * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getUserGroupAttachments({ * userGroupName: "xRqElT", * }); * ``` */ export declare function getUserGroupAttachments(args: GetUserGroupAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetUserGroupAttachmentsResult>; /** * A collection of arguments for invoking getUserGroupAttachments. */ export interface GetUserGroupAttachmentsArgs { /** * File name where to save data source results. */ outputFile?: string; /** * The name of user group. */ userGroupName: string; } /** * A collection of values returned by getUserGroupAttachments. */ export interface GetUserGroupAttachmentsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; readonly userGroupName: string; /** * The collection of user. */ readonly users: outputs.iam.GetUserGroupAttachmentsUser[]; } /** * Use this data source to query detailed information of iam user group attachments * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getUserGroupAttachments({ * userGroupName: "xRqElT", * }); * ``` */ export declare function getUserGroupAttachmentsOutput(args: GetUserGroupAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserGroupAttachmentsResult>; /** * A collection of arguments for invoking getUserGroupAttachments. */ export interface GetUserGroupAttachmentsOutputArgs { /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The name of user group. */ userGroupName: pulumi.Input<string>; }