You can call the ListAcrImageRepositories operation to query a list of image repositories in ACR.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
computenestsupplier:ListAcrImageRepositories |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MaxResults |
integer |
No |
The number of entries to return on each page for a paged query. The maximum value is 100. The default value is 20. |
20 |
| NextToken |
string |
No |
The token that is used to start the next query. |
AAAAAWns8w4MmhzeptXVRG0PUEU= |
| RepoName |
string |
No |
The name of the image repository. |
wordpress |
| ArtifactType |
string |
No |
The type of the artifact. The default value is AcrImage. Valid values:
|
AcrImage |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C4A145D8-6F6C-532A-9001-9730CDA27578 |
| NextToken |
string |
The token that is used to start the next query. |
AAAAAfu+XtuBE55iRLHEYYuojI4= |
| MaxResults |
integer |
The number of entries returned per page. The maximum value is 100. The default value is 20. |
20 |
| TotalCount |
integer |
The total number of entries. |
4 |
| Repositories |
array<object> |
The list of repositories. |
|
|
object |
A repository. |
||
| RepoId |
string |
The repository ID. |
crr-3gqhkza0wbxxxxxx |
| RepoName |
string |
The repository name. |
wordpress |
| RepoType |
string |
The type of the repository. Valid values: Public and Private. |
Public |
| CreateTime |
string |
The time when the repository was created. |
2021-05-20T00:00:00Z |
| ModifiedTime |
string |
The time when the repository was last modified. |
2021-05-20T00:00:00Z |
| Namespace |
string |
The namespace. |
computenest |
Examples
Success response
JSON format
{
"RequestId": "C4A145D8-6F6C-532A-9001-9730CDA27578",
"NextToken": "AAAAAfu+XtuBE55iRLHEYYuojI4=",
"MaxResults": 20,
"TotalCount": 4,
"Repositories": [
{
"RepoId": "crr-3gqhkza0wbxxxxxx",
"RepoName": "wordpress",
"RepoType": "Public",
"CreateTime": "2021-05-20T00:00:00Z",
"ModifiedTime": "2021-05-20T00:00:00Z",
"Namespace": "computenest"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.