1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. cr
  5. Packages
volcenginecc v0.0.5 published on Thursday, Nov 13, 2025 by Volcengine
volcenginecc logo
volcenginecc v0.0.5 published on Thursday, Nov 13, 2025 by Volcengine

    镜像仓库(Container Registry,CR)提供安全高可用的容器镜像、Helm Chart 等符合 OCI 标准的云原生制品托管服务,方便企业用户管理容器镜像和 Helm Chart 的全生命周期。

    Example Usage

    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",
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    c_r_registry_demo = volcenginecc.cr.Registry("CRRegistryDemo",
        project="default",
        name="test",
        type="Enterprise",
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/cr"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cr.NewRegistry(ctx, "CRRegistryDemo", &cr.RegistryArgs{
    			Project: pulumi.String("default"),
    			Name:    pulumi.String("test"),
    			Type:    pulumi.String("Enterprise"),
    			Tags: cr.RegistryTagArray{
    				&cr.RegistryTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
    
    return await Deployment.RunAsync(() => 
    {
        var cRRegistryDemo = new Volcenginecc.Cr.Registry("CRRegistryDemo", new()
        {
            Project = "default",
            Name = "test",
            Type = "Enterprise",
            Tags = new[]
            {
                new Volcenginecc.Cr.Inputs.RegistryTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.cr.Registry;
    import com.volcengine.volcenginecc.cr.RegistryArgs;
    import com.pulumi.volcenginecc.cr.inputs.RegistryTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var cRRegistryDemo = new Registry("cRRegistryDemo", RegistryArgs.builder()
                .project("default")
                .name("test")
                .type("Enterprise")
                .tags(RegistryTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      cRRegistryDemo:
        type: volcenginecc:cr:Registry
        name: CRRegistryDemo
        properties:
          project: default
          name: test
          type: Enterprise
          tags:
            - key: env
              value: test
    

    Create Registry Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Registry(name: string, args: RegistryArgs, opts?: CustomResourceOptions);
    @overload
    def Registry(resource_name: str,
                 args: RegistryArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Registry(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 tags: Optional[Sequence[RegistryTagArgs]] = None,
                 type: Optional[str] = None)
    func NewRegistry(ctx *Context, name string, args RegistryArgs, opts ...ResourceOption) (*Registry, error)
    public Registry(string name, RegistryArgs args, CustomResourceOptions? opts = null)
    public Registry(String name, RegistryArgs args)
    public Registry(String name, RegistryArgs args, CustomResourceOptions options)
    
    type: volcenginecc:cr:Registry
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RegistryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var registryResource = new Volcenginecc.Cr.Registry("registryResource", new()
    {
        Name = "string",
        Project = "string",
        Tags = new[]
        {
            new Volcenginecc.Cr.Inputs.RegistryTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        Type = "string",
    });
    
    example, err := cr.NewRegistry(ctx, "registryResource", &cr.RegistryArgs{
    	Name:    pulumi.String("string"),
    	Project: pulumi.String("string"),
    	Tags: cr.RegistryTagArray{
    		&cr.RegistryTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Type: pulumi.String("string"),
    })
    
    var registryResource = new Registry("registryResource", RegistryArgs.builder()
        .name("string")
        .project("string")
        .tags(RegistryTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .type("string")
        .build());
    
    registry_resource = volcenginecc.cr.Registry("registryResource",
        name="string",
        project="string",
        tags=[{
            "key": "string",
            "value": "string",
        }],
        type="string")
    
    const registryResource = new volcenginecc.cr.Registry("registryResource", {
        name: "string",
        project: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
        type: "string",
    });
    
    type: volcenginecc:cr:Registry
    properties:
        name: string
        project: string
        tags:
            - key: string
              value: string
        type: string
    

    Registry Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Registry resource accepts the following input properties:

    Name string
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    Project string
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    Tags List<Volcengine.RegistryTag>
    Type string
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    Name string
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    Project string
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    Tags []RegistryTagArgs
    Type string
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    name String
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project String
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    tags List<RegistryTag>
    type String
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    name string
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project string
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    tags RegistryTag[]
    type string
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    name str
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project str
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    tags Sequence[RegistryTagArgs]
    type str
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    name String
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project String
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    tags List<Property Map>
    type String
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Registry resource produces the following output properties:

    ChargeType string
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    CreatedTime string
    创建镜像仓库实例的时间。
    ExpireTime string
    仅计费类型为HybridCharge有值,实例到期时间
    Id string
    The provider-assigned unique ID for this managed resource.
    ProxyCache Volcengine.RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    ProxyCacheEnabled bool
    是否设置为ProxyCache实例
    RenewType string
    仅计费类型为HybridCharge有值,实例自动续费类型
    Status Volcengine.RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    ChargeType string
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    CreatedTime string
    创建镜像仓库实例的时间。
    ExpireTime string
    仅计费类型为HybridCharge有值,实例到期时间
    Id string
    The provider-assigned unique ID for this managed resource.
    ProxyCache RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    ProxyCacheEnabled bool
    是否设置为ProxyCache实例
    RenewType string
    仅计费类型为HybridCharge有值,实例自动续费类型
    Status RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    chargeType String
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    createdTime String
    创建镜像仓库实例的时间。
    expireTime String
    仅计费类型为HybridCharge有值,实例到期时间
    id String
    The provider-assigned unique ID for this managed resource.
    proxyCache RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    proxyCacheEnabled Boolean
    是否设置为ProxyCache实例
    renewType String
    仅计费类型为HybridCharge有值,实例自动续费类型
    status RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    chargeType string
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    createdTime string
    创建镜像仓库实例的时间。
    expireTime string
    仅计费类型为HybridCharge有值,实例到期时间
    id string
    The provider-assigned unique ID for this managed resource.
    proxyCache RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    proxyCacheEnabled boolean
    是否设置为ProxyCache实例
    renewType string
    仅计费类型为HybridCharge有值,实例自动续费类型
    status RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    charge_type str
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    created_time str
    创建镜像仓库实例的时间。
    expire_time str
    仅计费类型为HybridCharge有值,实例到期时间
    id str
    The provider-assigned unique ID for this managed resource.
    proxy_cache RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    proxy_cache_enabled bool
    是否设置为ProxyCache实例
    renew_type str
    仅计费类型为HybridCharge有值,实例自动续费类型
    status RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    chargeType String
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    createdTime String
    创建镜像仓库实例的时间。
    expireTime String
    仅计费类型为HybridCharge有值,实例到期时间
    id String
    The provider-assigned unique ID for this managed resource.
    proxyCache Property Map
    ProxyCache配置,设置为ProxyCache时必填
    proxyCacheEnabled Boolean
    是否设置为ProxyCache实例
    renewType String
    仅计费类型为HybridCharge有值,实例自动续费类型
    status Property Map
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常

    Look up Existing Registry Resource

    Get an existing Registry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RegistryState, opts?: CustomResourceOptions): Registry
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            charge_type: Optional[str] = None,
            created_time: Optional[str] = None,
            expire_time: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            proxy_cache: Optional[RegistryProxyCacheArgs] = None,
            proxy_cache_enabled: Optional[bool] = None,
            renew_type: Optional[str] = None,
            status: Optional[RegistryStatusArgs] = None,
            tags: Optional[Sequence[RegistryTagArgs]] = None,
            type: Optional[str] = None) -> Registry
    func GetRegistry(ctx *Context, name string, id IDInput, state *RegistryState, opts ...ResourceOption) (*Registry, error)
    public static Registry Get(string name, Input<string> id, RegistryState? state, CustomResourceOptions? opts = null)
    public static Registry get(String name, Output<String> id, RegistryState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:cr:Registry    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ChargeType string
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    CreatedTime string
    创建镜像仓库实例的时间。
    ExpireTime string
    仅计费类型为HybridCharge有值,实例到期时间
    Name string
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    Project string
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    ProxyCache Volcengine.RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    ProxyCacheEnabled bool
    是否设置为ProxyCache实例
    RenewType string
    仅计费类型为HybridCharge有值,实例自动续费类型
    Status Volcengine.RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    Tags List<Volcengine.RegistryTag>
    Type string
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    ChargeType string
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    CreatedTime string
    创建镜像仓库实例的时间。
    ExpireTime string
    仅计费类型为HybridCharge有值,实例到期时间
    Name string
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    Project string
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    ProxyCache RegistryProxyCacheArgs
    ProxyCache配置,设置为ProxyCache时必填
    ProxyCacheEnabled bool
    是否设置为ProxyCache实例
    RenewType string
    仅计费类型为HybridCharge有值,实例自动续费类型
    Status RegistryStatusArgs
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    Tags []RegistryTagArgs
    Type string
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    chargeType String
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    createdTime String
    创建镜像仓库实例的时间。
    expireTime String
    仅计费类型为HybridCharge有值,实例到期时间
    name String
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project String
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    proxyCache RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    proxyCacheEnabled Boolean
    是否设置为ProxyCache实例
    renewType String
    仅计费类型为HybridCharge有值,实例自动续费类型
    status RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    tags List<RegistryTag>
    type String
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    chargeType string
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    createdTime string
    创建镜像仓库实例的时间。
    expireTime string
    仅计费类型为HybridCharge有值,实例到期时间
    name string
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project string
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    proxyCache RegistryProxyCache
    ProxyCache配置,设置为ProxyCache时必填
    proxyCacheEnabled boolean
    是否设置为ProxyCache实例
    renewType string
    仅计费类型为HybridCharge有值,实例自动续费类型
    status RegistryStatus
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    tags RegistryTag[]
    type string
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    charge_type str
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    created_time str
    创建镜像仓库实例的时间。
    expire_time str
    仅计费类型为HybridCharge有值,实例到期时间
    name str
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project str
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    proxy_cache RegistryProxyCacheArgs
    ProxyCache配置,设置为ProxyCache时必填
    proxy_cache_enabled bool
    是否设置为ProxyCache实例
    renew_type str
    仅计费类型为HybridCharge有值,实例自动续费类型
    status RegistryStatusArgs
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    tags Sequence[RegistryTagArgs]
    type str
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
    chargeType String
    镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
    createdTime String
    创建镜像仓库实例的时间。
    expireTime String
    仅计费类型为HybridCharge有值,实例到期时间
    name String
    标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
    project String
    填写实例需要关联的项目。一个实例仅支持关联一个项目
    proxyCache Property Map
    ProxyCache配置,设置为ProxyCache时必填
    proxyCacheEnabled Boolean
    是否设置为ProxyCache实例
    renewType String
    仅计费类型为HybridCharge有值,实例自动续费类型
    status Property Map
    镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
    tags List<Property Map>
    type String
    不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版

    Supporting Types

    RegistryProxyCache, RegistryProxyCacheArgs

    Type string
    ProxyCache支持的镜像仓库实例类型,参数值说明如下:DockerHub:dockerhub 镜像仓库。
    Type string
    ProxyCache支持的镜像仓库实例类型,参数值说明如下:DockerHub:dockerhub 镜像仓库。
    type String
    ProxyCache支持的镜像仓库实例类型,参数值说明如下:DockerHub:dockerhub 镜像仓库。
    type string
    ProxyCache支持的镜像仓库实例类型,参数值说明如下:DockerHub:dockerhub 镜像仓库。
    type str
    ProxyCache支持的镜像仓库实例类型,参数值说明如下:DockerHub:dockerhub 镜像仓库。
    type String
    ProxyCache支持的镜像仓库实例类型,参数值说明如下:DockerHub:dockerhub 镜像仓库。

    RegistryStatus, RegistryStatusArgs

    Conditions List<string>
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    Phase string
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    Conditions []string
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    Phase string
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    conditions List<String>
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    phase String
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    conditions string[]
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    phase string
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    conditions Sequence[str]
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    phase str
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    conditions List<String>
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。
    phase String
    Creating, [ Progressing ] :创建中。Running, [ Ok ] :运行中。Running, [ Degraded ] :运行中。Stopped, [ Balance ] : 欠费关停。Stopped, [ Released ] :待回收。Stopped, [ Released, Balance ] :欠费关停。Starting, [ Progressing ] :启动中。Deleting, [ Progressing ] :销毁中。Failed, [ Unknown ] :异常。

    RegistryTag, RegistryTagArgs

    Key string
    标签的 Key 值。
    Value string
    标签的 Value 值列表。
    Key string
    标签的 Key 值。
    Value string
    标签的 Value 值列表。
    key String
    标签的 Key 值。
    value String
    标签的 Value 值列表。
    key string
    标签的 Key 值。
    value string
    标签的 Value 值列表。
    key str
    标签的 Key 值。
    value str
    标签的 Value 值列表。
    key String
    标签的 Key 值。
    value String
    标签的 Value 值列表。

    Import

    $ pulumi import volcenginecc:cr/registry:Registry example "name"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    volcenginecc volcengine/pulumi-volcenginecc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the volcenginecc Terraform Provider.
    volcenginecc logo
    volcenginecc v0.0.5 published on Thursday, Nov 13, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate