Unlock the Power of AI

1 million free tokens

88% Price Reduction

Activate Now

DATASOURCE::CR::Repositories

Updated at: 2024-11-01 05:53

DATASOURCE::CR::Repositories is used to query the information about image repositories.

Syntax

{
  "Type": "DATASOURCE::CR::Repositories",
  "Properties": {
    "Status": String,
    "RepoNamespace": String,
    "RefreshOptions": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Property

Type

Required

Editable

Description

Constraint

Status

String

No

Yes

The status of the image repository.

None.

RepoNamespace

String

No

Yes

The name of the namespace to which the image repository belongs.

None.

RefreshOptions

String

No

Yes

The refresh policy for data source resources when the stack is updated.

Valid values:

  • Never (default): does not refresh data source resources when the stack is updated.

  • Always: refreshes data source resources when the stack is updated.

Return values (Fn::GetAtt)

  • Repos: details of the image repositories.

  • RepoNames: the names of the image repositories.

Property

Type

Description

Constraint

RepoNames

List

The names of the image repositories.

None.

Repos

List

Details of the image repositories.

None.

Summary

String

The summary of the image repository.

None.

RepoId

String

The unique ID of the image repository.

None.

RepoNamespace

String

The name of the namespace to which the image repository belongs.

None.

RepoName

String

The name of the image repository.

None.

RepoOriginType

String

The type of the image repository.

None.

RepoBuildType

String

The build type of the image repository.

Valid values:

  • AUTO: The image repository is automatically built.

  • MANUAL: The image repository is manually built.

RepoType

String

The type of the image repository.

None.

RepoStatus

String

The status of the image repository.

None.

RepoAuthorizeType

String

The permission type of the image repository.

None.

RegionId

String

The region.

None.

RepoDomainList

List

The domain names of the image repository.

Example: { "Internal": "registry-internal.cn-XXXXXXX.aliyuncs.com", "Vpc": "registry-vpc.cn-XXXXXXX.aliyuncs.com", "Public": "registry.cn-XXXXXXX.aliyuncs.com" }.

Stars

Number

The number of likes.

None.

Downloads

Number

The number of downloads from the image repository.

None.

Logo

String

The icon of the image repository.

None.

GmtCreate

String

The time when the image repository was created.

None.

GmtModified

String

The time when the image repository was modified.

None.

Examples

JSON format
YAML format
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "RepoNamespace": {
      "Type": "String",
      "Description": "The namespace of repository."
    }
  },
  "Resources": {
    "Repositories": {
      "Type": "DATASOURCE::CR::Repositories",
      "Properties": {
        "RepoNamespace": {
          "Ref": "RepoNamespace"
        }
      }
    }
  },
  "Outputs": {
    "Repos": {
      "Description": "The list of repositories.",
      "Value": {
        "Fn::GetAtt": [
          "Repositories",
          "Repos"
        ]
      }
    },
    "RepoNames": {
      "Description": "The list of repository names.",
      "Value": {
        "Fn::GetAtt": [
          "Repositories",
          "RepoNames"
        ]
      }
    }
  }
}
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  RepoNamespace:
    Type: String
    Description: The namespace of repository.
Resources:
  Repositories:
    Type: DATASOURCE::CR::Repositories
    Properties:
      RepoNamespace:
        Ref: RepoNamespace
Outputs:
  Repos:
    Description: The list of repositories.
    Value:
      Fn::GetAtt:
        - Repositories
        - Repos
  RepoNames:
    Description: The list of repository names.
    Value:
      Fn::GetAtt:
        - Repositories
        - RepoNames
  • On this page (1, T)
  • Syntax
  • Properties
  • Return values (Fn::GetAtt)
  • Examples
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare