NamespaceProps
Properties for defining a Namespace
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-namespace
Initializer
import { NamespaceProps } from '@alicloud/ros-cdk-cr'
const namespaceProps: NamespaceProps = { ... }
Properties
Name | Type | Description |
---|---|---|
namespace |
string | @alicloud/ros-cdk-core.IResolvable |
Property namespace: The name of the namespace. |
autoCreate |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property autoCreate: Specifies whether to automatically create an image repository. |
defaultVisibility |
string | @alicloud/ros-cdk-core.IResolvable |
Property defaultVisibility: The default type of the repository that is automatically created. |
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The ID of the enterprise edition instance which namespace belongs to. |
namespace
Required
public readonly namespace: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property namespace: The name of the namespace.
autoCreate
Optional
public readonly autoCreate: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property autoCreate: Specifies whether to automatically create an image repository.
defaultVisibility
Optional
public readonly defaultVisibility: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property defaultVisibility: The default type of the repository that is automatically created.
Valid values: PUBLIC, PRIVATE.
instanceId
Optional
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the enterprise edition instance which namespace belongs to.
If not provided, will use personal edition instance as default.