DATASOURCE::CR::Repositories queries information about image repositories.
Syntax
{
"Type": "DATASOURCE::CR::Repositories",
"Properties": {
"Status": String,
"RepoNamespace": String,
"RefreshOptions": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
Status |
String |
No |
Yes |
The status of the image repository. |
None. |
|
RepoNamespace |
String |
No |
Yes |
The namespace of the image repository. |
None. |
|
RefreshOptions |
String |
No |
Yes |
The refresh policy for data source resources when the stack is updated. |
Valid values:
|
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 namespace of the image repository. |
None. |
|
RepoName |
String |
The name of the image repository. |
None. |
|
RepoOriginType |
String |
The origin type of the image repository. |
None. |
|
RepoBuildType |
String |
The build method of the image repository. |
Valid values:
|
|
RepoType |
String |
The visibility type of the image repository. |
None. |
|
RepoStatus |
String |
The status of the image repository. |
None. |
|
RepoAuthorizeType |
String |
The authorization type of the image repository. |
None. |
|
RegionId |
String |
The region ID. |
None. |
|
RepoDomainList |
List |
The domain names of the image repository. |
Example: |
|
Stars |
Number |
The number of stars for the image repository. |
None. |
|
Downloads |
Number |
The download count of the image repository. |
None. |
|
Logo |
String |
The logo URL of the image repository. |
None. |
|
GmtCreate |
String |
The creation time of the image repository. |
None. |
|
GmtModified |
String |
The last modification time of the image repository. |
None. |
Examples
JSON 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"
]
}
}
}
}
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