import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a Cosmos DB Mongo User Definition.
 *
 * ## 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 exampleAccount = new azure.cosmosdb.Account("example", {
 *     name: "example-ca",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     offerType: "Standard",
 *     kind: "MongoDB",
 *     capabilities: [
 *         {
 *             name: "EnableMongo",
 *         },
 *         {
 *             name: "EnableMongoRoleBasedAccessControl",
 *         },
 *     ],
 *     consistencyPolicy: {
 *         consistencyLevel: "Strong",
 *     },
 *     geoLocations: [{
 *         location: example.location,
 *         failoverPriority: 0,
 *     }],
 * });
 * const exampleMongoDatabase = new azure.cosmosdb.MongoDatabase("example", {
 *     name: "example-mongodb",
 *     resourceGroupName: exampleAccount.resourceGroupName,
 *     accountName: exampleAccount.name,
 * });
 * const exampleMongoUserDefinition = new azure.cosmosdb.MongoUserDefinition("example", {
 *     cosmosMongoDatabaseId: exampleMongoDatabase.id,
 *     username: "myUserName",
 *     password: "myPassword",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.DocumentDB` - 2025-10-15
 *
 * ## Import
 *
 * Cosmos DB Mongo User Definitions can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:cosmosdb/mongoUserDefinition:MongoUserDefinition example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/databaseAccounts/account1/mongodbUserDefinitions/dbname1.username1
 * ```
 */
export declare class MongoUserDefinition extends pulumi.CustomResource {
    /**
     * Get an existing MongoUserDefinition 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?: MongoUserDefinitionState, opts?: pulumi.CustomResourceOptions): MongoUserDefinition;
    /**
     * Returns true if the given object is an instance of MongoUserDefinition.  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 MongoUserDefinition;
    /**
     * The resource ID of the Mongo DB. Changing this forces a new resource to be created.
     */
    readonly cosmosMongoDatabaseId: pulumi.Output<string>;
    /**
     * A list of Mongo Roles that are inherited to the Mongo User Definition.
     *
     * > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
     */
    readonly inheritedRoleNames: pulumi.Output<string[] | undefined>;
    /**
     * The password for the Mongo User Definition.
     */
    readonly password: pulumi.Output<string>;
    /**
     * The username for the Mongo User Definition. Changing this forces a new resource to be created.
     */
    readonly username: pulumi.Output<string>;
    /**
     * Create a MongoUserDefinition 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: MongoUserDefinitionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering MongoUserDefinition resources.
 */
export interface MongoUserDefinitionState {
    /**
     * The resource ID of the Mongo DB. Changing this forces a new resource to be created.
     */
    cosmosMongoDatabaseId?: pulumi.Input<string | undefined>;
    /**
     * A list of Mongo Roles that are inherited to the Mongo User Definition.
     *
     * > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
     */
    inheritedRoleNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The password for the Mongo User Definition.
     */
    password?: pulumi.Input<string | undefined>;
    /**
     * The username for the Mongo User Definition. Changing this forces a new resource to be created.
     */
    username?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a MongoUserDefinition resource.
 */
export interface MongoUserDefinitionArgs {
    /**
     * The resource ID of the Mongo DB. Changing this forces a new resource to be created.
     */
    cosmosMongoDatabaseId: pulumi.Input<string>;
    /**
     * A list of Mongo Roles that are inherited to the Mongo User Definition.
     *
     * > **Note:** The role that needs to be inherited should exist in the Mongo DB of `cosmosMongoDatabaseId`.
     */
    inheritedRoleNames?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The password for the Mongo User Definition.
     */
    password: pulumi.Input<string>;
    /**
     * The username for the Mongo User Definition. Changing this forces a new resource to be created.
     */
    username: pulumi.Input<string>;
}
//# sourceMappingURL=mongoUserDefinition.d.ts.map