RepositoryProps
Properties for defining a Repository
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cr-repository
Initializer
import { RepositoryProps } from '@alicloud/ros-cdk-cr'
const repositoryProps: RepositoryProps = { ... }
Properties
Name | Type | Description |
---|---|---|
repoName |
string | @alicloud/ros-cdk-core.IResolvable |
Property repoName: The name of the repository. |
repoNamespace |
string | @alicloud/ros-cdk-core.IResolvable |
Property repoNamespace: The name of the namespace to which the repository belongs. |
repoType |
string | @alicloud/ros-cdk-core.IResolvable |
Property repoType: The type of the repository. |
summary |
string | @alicloud/ros-cdk-core.IResolvable |
Property summary: The summary of the repository. |
detail |
string | @alicloud/ros-cdk-core.IResolvable |
Property detail: The description of the repository. |
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The ID of the enterprise edition instance which repository belongs to. |
repoSource |
@alicloud/ros-cdk-core.IResolvable | RepoSourceProperty |
Property repoSource: Code Source message. |
tagImmutability |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property tagImmutability: Specifies whether the repository is immutable. |
repoName
Required
public readonly repoName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repoName: The name of the repository.
repoNamespace
Required
public readonly repoNamespace: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repoNamespace: The name of the namespace to which the repository belongs.
repoType
Required
public readonly repoType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property repoType: The type of the repository.
Valid values: PUBLIC, PRIVATE.
summary
Required
public readonly summary: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property summary: The summary of the repository.
detail
Optional
public readonly detail: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property detail: The description of the repository.
instanceId
Optional
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the enterprise edition instance which repository belongs to.
If not provided, will use personal edition instance as default.
repoSource
Optional
public readonly repoSource: IResolvable | RepoSourceProperty;
- Type: @alicloud/ros-cdk-core.IResolvable | RepoSourceProperty
Property repoSource: Code Source message.
tagImmutability
Optional
public readonly tagImmutability: boolean | IResolvable;
- Type: boolean | @alicloud/ros-cdk-core.IResolvable
Property tagImmutability: Specifies whether the repository is immutable.
Only takes effect when InstanceId is specified.