UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 61.6 kB
{"openapi":"3.0.0","info":{"title":"ContainerRegistryManagementClient","version":"2018-09-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/stable/2018-09-01/containerregistry_build.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"containerregistry-containerregistry_build","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl":{"post":{"description":"Get the upload location for the user to be able to upload the source.","operationId":"Registries_GetBuildSourceUploadUrl","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SourceUploadDefinition"},"examples":{"Registries_GetBuildSourceUploadUrl":{"$ref":"#/components/examples/Registries_GetBuildSourceUploadUrl"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."}},"tags":["Registries"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs":{"get":{"description":"Gets all the runs for a registry.","operationId":"Runs_List","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"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.","in":"query","name":"$filter","required":false,"schema":{"type":"string"},"examples":{"Runs_List":{"value":""}}},{"description":"$top is supported for get list of runs, which limits the maximum number of runs to return.","in":"query","name":"$top","required":false,"schema":{"type":"integer","format":"int32"},"examples":{"Runs_List":{"value":10}}}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunListResult"},"examples":{"Runs_List":{"$ref":"#/components/examples/Runs_List"}}}}},"default":{"description":"Error response describing why the operation failed."}},"tags":["Runs"],"x-ms-odata":"#/components/schemas/RunFilter","x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}":{"get":{"description":"Gets the detailed information for a given run.","operationId":"Runs_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The run ID.","in":"path","name":"runId","required":true,"schema":{"type":"string"},"examples":{"Runs_Get":{"value":"0accec26-d6de-4757-8e74-d080f38eaaab"}}}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Run"},"examples":{"Runs_Get":{"$ref":"#/components/examples/Runs_Get"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."}},"tags":["Runs"]},"patch":{"description":"Patch the run properties.","operationId":"Runs_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The run ID.","in":"path","name":"runId","required":true,"schema":{"type":"string"},"examples":{"Runs_Update":{"value":"0accec26-d6de-4757-8e74-d080f38eaaab"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunUpdateParameters"}}},"description":"The run update properties.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Run"},"examples":{"Runs_Update":{"$ref":"#/components/examples/Runs_Update"}}}}},"201":{"description":"The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Run"},"examples":{"Runs_Update":{"$ref":"#/components/examples/Runs_Update"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry/build doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."}},"tags":["Runs"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel":{"post":{"description":"Cancel an existing run.","operationId":"Runs_Cancel","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The run ID.","in":"path","name":"runId","required":true,"schema":{"type":"string"},"examples":{"Runs_Cancel":{"value":"0accec26-d6de-4757-8e74-d080f38eaaab"}}}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly."},"202":{"description":"The request was successfully accepted; the operation will complete asynchronously."},"default":{"description":"Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."}},"tags":["Runs"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl":{"post":{"description":"Gets a link to download the run logs.","operationId":"Runs_GetLogSasUrl","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The run ID.","in":"path","name":"runId","required":true,"schema":{"type":"string"},"examples":{"Runs_GetLogSasUrl":{"value":"0accec26-d6de-4757-8e74-d080f38eaaab"}}}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunGetLogResult"},"examples":{"Runs_GetLogSasUrl":{"$ref":"#/components/examples/Runs_GetLogSasUrl"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."}},"tags":["Runs"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun":{"post":{"description":"Schedules a new run based on the request parameters and add it to the run queue.","operationId":"Registries_ScheduleRun","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunRequest"}}},"description":"The parameters of a run that needs to scheduled.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Run"},"examples":{"Registries_ScheduleRun":{"$ref":"#/components/examples/Registries_ScheduleRun"}}}}},"202":{"description":"The request was successfully accepted; the operation will complete asynchronously."},"default":{"description":"Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."}},"tags":["Registries"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks":{"get":{"description":"Lists all the tasks for a specified container registry.","operationId":"Tasks_List","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskListResult"},"examples":{"Tasks_List":{"$ref":"#/components/examples/Tasks_List"}}}}},"default":{"description":"Error response describing why the operation failed."}},"tags":["Tasks"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}":{"delete":{"description":"Deletes a specified task.","operationId":"Tasks_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/TaskNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly."},"202":{"description":"The request was successfully accepted; the operation will complete asynchronously."},"204":{"description":"No Content - the specified resource was not found."},"default":{"description":"Error response describing why the operation failed."}},"tags":["Tasks"],"x-ms-long-running-operation":true},"get":{"description":"Get the properties of a specified task.","operationId":"Tasks_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/TaskNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"},"examples":{"Tasks_Get":{"$ref":"#/components/examples/Tasks_Get"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."}},"tags":["Tasks"]},"patch":{"description":"Updates a task with the specified parameters.","operationId":"Tasks_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/TaskNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskUpdateParameters"}}},"description":"The parameters for updating a task.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"},"examples":{"Tasks_Update":{"$ref":"#/components/examples/Tasks_Update"}}}}},"201":{"description":"The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"},"examples":{"Tasks_Update":{"$ref":"#/components/examples/Tasks_Update"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."}},"tags":["Tasks"],"x-ms-long-running-operation":true},"put":{"description":"Creates a task for a container registry with the specified parameters.","operationId":"Tasks_Create","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/TaskNameParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"}}},"description":"The parameters for creating a task.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"},"examples":{"Tasks_Create":{"$ref":"#/components/examples/Tasks_Create"}}}}},"201":{"description":"The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"},"examples":{"Tasks_Create":{"$ref":"#/components/examples/Tasks_Create"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."}},"tags":["Tasks"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails":{"post":{"description":"Returns a task with extended information that includes all secrets.","operationId":"Tasks_GetDetails","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/TaskNameParameter"}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Task"},"examples":{"Tasks_GetDetails":{"$ref":"#/components/examples/Tasks_GetDetails"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."}},"tags":["Tasks"]}}},"servers":[{"url":"https://management.azure.com/"}],"components":{"examples":{"Registries_GetBuildSourceUploadUrl":{"value":{"relativePath":"source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz","uploadUrl":"https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D"}},"Runs_List":{"value":{"value":[{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab","name":"0accec26-d6de-4757-8e74-d080f38eaaab","properties":{"agentConfiguration":{"cpu":2},"createTime":"2018-01-25T05:13:51.618Z","finishTime":"2018-01-25T06:13:51.618Z","imageUpdateTrigger":{"id":"c0c43143-da5d-41ef-b9e1-e7d749272e88","images":[{"digest":"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0","registry":"registry.hub.docker.com","repository":"mybaseimage","tag":"latest"}],"timestamp":"2018-01-25T05:13:51.618Z"},"isArchiveEnabled":true,"lastUpdatedTime":"2018-01-25T05:13:51.617Z","outputImages":[{"digest":"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0","registry":"myregistry.azurecr.io","repository":"myimage","tag":"latest"}],"platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","runId":"0accec26-d6de-4757-8e74-d080f38eaaab","runType":"AutoBuild","startTime":"2018-01-25T05:50:51.618Z","status":"Succeeded","task":"myTask"},"type":"Microsoft.ContainerRegistry/registries/runs"}]}},"Runs_Get":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab","name":"0accec26-d6de-4757-8e74-d080f38eaaab","properties":{"agentConfiguration":{"cpu":2},"createTime":"2018-01-25T05:13:51.618Z","finishTime":"2018-01-25T06:13:51.618Z","imageUpdateTrigger":{"id":"c0c43143-da5d-41ef-b9e1-e7d749272e88","images":[{"digest":"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0","registry":"registry.hub.docker.com","repository":"mybaseimage","tag":"latest"}],"timestamp":"2018-01-25T05:13:51.618Z"},"isArchiveEnabled":true,"lastUpdatedTime":"2018-01-25T05:13:51.617Z","outputImages":[{"digest":"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0","registry":"myregistry.azurecr.io","repository":"myimage","tag":"latest"}],"platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","runId":"0accec26-d6de-4757-8e74-d080f38eaaab","runType":"AutoBuild","startTime":"2018-01-25T05:50:51.618Z","status":"Succeeded","task":"myTask"},"type":"Microsoft.ContainerRegistry/registries/runs"}},"Runs_Update":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab","name":"0accec26-d6de-4757-8e74-d080f38eaaab","properties":{"agentConfiguration":{"cpu":2},"createTime":"2018-01-25T05:13:51.618Z","finishTime":"2018-01-25T06:13:51.618Z","imageUpdateTrigger":{"id":"c0c43143-da5d-41ef-b9e1-e7d749272e88","images":[{"digest":"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0","registry":"registry.hub.docker.com","repository":"mybaseimage","tag":"latest"}],"timestamp":"2018-01-25T05:13:51.618Z"},"isArchiveEnabled":true,"lastUpdatedTime":"2018-01-25T05:13:51.617Z","outputImages":[{"digest":"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0","registry":"myregistry.azurecr.io","repository":"myimage","tag":"latest"}],"platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Updating","runId":"0accec26-d6de-4757-8e74-d080f38eaaab","runType":"AutoBuild","startTime":"2018-01-25T05:50:51.618Z","status":"Succeeded","task":"myTask"},"type":"Microsoft.ContainerRegistry/registries/runs"}},"Runs_GetLogSasUrl":{"value":{"logLink":"https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D"}},"Registries_ScheduleRun":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab","name":"0accec26-d6de-4757-8e74-d080f38eaaab","properties":{"lastUpdatedTime":"2018-01-25T05:13:51.617Z","provisioningState":"Succeeded","runId":"0accec26-d6de-4757-8e74-d080f38eaaab","status":"Succeeded"},"type":"Microsoft.ContainerRegistry/registries/run"}},"Tasks_List":{"value":{"value":[{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":2},"creationDate":"2018-01-25T06:54:23.536Z","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","status":"Enabled","step":{"arguments":[{"isSecret":false,"name":"mytestargument","value":"mytestvalue"}],"contextPath":"src","dockerFilePath":"src/DockerFile","imageNames":["azurerest:testtag"],"isPushEnabled":true,"noCache":false,"type":"Docker"},"trigger":{"baseImageTrigger":{"baseImageTriggerType":"Runtime","name":"myBaseImageTrigger"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"]}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}]}},"Tasks_Get":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":2},"creationDate":"2018-01-25T06:54:23.536Z","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","status":"Enabled","step":{"arguments":[{"isSecret":false,"name":"mytestargument","value":"mytestvalue"}],"contextPath":"src","dockerFilePath":"src/DockerFile","imageNames":["azurerest:testtag"],"isPushEnabled":true,"noCache":false,"type":"Docker"},"trigger":{"baseImageTrigger":{"baseImageTriggerType":"Runtime","name":"myBaseImageTrigger"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"]}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_Update":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":3},"creationDate":"2018-01-25T06:54:23.536Z","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","status":"Enabled","step":{"arguments":[{"isSecret":false,"name":"mytestargument","value":"mytestvalue"}],"contextPath":"src","dockerFilePath":"src/DockerFile","imageNames":["azurerest:testtag1"],"isPushEnabled":true,"noCache":false,"type":"Docker"},"trigger":{"baseImageTrigger":{"baseImageTriggerType":"Runtime","name":"myBaseImageTrigger"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"]}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_Create":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":2},"creationDate":"2018-01-25T06:54:23.536Z","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Creating","status":"Enabled","step":{"arguments":[{"isSecret":false,"name":"mytestargument","value":"mytestvalue"}],"contextPath":"src","dockerFilePath":"src/DockerFile","imageNames":["azurerest:testtag"],"isPushEnabled":true,"noCache":false,"type":"Docker"},"trigger":{"baseImageTrigger":{"baseImageTriggerType":"Runtime","name":"myBaseImageTrigger"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"]}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_GetDetails":{"value":{"location":"eastus","properties":{"agentConfiguration":{"cpu":2},"platform":{"architecture":"amd64","os":"Linux"},"status":"Enabled","step":{"arguments":[{"isSecret":false,"name":"mytestargument","value":"mytestvalue"},{"isSecret":true,"name":"mysecrettestargument","value":"mysecrettestvalue"}],"contextPath":"src","dockerFilePath":"src/DockerFile","imageNames":["azurerest:testtag"],"isPushEnabled":true,"noCache":false,"type":"Docker"},"trigger":{"baseImageTrigger":{"baseImageTriggerType":"Runtime","name":"myBaseImageTrigger"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlAuthProperties":{"token":"xxxxx","tokenType":"PAT"},"sourceControlType":"Github"},"sourceTriggerEvents":["commit"]}]}},"tags":{"testkey":"value"}}}},"parameters":{"ApiVersionParameter":{"description":"The client API version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Registries_GetBuildSourceUploadUrl":{"value":"2018-09-01"},"Runs_List":{"value":"2018-09-01"},"Runs_Get":{"value":"2018-09-01"},"Runs_Update":{"value":"2018-09-01"},"Runs_Cancel":{"value":"2018-09-01"},"Runs_GetLogSasUrl":{"value":"2018-09-01"},"Registries_ScheduleRun":{"value":"2018-09-01"},"Tasks_List":{"value":"2018-09-01"},"Tasks_Delete":{"value":"2018-09-01"},"Tasks_Get":{"value":"2018-09-01"},"Tasks_Update":{"value":"2018-09-01"},"Tasks_Create":{"value":"2018-09-01"},"Tasks_GetDetails":{"value":"2018-09-01"}}},"RegistryNameParameter":{"description":"The name of the container registry.","in":"path","name":"registryName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":5,"maxLength":50,"pattern":"^[a-zA-Z0-9]*$"},"examples":{"Registries_GetBuildSourceUploadUrl":{"value":"myRegistry"},"Runs_List":{"value":"myRegistry"},"Runs_Get":{"value":"myRegistry"},"Runs_Update":{"value":"myRegistry"},"Runs_Cancel":{"value":"myRegistry"},"Runs_GetLogSasUrl":{"value":"myRegistry"},"Registries_ScheduleRun":{"value":"myRegistry"},"Tasks_List":{"value":"myRegistry"},"Tasks_Delete":{"value":"myRegistry"},"Tasks_Get":{"value":"myRegistry"},"Tasks_Update":{"value":"myRegistry"},"Tasks_Create":{"value":"myRegistry"},"Tasks_GetDetails":{"value":"myRegistry"}}},"ResourceGroupNameParameter":{"description":"The name of the resource group to which the container registry belongs.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1},"examples":{"Registries_GetBuildSourceUploadUrl":{"value":"myResourceGroup"},"Runs_List":{"value":"myResourceGroup"},"Runs_Get":{"value":"myResourceGroup"},"Runs_Update":{"value":"myResourceGroup"},"Runs_Cancel":{"value":"myResourceGroup"},"Runs_GetLogSasUrl":{"value":"myResourceGroup"},"Registries_ScheduleRun":{"value":"myResourceGroup"},"Tasks_List":{"value":"myResourceGroup"},"Tasks_Delete":{"value":"myResourceGroup"},"Tasks_Get":{"value":"myResourceGroup"},"Tasks_Update":{"value":"myResourceGroup"},"Tasks_Create":{"value":"myResourceGroup"},"Tasks_GetDetails":{"value":"myResourceGroup"}}},"SubscriptionIdParameter":{"description":"The Microsoft Azure subscription ID.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Registries_GetBuildSourceUploadUrl":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Runs_List":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Runs_Get":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Runs_Update":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Runs_Cancel":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Runs_GetLogSasUrl":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Registries_ScheduleRun":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Tasks_List":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Tasks_Delete":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Tasks_Get":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Tasks_Update":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Tasks_Create":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"},"Tasks_GetDetails":{"value":"4385cf00-2d3a-425a-832f-f4285b1c9dce"}}},"TaskNameParameter":{"description":"The name of the container registry task.","in":"path","name":"taskName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":5,"maxLength":50,"pattern":"^[a-zA-Z0-9-_]*$"},"examples":{"Tasks_Delete":{"value":"myTask"},"Tasks_Get":{"value":"myTask"},"Tasks_Update":{"value":"myTask"},"Tasks_Create":{"value":"mytTask"},"Tasks_GetDetails":{"value":"myTask"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"AgentProperties":{"description":"The properties that determine the run agent configuration.","properties":{"cpu":{"description":"The CPU configuration in terms of number of cores required for the run.","format":"int32","type":"integer"}},"type":"object"},"Argument":{"description":"The properties of a run argument.","properties":{"isSecret":{"default":false,"description":"Flag to indicate whether the argument represents a secret and want to be removed from build logs.","type":"boolean"},"name":{"description":"The name of the argument.","type":"string"},"value":{"description":"The value of the argument.","type":"string"}},"required":["name","value"],"type":"object"},"AuthInfo":{"description":"The authorization properties for accessing the source code repository.","properties":{"expiresIn":{"description":"Time in seconds that the token remains valid","format":"int32","type":"integer"},"refreshToken":{"description":"The refresh token used to refresh the access token.","type":"string"},"scope":{"description":"The scope of the access token.","type":"string"},"token":{"description":"The access token used to access the source control provider.","type":"string"},"tokenType":{"description":"The type of Auth token.","enum":["PAT","OAuth"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TokenType"}}},"required":["tokenType","token"],"type":"object"},"AuthInfoUpdateParameters":{"description":"The authorization properties for accessing the source code repository.","properties":{"expiresIn":{"description":"Time in seconds that the token remains valid","format":"int32","type":"integer"},"refreshToken":{"description":"The refresh token used to refresh the access token.","type":"string"},"scope":{"description":"The scope of the access token.","type":"string"},"token":{"description":"The access token used to access the source control provider.","type":"string"},"tokenType":{"description":"The type of Auth token.","enum":["PAT","OAuth"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TokenType"}}},"type":"object"},"BaseImageDependency":{"description":"Properties that describe a base image dependency.","properties":{"digest":{"description":"The sha256-based digest of the image manifest.","type":"string"},"registry":{"description":"The registry login server.","type":"string"},"repository":{"description":"The repository name.","type":"string"},"tag":{"description":"The tag name.","type":"string"},"type":{"description":"The type of the base image dependency.","enum":["BuildTime","RunTime"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"BaseImageDependencyType"}}},"type":"object"},"BaseImageTrigger":{"description":"The trigger based on base image dependency.","properties":{"baseImageTriggerType":{"description":"The type of the auto trigger for base image dependency updates.","enum":["All","Runtime"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"BaseImageTriggerType"}},"name":{"description":"The name of the trigger.","type":"string"},"status":{"description":"The current status of trigger.","enum":["Disabled","Enabled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TriggerStatus"}}},"required":["baseImageTriggerType","name"],"type":"object"},"BaseImageTriggerUpdateParameters":{"description":"The properties for updating base image dependency trigger.","properties":{"baseImageTriggerType":{"description":"The type of the auto trigger for base image dependency updates.","enum":["All","Runtime"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"BaseImageTriggerType"}},"name":{"description":"The name of the trigger.","type":"string"},"status":{"description":"The current status of trigger.","enum":["Disabled","Enabled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TriggerStatus"}}},"required":["name"],"type":"object"},"Credentials":{"description":"The parameters that describes a set of credentials that will be used when a run is invoked.","properties":{"customRegistries":{"additionalProperties":{"$ref":"#/components/schemas/CustomRegistryCredentials"},"description":"Describes the credential parameters for accessing other custom registries. The key\r\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\r\nthe value of the item will be the registry credentials for accessing the registry.","type":"object"},"sourceRegistry":{"$ref":"#/components/schemas/SourceRegistryCredentials"}},"type":"object"},"CustomRegistryCredentials":{"description":"Describes the credentials that will be used to access a custom registry during a run.","properties":{"password":{"$ref":"#/components/schemas/SecretObject"},"userName":{"$ref":"#/components/schemas/SecretObject"}},"type":"object"},"DockerBuildRequest":{"allOf":[{"$ref":"#/components/schemas/RunRequest"}],"description":"The parameters for a docker quick build.","properties":{"agentConfiguration":{"$ref":"#/components/schemas/AgentProperties"},"arguments":{"description":"The collection of override arguments to be used when executing the run.","items":{"$ref":"#/components/schemas/Argument"},"type":"array"},"credentials":{"$ref":"#/components/schemas/Credentials"},"dockerFilePath":{"description":"The Docker file path relative to the source location.","type":"string"},"imageNames":{"description":"The fully qualified image names including the repository and tag.","items":{"type":"string"},"type":"array"},"isPushEnabled":{"default":true,"description":"The value of this property indicates whether the image built should be pushed to the registry or not.","type":"boolean"},"noCache":{"default":false,"description":"The value of this property indicates whether the image cache is enabled or not.","type":"boolean"},"platform":{"$ref":"#/components/schemas/PlatformProperties"},"sourceLocation":{"description":"The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.","type":"string"},"target":{"description":"The name of the target build stage for the docker build.","type":"string"},"timeout":{"default":3600,"description":"Run timeout in seconds.","format":"int32","maximum":28800,"minimum":300,"type":"integer"}},"required":["type","dockerFilePath","platform"],"type":"object","x-ms-discriminator-value":"DockerBuildRequest"},"DockerBuildStep":{"allOf":[{"$ref":"#/components/schemas/TaskStepProperties"}],"description":"The Docker build step.","properties":{"arguments":{"description":"The collection of override arguments to be used when executing this build step.","items":{"$ref":"#/components/schemas/Argument"},"type":"array"},"dockerFilePath":{"description":"The Docker file path relative to the source context.","type":"string"},"imageNames":{"description":"The fully qualified image names including the repository and tag.","items":{"type":"string"},"type":"array"},"isPushEnabled":{"default":true,"description":"The value of this property indicates whether the image built should be pushed to the registry or not.","type":"boolean"},"noCache":{"default":false,"description":"The value of this property indicates whether the image cache is enabled or not.","type":"boolean"},"target":{"description":"The name of the target build stage for the docker build.","type":"string"}},"required":["dockerFilePath"],"type":"object","x-ms-discriminator-value":"Docker"},"DockerBuildStepUpdateParameters":{"allOf":[{"$ref":"#/components/schemas/TaskStepUpdateParameters"}],"description":"The properties for updating a docker build step.","properties":{"arguments":{"description":"The collection of override arguments to be used when executing this build step.","items":{"$ref":"#/components/schemas/Argument"},"type":"array"},"dockerFilePath":{"description":"The Docker file path relative to the source context.","type":"string"},"imageNames":{"description":"The fully qualified image names including the repository and tag.","items":{"type":"string"},"type":"array"},"isPushEnabled":{"description":"The value of this property indicates whether the image built should be pushed to the registry or not.","type":"boolean"},"noCache":{"description":"The value of this property indicates whether the image cache is enabled or not.","type":"boolean"},"target":{"description":"The name of the target build stage for the docker build.","type":"string"}},"type":"object","x-ms-discriminator-value":"Docker"},"EncodedTaskRunRequest":{"allOf":[{"$ref":"#/components/schemas/RunRequest"}],"description":"The parameters for a quick task run request.","properties":{"agentConfiguration":{"$ref":"#/components/schemas/AgentProperties"},"credentials":{"$ref":"#/components/schemas/Credentials"},"encodedTaskContent":{"description":"Base64 encoded value of the template/definition file content.","type":"string"},"encodedValuesContent":{"description":"Base64 encoded value of the parameters/values file content.","type":"string"},"platform":{"$ref":"#/components/schemas/PlatformProperties"},"sourceLocation":{"description":"The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.","type":"string"},"timeout":{"default":3600,"description":"Run timeout in seconds.","format":"int32","maximum":28800,"minimum":300,"type":"integer"},"values":{"description":"The collection of overridable values that can be passed when running a task.","items":{"$ref":"#/components/schemas/SetValue"},"type":"array"}},"required":["type","encodedTaskContent","platform"],"type":"object","x-ms-discriminator-value":"EncodedTaskRunRequest"},"EncodedTaskStep":{"allOf":[{"$ref":"#/components/schemas/TaskStepProperties"}],"description":"The properties of a encoded task step.","properties":{"encodedTaskContent":{"description":"Base64 encoded value of the template/definition file content.","type":"string"},"encodedValuesContent":{"description":"Base64 encoded value of the parameters/values file content.","type":"string"},"values":{"description":"The collection of overridable values that can be passed when running a task.","items":{"$ref":"#/components/schemas/SetValue"},"type":"array"}},"required":["encodedTaskContent"],"type":"object","x-ms-discriminator-value":"EncodedTask"},"EncodedTaskStepUpdateParameters":{"allOf":[{"$ref":"#/components/schemas/TaskStepUpdateParameters"}],"description":"The properties for updating encoded task step.","properties":{"encodedTaskContent":{"description":"Base64 encoded value of the template/definition file content.","type":"string"},"encodedValuesContent":{"description":"Base64 encoded value of the parameters/values file content.","type":"string"},"values":{"description":"The collection of overridable values that can be passed when running a task.","items":{"$ref":"#/components/schemas/SetValue"},"type":"array"}},"type":"object","x-ms-discriminator-value":"EncodedTask"},"FileTaskRunRequest":{"allOf":[{"$ref":"#/components/schemas/RunRequest"}],"description":"The request parameters for a scheduling run against a task file.","properties":{"agentConfiguration":{"$ref":"#/components/schemas/AgentProperties"},"credentials":{"$ref":"#/components/schemas/Credentials"},"platform":{"$ref":"#/components/schemas/PlatformProperties"},"sourceLocation":{"description":"The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.","type":"string"},"taskFilePath":{"description":"The template/definition file path relative to the source.","type":"string"},"timeout":{"default":3600,"description":"Run timeout in seconds.","format":"int32","maximum":28800,"minimum":300,"type":"integer"},"values":{"description":"The collection of overridable values that can be passed when running a task.","items":{"$ref":"#/components/schemas/SetValue"},"type":"array"},"valuesFilePath":{"description":"The values/parameters file path relative to the source.","type":"string"}},"required":["type","taskFilePath","platform"],"type":"object","x-ms-discriminator-value":"FileTaskRunRequest"},"FileTaskStep":{"allOf":[{"$ref":"#/components/schemas/TaskStepProperties"}],"description":"The properties of a task step.","properties":{"taskFilePath":{"description":"The task template/definition file path relative to the source context.","type":"string"},"values":{"description":"The collection of overridable values that can be passed when running a task.","items":{"$ref":"#/components/schemas/SetValue"},"type":"array"},"valuesFilePath":{"description":"The task values/parameters file path relative to the source context.","type":"string"}},"required":["taskFilePath"],"type":"object","x-ms-discriminator-value":"FileTask"},"FileTaskStepUpdateParameters":{"allOf":[{"$ref":"#/components/schemas/TaskStepUpdateParameters"}],"description":"The properties of updating a task step.","properties":{"taskFilePath":{"description":"The task template/definition file path relative to the source context.","type":"string"},"values":{"description":"The collection of overridable values that can be passed when running a task.","items":{"$ref":"#/components/schemas/SetValue"},"type":"array"},"valuesFilePath":{"description":"The values/parameters file path relative to the source context.","type":"string"}},"type":"object","x-ms-discriminator-value":"FileTask"},"ImageDescriptor":{"description":"Properties for a registry image.","properties":{"digest":{"description":"The sha256-based digest of the image manifest.","type":"string"},"registry":{"description":"The registry login server.","type":"string"},"repository":{"description":"The repository name.","type":"string"},"tag":{"description":"The tag name.","type":"string"}},"type":"object"},"ImageUpdateTrigger":{"description":"The image update trigger that caused a build.","properties":{"id":{"description":"The unique ID of the trigger.","type":"string"},"images":{"description":"The list of image updates that caused the build.","items":{"$ref":"#/components/schemas/ImageDescriptor"},"type":"array"},"timestamp":{"description":"The timestamp when the image update happened.","format":"date-time","type":"string"}},"type":"object"},"PlatformProperties":{"description":"The platform properties against which the run has to happen.","properties":{"architecture":{"description":"The OS architecture.","enum":["amd64","x86","arm"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Architecture"}},"os":{"description":"The operating system type required for the run.","enum":["Windows","Linux"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"OS"}},"variant":{"description":"Variant of the CPU.","enum":["v6","v7","v8"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Variant"}}},"required":["os"],"type":"object"},"PlatformUpdateParameters":{"description":"The properties for updating the platform configuration.","properties":{"architecture":{"description":"The OS architecture.","enum":["amd64","x86","arm"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Architecture"}},"os":{"description":"The operating system type required for the run.","enum":["Windows","Linux"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"OS"}},"variant":{"description":"Variant of the CPU.","enum":["v6","v7","v8"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"Variant"}}},"type":"object"},"ProxyResource":{"description":"The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.","properties":{"id":{"description":"The resource ID.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true},"Resource":{"description":"An Azure resource.","properties":{"id":{"description":"The resource ID.","readOnly":true,"type":"string"},"location":{"description":"The location of the resource. This cannot be changed after the resource is created.","type":"string","x-ms-mutability":["read","create"]},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"The tags of the resource.","type":"object"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"required":["location"],"x-ms-azure-resource":true},"Run":{"allOf":[{"$ref":"#/components/schemas/ProxyResource"}],"description":"Run resource properties","properties":{"properties":{"$ref":"#/components/schemas/RunProperties"}},"type":"object"},"RunFilter":{"description":"Properties that are enabled for Odata querying on runs.","properties":{"createTime":{"description":"The create time for a run.","format":"date-time","type":"string"},"finishTime":{"description":"The time the run finished.","format":"date-time","type":"string"},"isArchiveEnabled":{"description":"The value that indicates whether archiving is enabled or not.","type":"boolean"},"outputImageManifests":{"description":"The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of\r\nbuild type.","type":"string"},"runId":{"description":"The unique identifier for the run.","type":"string"},"runType":{"description":"The type of run.","enum":["QuickBuild","QuickRun","AutoBuild","AutoRun"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"RunType"}},"status":{"description":"The current status of the run.","enum":["Queued","Started","Running","Succeeded","Failed","Canceled","Error","Timeout"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"RunStatus"}},"taskName":{"description":"The name of the task that the run corresponds to.","type":"string"}},"type":"object"},"RunGetLogResult":{"description":"The result of get log link operation.","properties":{"logLink":{"description":"The link to logs for a run on a azure container registry.","type":"string"}},"type":"object"},"RunListResult":{"description":"Collection of runs.","properties":{"nextLink":{"description":"The URI that can be used to request the next set of paged results.","type":"string"},"value":{"description":"The collection value.","items":{"$ref":"#/components/schemas/Run"},"type":"array"}},"type":"object"},"RunProperties":{"description":"The properties for a run.","properties":{"agentConfiguration":{"$ref":"#/components/schemas/AgentProperties"},"createTime":{"description":"The time the run was scheduled.","format":"date-time","type":"string"},"customRegistries":{"description":"The list of custom registries that were logged in during this run.","items":{"type":"string"},"type":"array"},"finishTime":{"description":"The time the run finished.","format":"date-time","type":"string"},"imageUpdateTrigger":{"$ref":"#/components/schemas/ImageUpdateTrigger"},"isArchiveEnabled":{"default":false,"description":"The value that indicates whether archiving is enabled or not.","type":"boolean"},"lastUpdatedTime":{"description":"The last updated time for the run.","format":"date-time","type":"string"},"outputImages":{"description":"The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.","items":{"$ref":"#/components/schemas/ImageDescriptor"},"type":"array"},"platform":{"$ref":"#/components/schemas/PlatformProperties"},"provisioningState":{"description":"The provisioning state of a run.","enum":["Creating","Updating","Deleting","Succeeded","Failed","Canceled"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ProvisioningState"}},"runId":{"description":"The unique identifier for the run.","type":"string"},"runType":{"description":"The type of run.","enum":["QuickBuild","QuickRun","AutoBuild","AutoRun"],"type":"string","