import * as pulumi from "@pulumi/pulumi";
/**
 * Manages an Azure Container Registry token associated to a scope map. For more information on scope maps and their tokens see the [product documentation](https://learn.microsoft.com/en-us/azure/container-registry/container-registry-repository-scoped-permissions).
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resource-group",
 *     location: "West Europe",
 * });
 * const exampleRegistry = new azure.containerservice.Registry("example", {
 *     name: "example",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     sku: "Basic",
 *     adminEnabled: false,
 *     georeplications: [
 *         {
 *             location: "East US",
 *         },
 *         {
 *             location: "West Europe",
 *         },
 *     ],
 * });
 * const exampleRegistryScopeMap = new azure.containerservice.RegistryScopeMap("example", {
 *     name: "example-scope-map",
 *     containerRegistryName: exampleRegistry.name,
 *     resourceGroupName: example.name,
 *     actions: [
 *         "repositories/repo1/content/read",
 *         "repositories/repo1/content/write",
 *     ],
 * });
 * const exampleRegistryToken = new azure.containerservice.RegistryToken("example", {
 *     name: "exampletoken",
 *     containerRegistryName: exampleRegistry.name,
 *     resourceGroupName: example.name,
 *     scopeMapId: exampleRegistryScopeMap.id,
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.ContainerRegistry` - 2025-11-01
 *
 * ## Import
 *
 * Container Registries can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:containerservice/registryToken:RegistryToken example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ContainerRegistry/registries/myregistry1/tokens/token1
 * ```
 */
export declare class RegistryToken extends pulumi.CustomResource {
    /**
     * Get an existing RegistryToken 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?: RegistryTokenState, opts?: pulumi.CustomResourceOptions): RegistryToken;
    /**
     * Returns true if the given object is an instance of RegistryToken.  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 RegistryToken;
    /**
     * The name of the Container Registry. Changing this forces a new resource to be created.
     */
    readonly containerRegistryName: pulumi.Output<string>;
    /**
     * Should the Container Registry token be enabled? Defaults to `true`.
     */
    readonly enabled: pulumi.Output<boolean | undefined>;
    /**
     * Specifies the name of the token. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The name of the resource group in which to create the Container Registry token. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * The ID of the Container Registry Scope Map associated with the token.
     */
    readonly scopeMapId: pulumi.Output<string>;
    /**
     * Create a RegistryToken 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: RegistryTokenArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering RegistryToken resources.
 */
export interface RegistryTokenState {
    /**
     * The name of the Container Registry. Changing this forces a new resource to be created.
     */
    containerRegistryName?: pulumi.Input<string | undefined>;
    /**
     * Should the Container Registry token be enabled? Defaults to `true`.
     */
    enabled?: pulumi.Input<boolean | undefined>;
    /**
     * Specifies the name of the token. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the resource group in which to create the Container Registry token. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Container Registry Scope Map associated with the token.
     */
    scopeMapId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a RegistryToken resource.
 */
export interface RegistryTokenArgs {
    /**
     * The name of the Container Registry. Changing this forces a new resource to be created.
     */
    containerRegistryName: pulumi.Input<string>;
    /**
     * Should the Container Registry token be enabled? Defaults to `true`.
     */
    enabled?: pulumi.Input<boolean | undefined>;
    /**
     * Specifies the name of the token. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the resource group in which to create the Container Registry token. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The ID of the Container Registry Scope Map associated with the token.
     */
    scopeMapId: pulumi.Input<string>;
}
//# sourceMappingURL=registryToken.d.ts.map