Skip to content

RepositoryProps

Properties for defining a Repository.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-repository

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cr;
new RepositoryProps {
    object RepoName,
    object RepoNamespace,
    object RepoType,
    object Summary,
    object Detail = null,
    object InstanceId = null,
    object RepoSource = null,
    object TagImmutability = null
};

Properties

Name Type Description
RepoName object Property repoName: The name of the repository.
RepoNamespace object Property repoNamespace: The name of the namespace to which the repository belongs.
RepoType object Property repoType: The type of the repository.
Summary object Property summary: The summary of the repository.
Detail object Property detail: The description of the repository.
InstanceId object Property instanceId: The ID of the enterprise edition instance which repository belongs to.
RepoSource object Property repoSource: Code Source message.
TagImmutability object Property tagImmutability: Specifies whether the repository is immutable.

RepoNameRequired

public object RepoName { get; set; }
  • Type: object

Property repoName: The name of the repository.


RepoNamespaceRequired

public object RepoNamespace { get; set; }
  • Type: object

Property repoNamespace: The name of the namespace to which the repository belongs.


RepoTypeRequired

public object RepoType { get; set; }
  • Type: object

Property repoType: The type of the repository.

Valid values: PUBLIC, PRIVATE.


SummaryRequired

public object Summary { get; set; }
  • Type: object

Property summary: The summary of the repository.


DetailOptional

public object Detail { get; set; }
  • Type: object

Property detail: The description of the repository.


InstanceIdOptional

public object InstanceId { get; set; }
  • Type: object

Property instanceId: The ID of the enterprise edition instance which repository belongs to.

If not provided, will use personal edition instance as default.


RepoSourceOptional

public object RepoSource { get; set; }
  • Type: object

Property repoSource: Code Source message.


TagImmutabilityOptional

public object TagImmutability { get; set; }
  • Type: object

Property tagImmutability: Specifies whether the repository is immutable.

Only takes effect when InstanceId is specified.