{"files":{"SKILL.md":"---\nname: containerregistrymanagementclient\ndescription: \"ContainerRegistryManagementClient API skill. Use when working with ContainerRegistryManagementClient for subscriptions. Covers 25 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# ContainerRegistryManagementClient\nAPI version: 2019-06-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com/\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName} -- gets the detailed information for a given agent pool.\n3. POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus -- create first listQueueStatus\n\n## Endpoints\n25 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName} | Gets the detailed information for a given agent pool. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName} | Creates an agent pool for a container registry with the specified parameters. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName} | Deletes a specified agent pool resource. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName} | Updates an agent pool with the specified parameters. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools | Lists all the agent pools for a specified container registry. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus | Gets the count of queued runs for a given agent pool. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun | Schedules a new run based on the request parameters and add it to the run queue. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl | Get the upload location for the user to be able to upload the source. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs | Gets all the runs for a registry. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId} | Gets the detailed information for a given run. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId} | Patch the run properties. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl | Gets a link to download the run logs. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel | Cancel an existing run. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName} | Gets the detailed information for a given task run. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName} | Creates a task run for a container registry with the specified parameters. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName} | Deletes a specified task run resource. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName} | Updates a task run with the specified parameters. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}/listDetails | Gets the detailed information for a given task run that includes all secrets. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns | Lists all the task runs for a specified container registry. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks | Lists all the tasks for a specified container registry. |\n| GET | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName} | Get the properties of a specified task. |\n| PUT | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName} | Creates a task for a container registry with the specified parameters. |\n| DELETE | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName} | Deletes a specified task. |\n| PATCH | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName} | Updates a task with the specified parameters. |\n| POST | /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails | Returns a task with extended information that includes all secrets. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Get agentPool details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n- \"Update a agentPool?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n- \"Delete a agentPool?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n- \"Partially update a agentPool?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n- \"List all agentPools?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools\n- \"Create a listQueueStatus?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus\n- \"Create a scheduleRun?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun\n- \"Create a listBuildSourceUploadUrl?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl\n- \"List all runs?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs\n- \"Get run details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\n- \"Partially update a run?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\n- \"Create a listLogSasUrl?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl\n- \"Create a cancel?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel\n- \"Get taskRun details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n- \"Update a taskRun?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n- \"Delete a taskRun?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n- \"Partially update a taskRun?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n- \"Create a listDetail?\" -> POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}/listDetails\n- \"List all taskRuns?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns\n- \"List all tasks?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks\n- \"Get task details?\" -> GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n- \"Update a task?\" -> PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n- \"Delete a task?\" -> DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n- \"Partially update a task?\" -> PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api ContainerRegistryManagementClient\n@base https://management.azure.com/\n@version 2019-06-01-preview\n@auth OAuth2\n@common_fields {subscriptionId: any # The Microsoft Azure subscription ID., resourceGroupName: any # The name of the resource group to which the container registry belongs., registryName: any # The name of the container registry., api-version: any # The client API version.}\n@endpoints 25\n@hint download_for_search\n@toc subscriptions(25)\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n@desc Gets the detailed information for a given agent pool.\n@required {agentPoolName: any # The name of the agent pool.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n@desc Creates an agent pool for a container registry with the specified parameters.\n@required {agentPoolName: any # The name of the agent pool., agentPool: map # The parameters of an agent pool that needs to scheduled.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(201) The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n@desc Deletes a specified agent pool resource.\n@required {agentPoolName: any # The name of the agent pool.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(202) The request was successfully accepted; the operation will complete asynchronously.\n@returns(204) No Content - the specified resource was not found.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}\n@desc Updates an agent pool with the specified parameters.\n@required {agentPoolName: any # The name of the agent pool., updateParameters: map # The parameters for updating an agent pool.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(201) The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools\n@desc Lists all the agent pools for a specified container registry.\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/agentPools/{agentPoolName}/listQueueStatus\n@desc Gets the count of queued runs for a given agent pool.\n@required {agentPoolName: any # The name of the agent pool.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun\n@desc Schedules a new run based on the request parameters and add it to the run queue.\n@required {runRequest: map # The parameters of a run that needs to scheduled.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(202) The request was successfully accepted; the operation will complete asynchronously.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl\n@desc Get the upload location for the user to be able to upload the source.\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs\n@desc Gets all the runs for a registry.\n@optional {$filter: any # The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed., $top: any # $top is supported for get list of runs, which limits the maximum number of runs to return.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\n@desc Gets the detailed information for a given run.\n@required {runId: any # The run ID.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}\n@desc Patch the run properties.\n@required {runId: any # The run ID., runUpdateParameters: map # The run update properties.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(201) The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl\n@desc Gets a link to download the run logs.\n@required {runId: any # The run ID.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel\n@desc Cancel an existing run.\n@required {runId: any # The run ID.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(202) The request was successfully accepted; the operation will complete asynchronously.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n@desc Gets the detailed information for a given task run.\n@required {taskRunName: any # The name of the task run.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n@desc Creates a task run for a container registry with the specified parameters.\n@required {taskRunName: any # The name of the task run., taskRun: map # The parameters of a run that needs to scheduled.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(201) The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n@desc Deletes a specified task run resource.\n@required {taskRunName: any # The name of the task run.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(202) The request was successfully accepted; the operation will complete asynchronously.\n@returns(204) No Content - the specified resource was not found.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}\n@desc Updates a task run with the specified parameters.\n@required {taskRunName: any # The name of the task run., updateParameters: map # The parameters for updating a task run.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(201) The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}/listDetails\n@desc Gets the detailed information for a given task run that includes all secrets.\n@required {taskRunName: any # The name of the task run.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns\n@desc Lists all the task runs for a specified container registry.\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks\n@desc Lists all the tasks for a specified container registry.\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n@desc Get the properties of a specified task.\n@required {taskName: any # The name of the container registry task.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n@desc Creates a task for a container registry with the specified parameters.\n@required {taskName: any # The name of the container registry task., taskCreateParameters: map # The parameters for creating a task.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(201) The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n@desc Deletes a specified task.\n@required {taskName: any # The name of the container registry task.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(202) The request was successfully accepted; the operation will complete asynchronously.\n@returns(204) No Content - the specified resource was not found.\n\n@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}\n@desc Updates a task with the specified parameters.\n@required {taskName: any # The name of the container registry task., taskUpdateParameters: map # The parameters for updating a task.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n@returns(201) The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails\n@desc Returns a task with extended information that includes all secrets.\n@required {taskName: any # The name of the container registry task.}\n@returns(200) The request was successful; the request was well-formed and received properly.\n\n@end\n"}}