Microsoft.ContainerRegistry (preview:2019-06-01)

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

AgentPools_Get (new)
Description Gets the detailed information for a given agent pool.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_Create (new)
Description Creates an agent pool for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
agentPoolName: string ,
agentPool:
{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_Delete (new)
Description Deletes a specified agent pool resource.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_Update (new)
Description Updates an agent pool with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
agentPoolName: string ,
updateParameters:
{
properties:
{
count: integer ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_List (new)
Description Lists all the agent pools for a specified container registry.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_GetQueueStatus (new)
Description Gets the count of queued runs for a given agent pool.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
count: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
logTemplate: string ,
}
,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (201)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
logArtifactLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Get (new)
Description Gets the detailed information for a given task run.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Create (new)
Description Creates a task run for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskRunName: string ,
taskRun:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Delete (new)
Description Deletes a specified task run resource.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Update (new)
Description Updates a task run with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskRunName: string ,
updateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
forceUpdateTag: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_GetDetails (new)
Description Gets the detailed information for a given task run that includes all secrets.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_List (new)
Description Lists all the task runs for a specified container registry.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}
,
}

⚐ 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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ 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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
}
,
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ 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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_Get (removed)
Description Gets the detailed information for a given agent pool.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_Create (removed)
Description Creates an agent pool for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
agentPoolName: string ,
agentPool:
{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_Delete (removed)
Description Deletes a specified agent pool resource.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_Update (removed)
Description Updates an agent pool with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
agentPoolName: string ,
updateParameters:
{
properties:
{
count: integer ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_List (removed)
Description Lists all the agent pools for a specified container registry.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
count: integer ,
tier: string ,
os: enum ,
virtualNetworkSubnetResourceId: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
AgentPools_GetQueueStatus (removed)
Description Gets the count of queued runs for a given agent pool.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
count: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
logTemplate: string ,
}
,
}

⚐ Response (200)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (201)

{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
logArtifactLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Get (removed)
Description Gets the detailed information for a given task run.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Create (removed)
Description Creates a task run for a container registry with the specified parameters.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskRunName: string ,
taskRun:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Delete (removed)
Description Deletes a specified task run resource.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_Update (removed)
Description Updates a task run with the specified parameters.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}
{
subscriptionId: string ,
resourceGroupName: string ,
registryName: string ,
api-version: string ,
taskRunName: string ,
updateParameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
forceUpdateTag: string ,
}
,
location: string ,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_GetDetails (removed)
Description Gets the detailed information for a given task run that includes all secrets.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
TaskRuns_List (removed)
Description Lists all the task runs for a specified container registry.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
properties:
{
provisioningState: enum ,
runRequest:
{
type: string ,
isArchiveEnabled: boolean ,
agentPoolName: string ,
logTemplate: string ,
}
,
runResult:
{
properties:
{
runId: string ,
status: enum ,
lastUpdatedTime: string ,
runType: enum ,
agentPoolName: string ,
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 ,
}
,
timerTrigger:
{
timerTriggerName: string ,
scheduleOccurrence: string ,
}
,
platform:
{
os: enum ,
architecture: enum ,
variant: enum ,
}
,
agentConfiguration:
{
cpu: integer ,
}
,
sourceRegistryAuth: string ,
customRegistries:
[
string ,
]
,
runErrorMessage: string ,
updateTriggerToken: string ,
logArtifact:
{
registry: string ,
repository: string ,
tag: string ,
digest: string ,
}
,
provisioningState: enum ,
isArchiveEnabled: boolean ,
}
,
}
,
forceUpdateTag: string ,
}
,
location: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}
,
}

⚐ 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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ 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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
}
,
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ 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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}
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 ,
}
,
agentPoolName: string ,
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 ,
updateTriggerEndpoint: string ,
updateTriggerPayloadType: enum ,
status: enum ,
name: string ,
}
,
}
,
credentials:
{
sourceRegistry:
{
loginMode: enum ,
}
,
customRegistries: object ,
}
,
logTemplate: string ,
isSystemTask: boolean ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
}
,
]
,
}
,
}