import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a SWR repository resource within HuaweiCloud.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as pulumi from "@huaweicloudos/pulumi";
 *
 * const config = new pulumi.Config();
 * const organizationName = config.requireObject("organizationName");
 * const test = new huaweicloud.swr.Repository("test", {
 *     organization: organizationName,
 *     description: "Test repository",
 *     category: "linux",
 * });
 * ```
 *
 * ## Import
 *
 * Repository can be imported using the organization name and repository name separated by a slash, e.g.bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Swr/repository:Repository test org-name/repo-name
 * ```
 */
export declare class Repository extends pulumi.CustomResource {
    /**
     * Get an existing Repository 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?: RepositoryState, opts?: pulumi.CustomResourceOptions): Repository;
    /**
     * Returns true if the given object is an instance of Repository.  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 Repository;
    /**
     * Specifies the category of the repository.
     * The value can be `appServer`, `linux`, `frameworkApp`, `database`, `lang`, `other`, `windows`, `arm`.
     */
    readonly category: pulumi.Output<string | undefined>;
    /**
     * Specifies the description of the repository.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Intra-cluster image address for docker pull.
     */
    readonly internalPath: pulumi.Output<string>;
    /**
     * Specifies whether the repository is public. Default is false.
     */
    readonly isPublic: pulumi.Output<boolean | undefined>;
    /**
     * Specifies the name of the repository.
     * The valid length is limited from `1` to `128`, only lowercase letters, digits, periods (.), hyphens (-) and
     * underscores (_) are allowed. Periods, underscores, and hyphens cannot be placed next to each other.
     * A maximum of two consecutive underscores are allowed. Changing this creates a new resource.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Number of image tags in a repository.
     */
    readonly numImages: pulumi.Output<number>;
    /**
     * Specifies the name of the organization (namespace) the repository
     * belongs. Changing this creates a new resource.
     */
    readonly organization: pulumi.Output<string>;
    /**
     * Image address for docker pull.
     */
    readonly path: pulumi.Output<string>;
    /**
     * Specifies the region in which to create the resource. If omitted, the
     * provider-level region will be used. Changing this creates a new resource.
     */
    readonly region: pulumi.Output<string>;
    /**
     * Numeric ID of the repository
     */
    readonly repositoryId: pulumi.Output<number>;
    /**
     * Repository size.
     */
    readonly size: pulumi.Output<number>;
    /**
     * Create a Repository 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: RepositoryArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering Repository resources.
 */
export interface RepositoryState {
    /**
     * Specifies the category of the repository.
     * The value can be `appServer`, `linux`, `frameworkApp`, `database`, `lang`, `other`, `windows`, `arm`.
     */
    category?: pulumi.Input<string>;
    /**
     * Specifies the description of the repository.
     */
    description?: pulumi.Input<string>;
    /**
     * Intra-cluster image address for docker pull.
     */
    internalPath?: pulumi.Input<string>;
    /**
     * Specifies whether the repository is public. Default is false.
     */
    isPublic?: pulumi.Input<boolean>;
    /**
     * Specifies the name of the repository.
     * The valid length is limited from `1` to `128`, only lowercase letters, digits, periods (.), hyphens (-) and
     * underscores (_) are allowed. Periods, underscores, and hyphens cannot be placed next to each other.
     * A maximum of two consecutive underscores are allowed. Changing this creates a new resource.
     */
    name?: pulumi.Input<string>;
    /**
     * Number of image tags in a repository.
     */
    numImages?: pulumi.Input<number>;
    /**
     * Specifies the name of the organization (namespace) the repository
     * belongs. Changing this creates a new resource.
     */
    organization?: pulumi.Input<string>;
    /**
     * Image address for docker pull.
     */
    path?: pulumi.Input<string>;
    /**
     * Specifies the region in which to create the resource. If omitted, the
     * provider-level region will be used. Changing this creates a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Numeric ID of the repository
     */
    repositoryId?: pulumi.Input<number>;
    /**
     * Repository size.
     */
    size?: pulumi.Input<number>;
}
/**
 * The set of arguments for constructing a Repository resource.
 */
export interface RepositoryArgs {
    /**
     * Specifies the category of the repository.
     * The value can be `appServer`, `linux`, `frameworkApp`, `database`, `lang`, `other`, `windows`, `arm`.
     */
    category?: pulumi.Input<string>;
    /**
     * Specifies the description of the repository.
     */
    description?: pulumi.Input<string>;
    /**
     * Specifies whether the repository is public. Default is false.
     */
    isPublic?: pulumi.Input<boolean>;
    /**
     * Specifies the name of the repository.
     * The valid length is limited from `1` to `128`, only lowercase letters, digits, periods (.), hyphens (-) and
     * underscores (_) are allowed. Periods, underscores, and hyphens cannot be placed next to each other.
     * A maximum of two consecutive underscores are allowed. Changing this creates a new resource.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the name of the organization (namespace) the repository
     * belongs. Changing this creates a new resource.
     */
    organization: pulumi.Input<string>;
    /**
     * Specifies the region in which to create the resource. If omitted, the
     * provider-level region will be used. Changing this creates a new resource.
     */
    region?: pulumi.Input<string>;
}
