import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a Mongo Cluster User.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const current = azure.core.getClientConfig({});
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleMongoCluster = new azure.mongocluster.MongoCluster("example", {
 *     name: "example-mc",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     administratorUsername: "adminTerraform",
 *     administratorPassword: "QAZwsx123",
 *     shardCount: 1,
 *     computeTier: "M30",
 *     highAvailabilityMode: "Disabled",
 *     storageSizeInGb: 32,
 *     version: "8.0",
 *     authenticationMethods: [
 *         "NativeAuth",
 *         "MicrosoftEntraID",
 *     ],
 * });
 * const exampleUser = new azure.mongocluster.User("example", {
 *     objectId: current.then(current => current.objectId),
 *     mongoClusterId: exampleMongoCluster.id,
 *     identityProviderType: "MicrosoftEntraID",
 *     principalType: "servicePrincipal",
 *     roles: [{
 *         database: "admin",
 *         name: "root",
 *     }],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.DocumentDB` - 2025-09-01
 *
 * ## Import
 *
 * Mongo Cluster Users can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:mongocluster/user:User example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DocumentDB/mongoClusters/cluster1/users/user1
 * ```
 */
export declare class User extends pulumi.CustomResource {
    /**
     * Get an existing User 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?: UserState, opts?: pulumi.CustomResourceOptions): User;
    /**
     * Returns true if the given object is an instance of User.  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 User;
    /**
     * The identity provider type for the Mongo Cluster User. The only possible value is `MicrosoftEntraID`. Changing this forces a new resource to be created.
     */
    readonly identityProviderType: pulumi.Output<string>;
    /**
     * The ID of the Mongo Cluster where the User should exist. Changing this forces a new resource to be created.
     */
    readonly mongoClusterId: pulumi.Output<string>;
    /**
     * The Object ID of the Entra ID User or Service Principal. Changing this forces a new resource to be created.
     */
    readonly objectId: pulumi.Output<string>;
    /**
     * The principal type for the Mongo Cluster User. Possible values are `user` and `servicePrincipal`. Changing this forces a new resource to be created.
     */
    readonly principalType: pulumi.Output<string>;
    /**
     * One or more `role` blocks as defined below. Changing this forces a new resource to be created.
     */
    readonly roles: pulumi.Output<outputs.mongocluster.UserRole[]>;
    /**
     * Create a User 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: UserArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering User resources.
 */
export interface UserState {
    /**
     * The identity provider type for the Mongo Cluster User. The only possible value is `MicrosoftEntraID`. Changing this forces a new resource to be created.
     */
    identityProviderType?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Mongo Cluster where the User should exist. Changing this forces a new resource to be created.
     */
    mongoClusterId?: pulumi.Input<string | undefined>;
    /**
     * The Object ID of the Entra ID User or Service Principal. Changing this forces a new resource to be created.
     */
    objectId?: pulumi.Input<string | undefined>;
    /**
     * The principal type for the Mongo Cluster User. Possible values are `user` and `servicePrincipal`. Changing this forces a new resource to be created.
     */
    principalType?: pulumi.Input<string | undefined>;
    /**
     * One or more `role` blocks as defined below. Changing this forces a new resource to be created.
     */
    roles?: pulumi.Input<pulumi.Input<inputs.mongocluster.UserRole>[] | undefined>;
}
/**
 * The set of arguments for constructing a User resource.
 */
export interface UserArgs {
    /**
     * The identity provider type for the Mongo Cluster User. The only possible value is `MicrosoftEntraID`. Changing this forces a new resource to be created.
     */
    identityProviderType: pulumi.Input<string>;
    /**
     * The ID of the Mongo Cluster where the User should exist. Changing this forces a new resource to be created.
     */
    mongoClusterId: pulumi.Input<string>;
    /**
     * The Object ID of the Entra ID User or Service Principal. Changing this forces a new resource to be created.
     */
    objectId: pulumi.Input<string>;
    /**
     * The principal type for the Mongo Cluster User. Possible values are `user` and `servicePrincipal`. Changing this forces a new resource to be created.
     */
    principalType: pulumi.Input<string>;
    /**
     * One or more `role` blocks as defined below. Changing this forces a new resource to be created.
     */
    roles: pulumi.Input<pulumi.Input<inputs.mongocluster.UserRole>[]>;
}
//# sourceMappingURL=user.d.ts.map