import * as pulumi from "@pulumi/pulumi";
/**
 * Manage a Data Factory User Assigned Managed Identity credential resource. These resources are used by Data Factory to access data sources.
 *
 * ## 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: "westus",
 * });
 * const exampleUserAssignedIdentity = new azure.authorization.UserAssignedIdentity("example", {
 *     location: example.location,
 *     name: "my-user",
 *     resourceGroupName: example.name,
 * });
 * const exampleFactory = new azure.datafactory.Factory("example", {
 *     name: "example",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     identity: {
 *         type: "UserAssigned",
 *         identityIds: [exampleUserAssignedIdentity.id],
 *     },
 * });
 * const test = new azure.datafactory.CredentialUserManagedIdentity("test", {
 *     name: exampleUserAssignedIdentity.name,
 *     description: "Short description of this credential",
 *     dataFactoryId: exampleFactory.id,
 *     identityId: exampleUserAssignedIdentity.id,
 *     annotations: [
 *         "example",
 *         "example2",
 *     ],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.DataFactory` - 2018-06-01
 *
 * ## Import
 *
 * Data Factory Credentials can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:datafactory/credentialUserManagedIdentity:CredentialUserManagedIdentity example /subscriptions/1f3d6e58-feed-4bb6-87e5-a52305ad3375/resourceGroups/example-resources/providers/Microsoft.DataFactory/factories/example/credentials/credential1
 * ```
 */
export declare class CredentialUserManagedIdentity extends pulumi.CustomResource {
    /**
     * Get an existing CredentialUserManagedIdentity 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?: CredentialUserManagedIdentityState, opts?: pulumi.CustomResourceOptions): CredentialUserManagedIdentity;
    /**
     * Returns true if the given object is an instance of CredentialUserManagedIdentity.  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 CredentialUserManagedIdentity;
    /**
     * List of tags that can be used for describing the Data Factory Credential.
     *
     * > **Note:** Manually altering a Credential resource will cause annotations to be lost, resulting in a change being detected on the next run.
     */
    readonly annotations: pulumi.Output<string[] | undefined>;
    /**
     * The Data Factory ID in which to associate the Credential with. Changing this forces a new resource.
     */
    readonly dataFactoryId: pulumi.Output<string>;
    /**
     * The description for the Data Factory Credential.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * The Resouce ID of an existing User Assigned Managed Identity. This can be changed without recreating the resource. Changing this forces a new resource to be created.
     *
     * > **Note:** Attempting to create a Credential resource without first assigning the identity to the parent Data Factory will result in an Azure API error.
     */
    readonly identityId: pulumi.Output<string>;
    /**
     * Specifies the name of the Credential. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Create a CredentialUserManagedIdentity 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: CredentialUserManagedIdentityArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering CredentialUserManagedIdentity resources.
 */
export interface CredentialUserManagedIdentityState {
    /**
     * List of tags that can be used for describing the Data Factory Credential.
     *
     * > **Note:** Manually altering a Credential resource will cause annotations to be lost, resulting in a change being detected on the next run.
     */
    annotations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The Data Factory ID in which to associate the Credential with. Changing this forces a new resource.
     */
    dataFactoryId?: pulumi.Input<string | undefined>;
    /**
     * The description for the Data Factory Credential.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The Resouce ID of an existing User Assigned Managed Identity. This can be changed without recreating the resource. Changing this forces a new resource to be created.
     *
     * > **Note:** Attempting to create a Credential resource without first assigning the identity to the parent Data Factory will result in an Azure API error.
     */
    identityId?: pulumi.Input<string | undefined>;
    /**
     * Specifies the name of the Credential. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a CredentialUserManagedIdentity resource.
 */
export interface CredentialUserManagedIdentityArgs {
    /**
     * List of tags that can be used for describing the Data Factory Credential.
     *
     * > **Note:** Manually altering a Credential resource will cause annotations to be lost, resulting in a change being detected on the next run.
     */
    annotations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The Data Factory ID in which to associate the Credential with. Changing this forces a new resource.
     */
    dataFactoryId: pulumi.Input<string>;
    /**
     * The description for the Data Factory Credential.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The Resouce ID of an existing User Assigned Managed Identity. This can be changed without recreating the resource. Changing this forces a new resource to be created.
     *
     * > **Note:** Attempting to create a Credential resource without first assigning the identity to the parent Data Factory will result in an Azure API error.
     */
    identityId: pulumi.Input<string>;
    /**
     * Specifies the name of the Credential. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=credentialUserManagedIdentity.d.ts.map