import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of cloud identity permission set assignments
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooPermissionSet = new volcengine.cloud_identity.PermissionSet("fooPermissionSet", {
 *     description: "tf",
 *     sessionDuration: 5000,
 *     permissionPolicies: [
 *         {
 *             permissionPolicyType: "System",
 *             permissionPolicyName: "AdministratorAccess",
 *             inlinePolicyDocument: "",
 *         },
 *         {
 *             permissionPolicyType: "System",
 *             permissionPolicyName: "ReadOnlyAccess",
 *             inlinePolicyDocument: "",
 *         },
 *         {
 *             permissionPolicyType: "Inline",
 *             inlinePolicyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
 *         },
 *     ],
 * });
 * const fooUser = new volcengine.cloud_identity.User("fooUser", {
 *     userName: "acc-test-user",
 *     displayName: "tf-test-user",
 *     description: "tf",
 *     email: "88@qq.com",
 *     phone: "181",
 * });
 * const fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", {
 *     permissionSetId: fooPermissionSet.id,
 *     targetId: "210026****",
 *     principalType: "User",
 *     principalId: fooUser.id,
 * });
 * const fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({
 *     permissionSetId: fooPermissionSetAssignment.permissionSetId,
 * });
 * ```
 */
export declare function getPermissionSetAssignments(args?: GetPermissionSetAssignmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetPermissionSetAssignmentsResult>;
/**
 * A collection of arguments for invoking getPermissionSetAssignments.
 */
export interface GetPermissionSetAssignmentsArgs {
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * The id of cloud identity permission set.
     */
    permissionSetId?: string;
    /**
     * The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`.
     */
    principalId?: string;
    /**
     * The principal type of cloud identity permission set. Valid values: `User`, `Group`.
     */
    principalType?: string;
    /**
     * The target account id of cloud identity permission set assignment.
     */
    targetId?: string;
}
/**
 * A collection of values returned by getPermissionSetAssignments.
 */
export interface GetPermissionSetAssignmentsResult {
    /**
     * The collection of query.
     */
    readonly assignments: outputs.cloud_identity.GetPermissionSetAssignmentsAssignment[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly nameRegex?: string;
    readonly outputFile?: string;
    /**
     * The id of the cloud identity permission set.
     */
    readonly permissionSetId?: string;
    /**
     * The principal id of the cloud identity permission set assignment.
     */
    readonly principalId?: string;
    /**
     * The principal type of the cloud identity permission set assignment.
     */
    readonly principalType?: string;
    /**
     * The target account id of the cloud identity permission set assignment.
     */
    readonly targetId?: string;
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of cloud identity permission set assignments
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooPermissionSet = new volcengine.cloud_identity.PermissionSet("fooPermissionSet", {
 *     description: "tf",
 *     sessionDuration: 5000,
 *     permissionPolicies: [
 *         {
 *             permissionPolicyType: "System",
 *             permissionPolicyName: "AdministratorAccess",
 *             inlinePolicyDocument: "",
 *         },
 *         {
 *             permissionPolicyType: "System",
 *             permissionPolicyName: "ReadOnlyAccess",
 *             inlinePolicyDocument: "",
 *         },
 *         {
 *             permissionPolicyType: "Inline",
 *             inlinePolicyDocument: "{\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"auto_scaling:DescribeScalingGroups\"],\"Resource\":[\"*\"]}]}",
 *         },
 *     ],
 * });
 * const fooUser = new volcengine.cloud_identity.User("fooUser", {
 *     userName: "acc-test-user",
 *     displayName: "tf-test-user",
 *     description: "tf",
 *     email: "88@qq.com",
 *     phone: "181",
 * });
 * const fooPermissionSetAssignment = new volcengine.cloud_identity.PermissionSetAssignment("fooPermissionSetAssignment", {
 *     permissionSetId: fooPermissionSet.id,
 *     targetId: "210026****",
 *     principalType: "User",
 *     principalId: fooUser.id,
 * });
 * const fooPermissionSetAssignments = volcengine.cloud_identity.getPermissionSetAssignmentsOutput({
 *     permissionSetId: fooPermissionSetAssignment.permissionSetId,
 * });
 * ```
 */
export declare function getPermissionSetAssignmentsOutput(args?: GetPermissionSetAssignmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPermissionSetAssignmentsResult>;
/**
 * A collection of arguments for invoking getPermissionSetAssignments.
 */
export interface GetPermissionSetAssignmentsOutputArgs {
    /**
     * A Name Regex of Resource.
     */
    nameRegex?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * The id of cloud identity permission set.
     */
    permissionSetId?: pulumi.Input<string>;
    /**
     * The principal id of cloud identity permission set. When the `principalType` is `User`, this field is specified to `UserId`. When the `principalType` is `Group`, this field is specified to `GroupId`.
     */
    principalId?: pulumi.Input<string>;
    /**
     * The principal type of cloud identity permission set. Valid values: `User`, `Group`.
     */
    principalType?: pulumi.Input<string>;
    /**
     * The target account id of cloud identity permission set assignment.
     */
    targetId?: pulumi.Input<string>;
}
