RegistryEnterpriseRepo

This resource will help you to manager Container Registry Enterprise Edition repositories.

For information about Container Registry Enterprise Edition repository and how to use it, see Create a Repository

NOTE: Available in v1.86.0+.

NOTE: You need to set your registry password in Container Registry Enterprise Edition console before use this resource.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var my_namespace = new AliCloud.CS.RegistryEnterpriseNamespace("my-namespace", new AliCloud.CS.RegistryEnterpriseNamespaceArgs
        {
            AutoCreate = false,
            DefaultVisibility = "PUBLIC",
            InstanceId = "cri-xxx",
        });
        var my_repo = new AliCloud.CS.RegistryEnterpriseRepo("my-repo", new AliCloud.CS.RegistryEnterpriseRepoArgs
        {
            Detail = "this is a public repo",
            InstanceId = my_namespace.InstanceId,
            Namespace = my_namespace.Name,
            RepoType = "PUBLIC",
            Summary = "this is summary of my new repo",
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

my_namespace = alicloud.cs.RegistryEnterpriseNamespace("my-namespace",
    auto_create=False,
    default_visibility="PUBLIC",
    instance_id="cri-xxx")
my_repo = alicloud.cs.RegistryEnterpriseRepo("my-repo",
    detail="this is a public repo",
    instance_id=my_namespace.instance_id,
    namespace=my_namespace.name,
    repo_type="PUBLIC",
    summary="this is summary of my new repo")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const my_namespace = new alicloud.cs.RegistryEnterpriseNamespace("my-namespace", {
    autoCreate: false,
    defaultVisibility: "PUBLIC",
    instanceId: "cri-xxx",
});
const my_repo = new alicloud.cs.RegistryEnterpriseRepo("my-repo", {
    detail: "this is a public repo",
    instanceId: my_namespace.instanceId,
    namespace: my_namespace.name,
    repoType: "PUBLIC",
    summary: "this is summary of my new repo",
});

Create a RegistryEnterpriseRepo Resource

def RegistryEnterpriseRepo(resource_name, opts=None, detail=None, instance_id=None, name=None, namespace=None, repo_type=None, summary=None, __props__=None);
name string
The unique name of the resource.
args RegistryEnterpriseRepoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RegistryEnterpriseRepoArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RegistryEnterpriseRepoArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

RegistryEnterpriseRepo Resource Properties

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

Inputs

The RegistryEnterpriseRepo resource accepts the following input properties:

InstanceId string

ID of Container Registry Enterprise Edition instance.

Namespace string

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

RepoType string

PUBLIC or PRIVATE, repo’s visibility.

Summary string

The repository general information. It can contain 1 to 100 characters.

Detail string

The repository specific information. MarkDown format is supported, and the length limit is 2000.

Name string

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

InstanceId string

ID of Container Registry Enterprise Edition instance.

Namespace string

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

RepoType string

PUBLIC or PRIVATE, repo’s visibility.

Summary string

The repository general information. It can contain 1 to 100 characters.

Detail string

The repository specific information. MarkDown format is supported, and the length limit is 2000.

Name string

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

instanceId string

ID of Container Registry Enterprise Edition instance.

namespace string

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

repoType string

PUBLIC or PRIVATE, repo’s visibility.

summary string

The repository general information. It can contain 1 to 100 characters.

detail string

The repository specific information. MarkDown format is supported, and the length limit is 2000.

name string

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

instance_id str

ID of Container Registry Enterprise Edition instance.

namespace str

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

repo_type str

PUBLIC or PRIVATE, repo’s visibility.

summary str

The repository general information. It can contain 1 to 100 characters.

detail str

The repository specific information. MarkDown format is supported, and the length limit is 2000.

name str

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
RepoId string

The uuid of Container Registry Enterprise Edition repository.

Id string
The provider-assigned unique ID for this managed resource.
RepoId string

The uuid of Container Registry Enterprise Edition repository.

id string
The provider-assigned unique ID for this managed resource.
repoId string

The uuid of Container Registry Enterprise Edition repository.

id str
The provider-assigned unique ID for this managed resource.
repo_id str

The uuid of Container Registry Enterprise Edition repository.

Look up an Existing RegistryEnterpriseRepo Resource

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

static get(resource_name, id, opts=None, detail=None, instance_id=None, name=None, namespace=None, repo_id=None, repo_type=None, summary=None, __props__=None);
func GetRegistryEnterpriseRepo(ctx *Context, name string, id IDInput, state *RegistryEnterpriseRepoState, opts ...ResourceOption) (*RegistryEnterpriseRepo, error)
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.

The following state arguments are supported:

Detail string

The repository specific information. MarkDown format is supported, and the length limit is 2000.

InstanceId string

ID of Container Registry Enterprise Edition instance.

Name string

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

Namespace string

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

RepoId string

The uuid of Container Registry Enterprise Edition repository.

RepoType string

PUBLIC or PRIVATE, repo’s visibility.

Summary string

The repository general information. It can contain 1 to 100 characters.

Detail string

The repository specific information. MarkDown format is supported, and the length limit is 2000.

InstanceId string

ID of Container Registry Enterprise Edition instance.

Name string

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

Namespace string

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

RepoId string

The uuid of Container Registry Enterprise Edition repository.

RepoType string

PUBLIC or PRIVATE, repo’s visibility.

Summary string

The repository general information. It can contain 1 to 100 characters.

detail string

The repository specific information. MarkDown format is supported, and the length limit is 2000.

instanceId string

ID of Container Registry Enterprise Edition instance.

name string

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

namespace string

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

repoId string

The uuid of Container Registry Enterprise Edition repository.

repoType string

PUBLIC or PRIVATE, repo’s visibility.

summary string

The repository general information. It can contain 1 to 100 characters.

detail str

The repository specific information. MarkDown format is supported, and the length limit is 2000.

instance_id str

ID of Container Registry Enterprise Edition instance.

name str

Name of Container Registry Enterprise Edition repository. It can contain 2 to 64 characters.

namespace str

Name of Container Registry Enterprise Edition namespace where repository is located. It can contain 2 to 30 characters.

repo_id str

The uuid of Container Registry Enterprise Edition repository.

repo_type str

PUBLIC or PRIVATE, repo’s visibility.

summary str

The repository general information. It can contain 1 to 100 characters.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.