Skip to content

NamespaceProps

Properties for defining a Namespace.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Cr;
new NamespaceProps {
    object Namespace,
    object AutoCreate = null,
    object DefaultVisibility = null,
    object InstanceId = null
};

Properties

Name Type Description
Namespace object Property namespace: The name of the namespace.
AutoCreate object Property autoCreate: Specifies whether to automatically create an image repository.
DefaultVisibility object Property defaultVisibility: The default type of the repository that is automatically created.
InstanceId object Property instanceId: The ID of the enterprise edition instance which namespace belongs to.

NamespaceRequired

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

Property namespace: The name of the namespace.


AutoCreateOptional

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

Property autoCreate: Specifies whether to automatically create an image repository.


DefaultVisibilityOptional

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

Property defaultVisibility: The default type of the repository that is automatically created.

Valid values: PUBLIC, PRIVATE.


InstanceIdOptional

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

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

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