import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Container Registry (CR) provides secure, highly available hosting for container images, Helm Charts, and other OCI-compliant cloud-native artifacts, making it easy for enterprise users to manage the full lifecycle of container images and Helm Charts. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const cRRegistryDemo = new volcenginecc.cr.Registry("CRRegistryDemo", { * project: "default", * name: "test", * type: "Enterprise", * endpoint: { * enabled: true, * }, * tags: [{ * key: "env", * value: "test", * }], * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:cr/registry:Registry example "name" * ``` */ export declare class Registry extends pulumi.CustomResource { /** * Get an existing Registry 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?: RegistryState, opts?: pulumi.CustomResourceOptions): Registry; /** * Returns true if the given object is an instance of Registry. 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 Registry; /** * Container registry instance billing type. Currently, only the PostCharge pay-as-you-go mode is supported. */ readonly chargeType: pulumi.Output; /** * Time when the container registry instance was created. */ readonly createdTime: pulumi.Output; /** * Public endpoint information for the image repository instance */ readonly endpoint: pulumi.Output; /** * Only applicable when the billing type is HybridCharge. Instance expiration time */ readonly expireTime: pulumi.Output; /** * Standard Edition instance name. Names must be unique within the same region. Supports lowercase English letters, numbers, and hyphens (-). Numbers cannot be the first character, and hyphens (-) cannot be the first or last character. Length must be between 3 and 30 characters. */ readonly name: pulumi.Output; /** * Specify the project to associate with the instance. Each instance can only be associated with one project */ readonly project: pulumi.Output; /** * ProxyCache configuration. Required when set to ProxyCache */ readonly proxyCache: pulumi.Output; /** * Whether to set as ProxyCache instance */ readonly proxyCacheEnabled: pulumi.Output; /** * Only applicable when the billing type is HybridCharge. Instance auto-renewal type */ readonly renewType: pulumi.Output; /** * Container registry instance status, composed of Phase and Conditions. Valid Phase and Conditions combinations are as follows: {Creating, [Progressing]}: Creating, {Running, [Ok]}: Running, {Running, [Degraded]}: Running, {Stopped, [Balance]}: Suspended due to overdue payment, {Stopped, [Released]}: Pending recycle, {Stopped, [Released, Balance]}: Suspended due to overdue payment, {Starting, [Progressing]}: Starting, {Deleting, [Progressing]}: Deleting, {Failed, [Unknown]}: Error */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * If not specified, a Standard Edition instance will be created by default. Enterprise: Standard Edition, Micro: Micro Edition */ readonly type: pulumi.Output; /** * Create a Registry 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: RegistryArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Registry resources. */ export interface RegistryState { /** * Container registry instance billing type. Currently, only the PostCharge pay-as-you-go mode is supported. */ chargeType?: pulumi.Input; /** * Time when the container registry instance was created. */ createdTime?: pulumi.Input; /** * Public endpoint information for the image repository instance */ endpoint?: pulumi.Input; /** * Only applicable when the billing type is HybridCharge. Instance expiration time */ expireTime?: pulumi.Input; /** * Standard Edition instance name. Names must be unique within the same region. Supports lowercase English letters, numbers, and hyphens (-). Numbers cannot be the first character, and hyphens (-) cannot be the first or last character. Length must be between 3 and 30 characters. */ name?: pulumi.Input; /** * Specify the project to associate with the instance. Each instance can only be associated with one project */ project?: pulumi.Input; /** * ProxyCache configuration. Required when set to ProxyCache */ proxyCache?: pulumi.Input; /** * Whether to set as ProxyCache instance */ proxyCacheEnabled?: pulumi.Input; /** * Only applicable when the billing type is HybridCharge. Instance auto-renewal type */ renewType?: pulumi.Input; /** * Container registry instance status, composed of Phase and Conditions. Valid Phase and Conditions combinations are as follows: {Creating, [Progressing]}: Creating, {Running, [Ok]}: Running, {Running, [Degraded]}: Running, {Stopped, [Balance]}: Suspended due to overdue payment, {Stopped, [Released]}: Pending recycle, {Stopped, [Released, Balance]}: Suspended due to overdue payment, {Starting, [Progressing]}: Starting, {Deleting, [Progressing]}: Deleting, {Failed, [Unknown]}: Error */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * If not specified, a Standard Edition instance will be created by default. Enterprise: Standard Edition, Micro: Micro Edition */ type?: pulumi.Input; } /** * The set of arguments for constructing a Registry resource. */ export interface RegistryArgs { /** * Public endpoint information for the image repository instance */ endpoint?: pulumi.Input; /** * Standard Edition instance name. Names must be unique within the same region. Supports lowercase English letters, numbers, and hyphens (-). Numbers cannot be the first character, and hyphens (-) cannot be the first or last character. Length must be between 3 and 30 characters. */ name: pulumi.Input; /** * Specify the project to associate with the instance. Each instance can only be associated with one project */ project?: pulumi.Input; /** * Container registry instance status, composed of Phase and Conditions. Valid Phase and Conditions combinations are as follows: {Creating, [Progressing]}: Creating, {Running, [Ok]}: Running, {Running, [Degraded]}: Running, {Stopped, [Balance]}: Suspended due to overdue payment, {Stopped, [Released]}: Pending recycle, {Stopped, [Released, Balance]}: Suspended due to overdue payment, {Starting, [Progressing]}: Starting, {Deleting, [Progressing]}: Deleting, {Failed, [Unknown]}: Error */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * If not specified, a Standard Edition instance will be created by default. Enterprise: Standard Edition, Micro: Micro Edition */ type?: pulumi.Input; }