import * as pulumi from "@pulumi/pulumi";
/**
 * Using this resource to assign an administrator role to a user within HuaweiCloud.
 *
 * ## Example Usage
 * ### Assign an administrator role to a user
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as pulumi from "@huaweicloudos/pulumi";
 *
 * const config = new pulumi.Config();
 * const appId = config.requireObject("appId");
 * const appKey = config.requireObject("appKey");
 * const userAccount = config.requireObject("userAccount");
 * const test = new huaweicloud.meeting.AdminAssignment("test", {
 *     appId: appId,
 *     appKey: appKey,
 *     account: userAccount,
 * });
 * ```
 *
 * ## Import
 *
 * The assignment relationships can be imported using their `id` and authorization parameters, separated by slashes, e.g. Import an administrator assignment and authenticated by account. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Meeting/adminAssignment:AdminAssignment test <id>/<account_name>/<account_password>
 * ```
 *
 *  Import an administrator assignment and authenticated by `APP ID`/`APP Key`. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Meeting/adminAssignment:AdminAssignment test <id>/<app_id>/<app_key>/<corp_id>/<user_id>
 * ```
 *
 *  For this resource, the `corp_id` and `user_id` are never used, you can omit them but the slashes cannot be missing.
 */
export declare class AdminAssignment extends pulumi.CustomResource {
    /**
     * Get an existing AdminAssignment 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<pulumi.ID>, state?: AdminAssignmentState, opts?: pulumi.CustomResourceOptions): AdminAssignment;
    /**
     * Returns true if the given object is an instance of AdminAssignment.  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 AdminAssignment;
    /**
     * Specifies the user account to be assigned the administrator role.
     * The value can contain `1` to `64` characters.
     * Changing this parameter will create a new resource.
     */
    readonly account: pulumi.Output<string>;
    /**
     * Specifies the (HUAWEI Cloud meeting) user account name to which the
     * default administrator belongs. Changing this parameter will create a new resource.
     */
    readonly accountName: pulumi.Output<string | undefined>;
    /**
     * Specifies the user password.
     * Required if `accountName` is set. Changing this parameter will create a new resource.
     */
    readonly accountPassword: pulumi.Output<string | undefined>;
    /**
     * Specifies the ID of the Third-party application.
     * Changing this parameter will create a new resource.
     */
    readonly appId: pulumi.Output<string | undefined>;
    /**
     * Specifies the Key information of the Third-party APP.
     * Required if `appId` is set. Changing this parameter will create a new resource.
     */
    readonly appKey: pulumi.Output<string | undefined>;
    /**
     * Create a AdminAssignment 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: AdminAssignmentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AdminAssignment resources.
 */
export interface AdminAssignmentState {
    /**
     * Specifies the user account to be assigned the administrator role.
     * The value can contain `1` to `64` characters.
     * Changing this parameter will create a new resource.
     */
    account?: pulumi.Input<string>;
    /**
     * Specifies the (HUAWEI Cloud meeting) user account name to which the
     * default administrator belongs. Changing this parameter will create a new resource.
     */
    accountName?: pulumi.Input<string>;
    /**
     * Specifies the user password.
     * Required if `accountName` is set. Changing this parameter will create a new resource.
     */
    accountPassword?: pulumi.Input<string>;
    /**
     * Specifies the ID of the Third-party application.
     * Changing this parameter will create a new resource.
     */
    appId?: pulumi.Input<string>;
    /**
     * Specifies the Key information of the Third-party APP.
     * Required if `appId` is set. Changing this parameter will create a new resource.
     */
    appKey?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a AdminAssignment resource.
 */
export interface AdminAssignmentArgs {
    /**
     * Specifies the user account to be assigned the administrator role.
     * The value can contain `1` to `64` characters.
     * Changing this parameter will create a new resource.
     */
    account: pulumi.Input<string>;
    /**
     * Specifies the (HUAWEI Cloud meeting) user account name to which the
     * default administrator belongs. Changing this parameter will create a new resource.
     */
    accountName?: pulumi.Input<string>;
    /**
     * Specifies the user password.
     * Required if `accountName` is set. Changing this parameter will create a new resource.
     */
    accountPassword?: pulumi.Input<string>;
    /**
     * Specifies the ID of the Third-party application.
     * Changing this parameter will create a new resource.
     */
    appId?: pulumi.Input<string>;
    /**
     * Specifies the Key information of the Third-party APP.
     * Required if `appId` is set. Changing this parameter will create a new resource.
     */
    appKey?: pulumi.Input<string>;
}
