import * as pulumi from "@pulumi/pulumi";
/**
 * Manages an Azure Cosmos DB for PostgreSQL Role.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const examplePostgresqlCluster = new azure.cosmosdb.PostgresqlCluster("example", {
 *     name: "examplecluster",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     administratorLoginPassword: "H@Sh1CoR3!",
 *     coordinatorStorageQuotaInMb: 131072,
 *     coordinatorVcoreCount: 2,
 *     nodeCount: 0,
 * });
 * const examplePostgresqlRole = new azure.cosmosdb.PostgresqlRole("example", {
 *     name: "examplerole",
 *     clusterId: examplePostgresqlCluster.id,
 *     password: "H@Sh1CoR3!",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.DBforPostgreSQL` - 2022-11-08
 *
 * ## Import
 *
 * Azure Cosmos DB for PostgreSQL Roles can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:cosmosdb/postgresqlRole:PostgresqlRole example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/cluster1/roles/role1
 * ```
 */
export declare class PostgresqlRole extends pulumi.CustomResource {
    /**
     * Get an existing PostgresqlRole 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?: PostgresqlRoleState, opts?: pulumi.CustomResourceOptions): PostgresqlRole;
    /**
     * Returns true if the given object is an instance of PostgresqlRole.  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 PostgresqlRole;
    /**
     * The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
     */
    readonly clusterId: pulumi.Output<string>;
    /**
     * The name which should be used for this Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The password of the Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
     */
    readonly password: pulumi.Output<string>;
    /**
     * Create a PostgresqlRole 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: PostgresqlRoleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering PostgresqlRole resources.
 */
export interface PostgresqlRoleState {
    /**
     * The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
     */
    clusterId?: pulumi.Input<string | undefined>;
    /**
     * The name which should be used for this Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The password of the Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
     */
    password?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a PostgresqlRole resource.
 */
export interface PostgresqlRoleArgs {
    /**
     * The resource ID of the Azure Cosmos DB for PostgreSQL Cluster. Changing this forces a new resource to be created.
     */
    clusterId: pulumi.Input<string>;
    /**
     * The name which should be used for this Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The password of the Azure Cosmos DB for PostgreSQL Role. Changing this forces a new resource to be created.
     */
    password: pulumi.Input<string>;
}
//# sourceMappingURL=postgresqlRole.d.ts.map