Microsoft.ContainerRegistry (stable:2019-04-01)

2025/09/04 • 13 new, 13 deleted methods

Registries_ScheduleRun (new)
Description Schedules a new run based on the request parameters and add it to the run queue.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{}
Registries_GetBuildSourceUploadUrl (new)
Description Get the upload location for the user to be able to upload the source.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
}

⚐ Response (200)

{
uploadUrl: string ,
relativePath: string ,
}

⚐ Response (default)

{}
Runs_List (new)
Description Gets all the runs for a registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
$filter: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
Runs_Get (new)
Description Gets the detailed information for a given run.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (default)

{}
Runs_Update (new)
Description Patch the run properties.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
runUpdateParameters:
{
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (default)

{}
Runs_GetLogSasUrl (new)
Description Gets a link to download the run logs.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
}

⚐ Response (200)

{
logLink: string ,
}

⚐ Response (default)

{}
Runs_Cancel (new)
Description Cancel an existing run.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{}
Tasks_List (new)
Description Lists all the tasks for a specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
Tasks_Get (new)
Description Get the properties of a specified task.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}
Tasks_Create (new)
Description Creates a task for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
taskCreateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}
Tasks_Delete (new)
Description Deletes a specified task.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{}
Tasks_Update (new)
Description Updates a task with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
taskUpdateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}
Tasks_GetDetails (new)
Description Returns a task with extended information that includes all secrets.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}
Registries_ScheduleRun (removed)
Description Schedules a new run based on the request parameters and add it to the run queue.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{}
Registries_GetBuildSourceUploadUrl (removed)
Description Get the upload location for the user to be able to upload the source.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
}

⚐ Response (200)

{
uploadUrl: string ,
relativePath: string ,
}

⚐ Response (default)

{}
Runs_List (removed)
Description Gets all the runs for a registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
$filter: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
Runs_Get (removed)
Description Gets the detailed information for a given run.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (default)

{}
Runs_Update (removed)
Description Patch the run properties.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
runUpdateParameters:
{
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (201)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
createTime: string ,
startTime: string ,
finishTime: string ,
outputImages:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
task: string ,
imageUpdateTrigger:
{
id: string ,
timestamp: string ,
images:
[
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
}
,
sourceTrigger:
{
id: string ,
eventType: string ,
commitId: string ,
pullRequestId: string ,
repositoryUrl: string ,
branchName: string ,
providerType: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
provisioningState: enum ,
isArchiveEnabled: boolean ,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
}
,
}

⚐ Response (default)

{}
Runs_GetLogSasUrl (removed)
Description Gets a link to download the run logs.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
}

⚐ Response (200)

{
logLink: string ,
}

⚐ Response (default)

{}
Runs_Cancel (removed)
Description Cancel an existing run.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
runId: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{}
Tasks_List (removed)
Description Lists all the tasks for a specified container registry.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{}
Tasks_Get (removed)
Description Get the properties of a specified task.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}
Tasks_Create (removed)
Description Creates a task for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
taskCreateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}
Tasks_Delete (removed)
Description Deletes a specified task.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{}
Tasks_Update (removed)
Description Updates a task with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
taskUpdateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}
Tasks_GetDetails (removed)
Description Returns a task with extended information that includes all secrets.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
creationDate: string ,
status: enum ,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
timeout: integer ,
step:
{
type: enum ,
baseImageDependencies:
[
{
type: enum ,
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
]
,
contextPath: string ,
contextAccessToken: string ,
}
,
trigger:
{
timerTriggers:
[
{
schedule: string ,
status: enum ,
name: string ,
}
,
]
,
sourceTriggers:
[
{
sourceRepository:
{
sourceControlType: enum ,
repositoryUrl: string ,
branch: string ,
sourceControlAuthProperties:
{
tokenType: enum ,
token: string ,
refreshToken: string ,
scope: string ,
expiresIn: integer ,
}
,
}
,
sourceTriggerEvents:
[
string ,
]
,
status: enum ,
name: string ,
}
,
]
,
baseImageTrigger:
{
baseImageTriggerType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
}
,
}

⚐ Response (default)

{}