import * as pulumi from "@pulumi/pulumi"; /** * The OCI artifact repository is used to store container images, Helm Charts, and other OCI (Open Container Initiative) artifacts that comply with open container standards. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const repositoryDemo = new volcenginecc.cr.Repository("RepositoryDemo", { * registry: "test", * namespace: "default", * name: "RepositoryDemo", * description: "RepositoryDemo description", * accessLevel: "Public", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:cr/repository:Repository example "registry|namespace|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, 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; /** * Access level. Values include: Private: Private OCI artifact repository, accessible only to authorized users. Public: Public OCI artifact repository, accessible to all users. You can specify one or more access levels in a single entry. */ readonly accessLevel: pulumi.Output; /** * Creation time of the OCI artifact repository. RFC3339 format, UTC+0 time. */ readonly createTime: pulumi.Output; /** * Image repository description, with a length of 0–300 UTF-8 characters. */ readonly description: pulumi.Output; /** * OCI artifact repository name. The name must be unique within the same namespace. Supports lowercase English letters, numbers, and delimiters (delimiters can be a single '.' or '/', one or more '-', or one or two '_'. Delimiters cannot appear at the beginning or end of the name, nor can they appear consecutively). Length must be between 1 and 128 characters. */ readonly name: pulumi.Output; /** * Target namespace name. Obtain the namespace name from the Namespace page of the target instance in the Image Repository Console. */ readonly namespace: pulumi.Output; /** * Specify the name of the image repository instance to which the namespace belongs. Obtain the instance name from the Instance List page in the Image Repository Console. */ readonly registry: pulumi.Output; /** * Last updated time for the OCI artifact repository. RFC3339 format, UTC+0 time. */ readonly updateTime: pulumi.Output; /** * 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 { /** * Access level. Values include: Private: Private OCI artifact repository, accessible only to authorized users. Public: Public OCI artifact repository, accessible to all users. You can specify one or more access levels in a single entry. */ accessLevel?: pulumi.Input; /** * Creation time of the OCI artifact repository. RFC3339 format, UTC+0 time. */ createTime?: pulumi.Input; /** * Image repository description, with a length of 0–300 UTF-8 characters. */ description?: pulumi.Input; /** * OCI artifact repository name. The name must be unique within the same namespace. Supports lowercase English letters, numbers, and delimiters (delimiters can be a single '.' or '/', one or more '-', or one or two '_'. Delimiters cannot appear at the beginning or end of the name, nor can they appear consecutively). Length must be between 1 and 128 characters. */ name?: pulumi.Input; /** * Target namespace name. Obtain the namespace name from the Namespace page of the target instance in the Image Repository Console. */ namespace?: pulumi.Input; /** * Specify the name of the image repository instance to which the namespace belongs. Obtain the instance name from the Instance List page in the Image Repository Console. */ registry?: pulumi.Input; /** * Last updated time for the OCI artifact repository. RFC3339 format, UTC+0 time. */ updateTime?: pulumi.Input; } /** * The set of arguments for constructing a Repository resource. */ export interface RepositoryArgs { /** * Access level. Values include: Private: Private OCI artifact repository, accessible only to authorized users. Public: Public OCI artifact repository, accessible to all users. You can specify one or more access levels in a single entry. */ accessLevel?: pulumi.Input; /** * Image repository description, with a length of 0–300 UTF-8 characters. */ description?: pulumi.Input; /** * OCI artifact repository name. The name must be unique within the same namespace. Supports lowercase English letters, numbers, and delimiters (delimiters can be a single '.' or '/', one or more '-', or one or two '_'. Delimiters cannot appear at the beginning or end of the name, nor can they appear consecutively). Length must be between 1 and 128 characters. */ name: pulumi.Input; /** * Target namespace name. Obtain the namespace name from the Namespace page of the target instance in the Image Repository Console. */ namespace: pulumi.Input; /** * Specify the name of the image repository instance to which the namespace belongs. Obtain the instance name from the Instance List page in the Image Repository Console. */ registry: pulumi.Input; }