Skip to content

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.

repoNameRequired

public readonly repoName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property repoName: The name of the repository.


repoNamespaceRequired

public readonly repoNamespace: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


repoTypeRequired

public readonly repoType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property repoType: The type of the repository.

Valid values: PUBLIC, PRIVATE.


summaryRequired

public readonly summary: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property summary: The summary of the repository.


detailOptional

public readonly detail: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property detail: The description of the repository.


instanceIdOptional

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.


repoSourceOptional

public readonly repoSource: IResolvable | RepoSourceProperty;

Property repoSource: Code Source message.


tagImmutabilityOptional

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.