NamespaceProps
Properties for defining a Namespace
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-namespace
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcr"
&alicloudroscdkcr.NamespaceProps {
Namespace: interface{},
AutoCreate: interface{},
DefaultVisibility: interface{},
InstanceId: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Namespace |
interface{} |
Property namespace: The name of the namespace. |
AutoCreate |
interface{} |
Property autoCreate: Specifies whether to automatically create an image repository. |
DefaultVisibility |
interface{} |
Property defaultVisibility: The default type of the repository that is automatically created. |
InstanceId |
interface{} |
Property instanceId: The ID of the enterprise edition instance which namespace belongs to. |
Namespace
Required
Namespace interface{}
- Type: interface{}
Property namespace: The name of the namespace.
AutoCreate
Optional
AutoCreate interface{}
- Type: interface{}
Property autoCreate: Specifies whether to automatically create an image repository.
DefaultVisibility
Optional
DefaultVisibility interface{}
- Type: interface{}
Property defaultVisibility: The default type of the repository that is automatically created.
Valid values: PUBLIC, PRIVATE.
InstanceId
Optional
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of the enterprise edition instance which namespace belongs to.
If not provided, will use personal edition instance as default.