镜像仓库(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
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
-
List<Volcengine.
Registry Tag> - Type string
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- Name string
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- Project string
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
-
[]Registry
Tag Args - Type string
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- name String
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project String
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
-
List<Registry
Tag> - type String
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- name string
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project string
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
-
Registry
Tag[] - type string
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- name str
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project str
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
-
Sequence[Registry
Tag Args] - type str
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- name String
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project String
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
- 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:
- Charge
Type string - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- Created
Time string - 创建镜像仓库实例的时间。
- Expire
Time string - 仅计费类型为HybridCharge有值,实例到期时间
- Id string
- The provider-assigned unique ID for this managed resource.
- Proxy
Cache Volcengine.Registry Proxy Cache - ProxyCache配置,设置为ProxyCache时必填
- Proxy
Cache boolEnabled - 是否设置为ProxyCache实例
- Renew
Type string - 仅计费类型为HybridCharge有值,实例自动续费类型
- Status
Volcengine.
Registry Status - 镜像仓库实例状态,由 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 string - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- Created
Time string - 创建镜像仓库实例的时间。
- Expire
Time string - 仅计费类型为HybridCharge有值,实例到期时间
- Id string
- The provider-assigned unique ID for this managed resource.
- Proxy
Cache RegistryProxy Cache - ProxyCache配置,设置为ProxyCache时必填
- Proxy
Cache boolEnabled - 是否设置为ProxyCache实例
- Renew
Type string - 仅计费类型为HybridCharge有值,实例自动续费类型
- Status
Registry
Status - 镜像仓库实例状态,由 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 String - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- created
Time String - 创建镜像仓库实例的时间。
- expire
Time String - 仅计费类型为HybridCharge有值,实例到期时间
- id String
- The provider-assigned unique ID for this managed resource.
- proxy
Cache RegistryProxy Cache - ProxyCache配置,设置为ProxyCache时必填
- proxy
Cache BooleanEnabled - 是否设置为ProxyCache实例
- renew
Type String - 仅计费类型为HybridCharge有值,实例自动续费类型
- status
Registry
Status - 镜像仓库实例状态,由 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 string - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- created
Time string - 创建镜像仓库实例的时间。
- expire
Time string - 仅计费类型为HybridCharge有值,实例到期时间
- id string
- The provider-assigned unique ID for this managed resource.
- proxy
Cache RegistryProxy Cache - ProxyCache配置,设置为ProxyCache时必填
- proxy
Cache booleanEnabled - 是否设置为ProxyCache实例
- renew
Type string - 仅计费类型为HybridCharge有值,实例自动续费类型
- status
Registry
Status - 镜像仓库实例状态,由 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 RegistryProxy Cache - ProxyCache配置,设置为ProxyCache时必填
- proxy_
cache_ boolenabled - 是否设置为ProxyCache实例
- renew_
type str - 仅计费类型为HybridCharge有值,实例自动续费类型
- status
Registry
Status - 镜像仓库实例状态,由 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 String - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- created
Time String - 创建镜像仓库实例的时间。
- expire
Time String - 仅计费类型为HybridCharge有值,实例到期时间
- id String
- The provider-assigned unique ID for this managed resource.
- proxy
Cache Property Map - ProxyCache配置,设置为ProxyCache时必填
- proxy
Cache BooleanEnabled - 是否设置为ProxyCache实例
- renew
Type 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) -> Registryfunc 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.
- Charge
Type string - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- Created
Time string - 创建镜像仓库实例的时间。
- Expire
Time string - 仅计费类型为HybridCharge有值,实例到期时间
- Name string
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- Project string
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
- Proxy
Cache Volcengine.Registry Proxy Cache - ProxyCache配置,设置为ProxyCache时必填
- Proxy
Cache boolEnabled - 是否设置为ProxyCache实例
- Renew
Type string - 仅计费类型为HybridCharge有值,实例自动续费类型
- Status
Volcengine.
Registry Status - 镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
-
List<Volcengine.
Registry Tag> - Type string
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- Charge
Type string - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- Created
Time string - 创建镜像仓库实例的时间。
- Expire
Time string - 仅计费类型为HybridCharge有值,实例到期时间
- Name string
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- Project string
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
- Proxy
Cache RegistryProxy Cache Args - ProxyCache配置,设置为ProxyCache时必填
- Proxy
Cache boolEnabled - 是否设置为ProxyCache实例
- Renew
Type string - 仅计费类型为HybridCharge有值,实例自动续费类型
- Status
Registry
Status Args - 镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
-
[]Registry
Tag Args - Type string
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- charge
Type String - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- created
Time String - 创建镜像仓库实例的时间。
- expire
Time String - 仅计费类型为HybridCharge有值,实例到期时间
- name String
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project String
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
- proxy
Cache RegistryProxy Cache - ProxyCache配置,设置为ProxyCache时必填
- proxy
Cache BooleanEnabled - 是否设置为ProxyCache实例
- renew
Type String - 仅计费类型为HybridCharge有值,实例自动续费类型
- status
Registry
Status - 镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
-
List<Registry
Tag> - type String
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- charge
Type string - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- created
Time string - 创建镜像仓库实例的时间。
- expire
Time string - 仅计费类型为HybridCharge有值,实例到期时间
- name string
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project string
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
- proxy
Cache RegistryProxy Cache - ProxyCache配置,设置为ProxyCache时必填
- proxy
Cache booleanEnabled - 是否设置为ProxyCache实例
- renew
Type string - 仅计费类型为HybridCharge有值,实例自动续费类型
- status
Registry
Status - 镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
-
Registry
Tag[] - type string
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- charge_
type str - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- created_
time str - 创建镜像仓库实例的时间。
- expire_
time str - 仅计费类型为HybridCharge有值,实例到期时间
- name str
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project str
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
- proxy_
cache RegistryProxy Cache Args - ProxyCache配置,设置为ProxyCache时必填
- proxy_
cache_ boolenabled - 是否设置为ProxyCache实例
- renew_
type str - 仅计费类型为HybridCharge有值,实例自动续费类型
- status
Registry
Status Args - 镜像仓库实例状态,由 Phase 和 Conditions 组成。合法的 Phase 和 Conditions 组合如下所示:{Creating, [Progressing]}:创建中,{Running, [Ok]}:运行中,{Running, [Degraded]}:运行中,{Stopped, [Balance]}:欠费关停,{Stopped, [Released]}:待回收,{Stopped, [Released, Balance]}:欠费关停,{Starting, [Progressing]}:启动中,{Deleting, [Progressing]}:销毁中,{Failed, [Unknown]}:异常
-
Sequence[Registry
Tag Args] - type str
- 不填写默认创建标准版实例。Enterprise:标准版,Micro:小微版
- charge
Type String - 镜像仓库实例的付费类型,目前仅支持 PostCharge按量付费模式。
- created
Time String - 创建镜像仓库实例的时间。
- expire
Time String - 仅计费类型为HybridCharge有值,实例到期时间
- name String
- 标准版实例名称,同一个地域下,名称必须唯一。支持小写英文字母、数字、短划线(-)且数字不能在首位,短划线(-)不能在首位或末位,长度限制为 3~30 个字符。
- project String
- 填写实例需要关联的项目。一个实例仅支持关联一个项目
- proxy
Cache Property Map - ProxyCache配置,设置为ProxyCache时必填
- proxy
Cache BooleanEnabled - 是否设置为ProxyCache实例
- renew
Type 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]}:异常
- 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
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
volcengineccTerraform Provider.
