import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
 * Use this data source to get the list of RDS SQLServer accounts.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const test = huaweicloud.Rds.getSqlserverAccounts({
 *     instanceId: _var.instance_id,
 *     userName: "test",
 * });
 * ```
 */
export declare function getSqlserverAccounts(args: GetSqlserverAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlserverAccountsResult>;
/**
 * A collection of arguments for invoking getSqlserverAccounts.
 */
export interface GetSqlserverAccountsArgs {
    /**
     * Specifies the ID of the RDS SQLServer instance.
     */
    instanceId: string;
    /**
     * Specifies the region in which to query the data source.
     * If omitted, the provider-level region will be used.
     */
    region?: string;
    /**
     * Specifies the database user status. Its value can be any of the following:
     * + **unavailable**: The database user is unavailable.
     * + **available**: The database user is available.
     */
    state?: string;
    /**
     * Specifies the username of the database account.
     */
    userName?: string;
}
/**
 * A collection of values returned by getSqlserverAccounts.
 */
export interface GetSqlserverAccountsResult {
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly instanceId: string;
    readonly region: string;
    /**
     * Indicates the database user status.
     */
    readonly state?: string;
    readonly userName?: string;
    /**
     * Indicates the list of users.
     * The users structure is documented below.
     */
    readonly users: outputs.Rds.GetSqlserverAccountsUser[];
}
export declare function getSqlserverAccountsOutput(args: GetSqlserverAccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSqlserverAccountsResult>;
/**
 * A collection of arguments for invoking getSqlserverAccounts.
 */
export interface GetSqlserverAccountsOutputArgs {
    /**
     * Specifies the ID of the RDS SQLServer instance.
     */
    instanceId: pulumi.Input<string>;
    /**
     * Specifies the region in which to query the data source.
     * If omitted, the provider-level region will be used.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the database user status. Its value can be any of the following:
     * + **unavailable**: The database user is unavailable.
     * + **available**: The database user is available.
     */
    state?: pulumi.Input<string>;
    /**
     * Specifies the username of the database account.
     */
    userName?: pulumi.Input<string>;
}
