openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 102 kB
JSON
{"openapi":"3.0.0","info":{"title":"ContainerRegistryManagementClient","version":"2019-06-01-preview","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/preview/2019-06-01-preview/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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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"},"Registries_ScheduleRun_EncodedTaskRun":{"$ref":"#/components/examples/Registries_ScheduleRun_EncodedTaskRun"},"Registries_ScheduleRun_FileTaskRun":{"$ref":"#/components/examples/Registries_ScheduleRun_FileTaskRun"},"Registries_ScheduleRun_Task":{"$ref":"#/components/examples/Registries_ScheduleRun_Task"},"Registries_ScheduleRun_Task_WithCustomCredentials":{"$ref":"#/components/examples/Registries_ScheduleRun_Task_WithCustomCredentials"},"Registries_ScheduleRun_WithCustomCredentials":{"$ref":"#/components/examples/Registries_ScheduleRun_WithCustomCredentials"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"tags":["Registries"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns":{"get":{"description":"Lists all the task runs for a specified container registry.","operationId":"TaskRuns_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/TaskRunListResult"},"examples":{"TaskRuns_List":{"$ref":"#/components/examples/TaskRuns_List"}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"tags":["TaskRuns"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/taskRuns/{taskRunName}":{"delete":{"description":"Deletes a specified task run resource.","operationId":"TaskRuns_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The task run name.","in":"path","name":"taskRunName","required":true,"schema":{"type":"string"},"examples":{"TaskRuns_Delete":{"value":"myRun"}}}],"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"tags":["TaskRuns"],"x-ms-long-running-operation":true},"get":{"description":"Gets the detailed information for a given task run.","operationId":"TaskRuns_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The run request name.","in":"path","name":"taskRunName","required":true,"schema":{"type":"string"},"examples":{"TaskRuns_Get":{"value":"myRun"}}}],"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRun"},"examples":{"TaskRuns_Get":{"$ref":"#/components/examples/TaskRuns_Get"}}}}},"default":{"description":"Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"tags":["TaskRuns"]},"patch":{"description":"Updates a task run with the specified parameters.","operationId":"TaskRuns_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The task run name.","in":"path","name":"taskRunName","required":true,"schema":{"type":"string"},"examples":{"TaskRuns_Update":{"value":"myRun"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRunUpdateParameters"}}},"description":"The parameters for updating a task run.","required":true},"responses":{"200":{"description":"The request was successful; the request was well-formed and received properly.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRun"},"examples":{"TaskRuns_Update":{"$ref":"#/components/examples/TaskRuns_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/TaskRun"},"examples":{"TaskRuns_Update":{"$ref":"#/components/examples/TaskRuns_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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"tags":["TaskRuns"],"x-ms-long-running-operation":true},"put":{"description":"Creates a task run for a container registry with the specified parameters.","operationId":"TaskRuns_Create","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/RegistryNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"description":"The name of task run.","in":"path","name":"taskRunName","required":true,"schema":{"type":"string"},"examples":{"TaskRuns_Create":{"value":"myRun"}}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskRun"}}},"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/TaskRun"},"examples":{"TaskRuns_Create":{"$ref":"#/components/examples/TaskRuns_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/TaskRun"},"examples":{"TaskRuns_Create":{"$ref":"#/components/examples/TaskRuns_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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"tags":["TaskRuns"],"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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"},"Tasks_Update_WithKeyVaultCustomCredentials":{"$ref":"#/components/examples/Tasks_Update_WithKeyVaultCustomCredentials"},"Tasks_Update_WithMSICustomCredentials":{"$ref":"#/components/examples/Tasks_Update_WithMSICustomCredentials"},"Tasks_Update_WithOpaqueCustomCredentials":{"$ref":"#/components/examples/Tasks_Update_WithOpaqueCustomCredentials"}}}}},"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"},"Tasks_Update_WithKeyVaultCustomCredentials":{"$ref":"#/components/examples/Tasks_Update_WithKeyVaultCustomCredentials"},"Tasks_Update_WithMSICustomCredentials":{"$ref":"#/components/examples/Tasks_Update_WithMSICustomCredentials"},"Tasks_Update_WithOpaqueCustomCredentials":{"$ref":"#/components/examples/Tasks_Update_WithOpaqueCustomCredentials"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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"},"Tasks_Create_WithSystemAndUserIdentities":{"$ref":"#/components/examples/Tasks_Create_WithSystemAndUserIdentities"},"Tasks_Create_WithUserIdentities":{"$ref":"#/components/examples/Tasks_Create_WithUserIdentities"},"Tasks_Create_WithUserIdentities_WithSystemIdentity":{"$ref":"#/components/examples/Tasks_Create_WithUserIdentities_WithSystemIdentity"}}}}},"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"},"Tasks_Create_WithSystemAndUserIdentities":{"$ref":"#/components/examples/Tasks_Create_WithSystemAndUserIdentities"},"Tasks_Create_WithUserIdentities":{"$ref":"#/components/examples/Tasks_Create_WithUserIdentities"},"Tasks_Create_WithUserIdentities_WithSystemIdentity":{"$ref":"#/components/examples/Tasks_Create_WithUserIdentities_WithSystemIdentity"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSchema"}}}}},"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"}},"Registries_ScheduleRun_EncodedTaskRun":{"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"}},"Registries_ScheduleRun_FileTaskRun":{"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"}},"Registries_ScheduleRun_Task":{"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"}},"Registries_ScheduleRun_Task_WithCustomCredentials":{"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"}},"Registries_ScheduleRun_WithCustomCredentials":{"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"}},"TaskRuns_List":{"value":{"value":[{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun","location":"WESTUS","name":"mytestrun","properties":{"provisioningState":"Succeeded","runRequest":{"credentials":{},"encodedTaskContent":"c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K","encodedValuesContent":"Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==","isArchiveEnabled":true,"platform":{"architecture":"amd64","os":"Linux"},"type":"EncodedTaskRunRequest","values":[]},"runResult":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd4","name":"yd4","properties":{"agentConfiguration":{"cpu":2},"createTime":"2019-09-04T17:15:29.2278794+00:00","finishTime":"2019-09-04T17:15:37.0349516+00:00","isArchiveEnabled":true,"lastUpdatedTime":"2019-09-04T17:15:37+00:00","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","runId":"yd4","runType":"QuickRun","startTime":"2019-09-04T17:15:29.4589616+00:00","status":"Succeeded"},"type":"Microsoft.ContainerRegistry/registries/runs"}},"tags":{"key":"value"},"type":"Microsoft.ContainerRegistry/registries/TaskRuns"}]}},"TaskRuns_Get":{"value":{"id":"/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun","location":"WESTUS","name":"myRun","properties":{"provisioningState":"Succeeded","runRequest":{"credentials":{},"encodedTaskContent":"c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K","encodedValuesContent":"Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==","isArchiveEnabled":true,"platform":{"architecture":"amd64","os":"Linux"},"type":"EncodedTaskRunRequest","values":[]},"runResult":{"id":"/subscriptions/3647315e-0c5b-4ce4-8739-b071e144b2c9/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5","name":"yd5","properties":{"agentConfiguration":{"cpu":2},"createTime":"2019-09-06T17:23:21.9261521+00:00","finishTime":"2019-09-06T17:23:29.8792157+00:00","isArchiveEnabled":true,"lastUpdatedTime":"2019-09-06T17:23:29+00:00","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","runId":"yd5","runType":"QuickRun","startTime":"2019-09-06T17:23:22.1348714+00:00","status":"Succeeded"},"type":"Microsoft.ContainerRegistry/registries/runs"}},"tags":{"key":"value"},"type":"Microsoft.ContainerRegistry/registries/TaskRuns"}},"TaskRuns_Update":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun","location":"WESTUS","name":"mytestrun","properties":{"provisioningState":"Creating","runRequest":{"credentials":{},"encodedTaskContent":"c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K","encodedValuesContent":"Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==","isArchiveEnabled":true,"platform":{"architecture":"amd64","os":"Linux"},"type":"EncodedTaskRunRequest","values":[]},"runResult":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd6","name":"yd6","properties":{"agentConfiguration":{"cpu":2},"createTime":"2019-09-06T17:31:34.1184031+00:00","isArchiveEnabled":true,"lastUpdatedTime":"2019-09-06T17:31:34+00:00","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","runId":"yd6","runType":"QuickRun","status":"Queued"},"type":"Microsoft.ContainerRegistry/registries/runs"}},"tags":{"key":"value"},"type":"Microsoft.ContainerRegistry/registries/TaskRuns"}},"TaskRuns_Create":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/taskRuns/myRun","location":"WESTUS","name":"myrun","properties":{"provisioningState":"Creating","runRequest":{"credentials":{},"encodedTaskContent":"c3RlcHM6IAogIC0gY21kOiB7eyAuVmFsdWVzLmNvbW1hbmQgfX0K","encodedValuesContent":"Y29tbWFuZDogYmFzaCBlY2hvIHt7LlJ1bi5SZWdpc3RyeX19Cg==","isArchiveEnabled":true,"platform":{"architecture":"amd64","os":"Linux"},"type":"EncodedTaskRunRequest","values":[]},"runResult":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/yd5","name":"yd5","properties":{"agentConfiguration":{"cpu":2},"createTime":"2019-09-06T17:23:21.9261521+00:00","isArchiveEnabled":true,"lastUpdatedTime":"2019-09-06T17:23:21+00:00","platform":{"architecture":"amd64","os":"Linux"},"provisioningState":"Succeeded","runId":"yd5","runType":"QuickRun","status":"Queued"},"type":"Microsoft.ContainerRegistry/registries/runs"}},"tags":{"key":"value"},"type":"Microsoft.ContainerRegistry/registries/TaskRuns"}},"Tasks_List":{"value":{"value":[{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","identity":{"principalId":"fa153151-b9fd-46f4-9088-5e6600f2689v","tenantId":"f686d426-8d16-42db-81b7-abu4gm510ccd","type":"SystemAssigned"},"location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":2},"creationDate":"2018-01-25T06:54:23.536Z","credentials":{"customRegistries":{}},"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","status":"Enabled","updateTriggerPayloadType":"Default"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"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","identity":{"principalId":"fa153151-b9fd-46f4-9088-5e6600f2689v","tenantId":"f686d426-8d16-42db-81b7-abu4gm510ccd","type":"SystemAssigned"},"location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":2},"creationDate":"2018-01-25T06:54:23.536Z","credentials":{"customRegistries":{}},"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","status":"Enabled","updateTriggerPayloadType":"Token"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"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","identity":{"principalId":"fa153151-b9fd-46f4-9088-5e6600f2689v","tenantId":"f686d426-8d16-42db-81b7-abu4gm510ccd","type":"SystemAssigned"},"location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":3},"creationDate":"2018-01-25T06:54:23.536Z","credentials":{"customRegistries":{}},"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","status":"Enabled","updateTriggerPayloadType":"Default"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_Update_WithKeyVaultCustomCredentials":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","identity":{"principalId":"fa153151-b9fd-46f4-9088-5e6600f2689v","tenantId":"f686d426-8d16-42db-81b7-abu4gm510ccd","type":"SystemAssigned"},"location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":3},"creationDate":"2018-01-25T06:54:23.536Z","credentials":{"customRegistries":{}},"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","status":"Enabled","updateTriggerPayloadType":"Token"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_Update_WithMSICustomCredentials":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","identity":{"principalId":"fa153151-b9fd-46f4-9088-5e6600f2689v","tenantId":"f686d426-8d16-42db-81b7-abu4gm510ccd","type":"SystemAssigned"},"location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":3},"creationDate":"2018-01-25T06:54:23.536Z","credentials":{"customRegistries":{}},"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","status":"Enabled"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_Update_WithOpaqueCustomCredentials":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","identity":{"principalId":"fa153151-b9fd-46f4-9088-5e6600f2689v","tenantId":"f686d426-8d16-42db-81b7-abu4gm510ccd","type":"SystemAssigned"},"location":"eastus","name":"myTask","properties":{"agentConfiguration":{"cpu":3},"creationDate":"2018-01-25T06:54:23.536Z","credentials":{"customRegistries":{}},"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","status":"Enabled"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"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","identity":{"principalId":"fa153151-b9fd-46f4-9088-5e6600f2689v","tenantId":"f686d426-8d16-42db-81b7-abu4gm510ccd","type":"SystemAssigned"},"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","status":"Enabled","updateTriggerPayloadType":"Token"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_Create_WithSystemAndUserIdentities":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","identity":{"principalId":"fc99dc67-1ad9-45c8-9ebc-e438081c8e30","tenantId":"f686d426-8d16-42db-81b7-ab578e110ccd","type":"SystemAssigned, UserAssigned","userAssignedIdentities":{"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2":{"clientId":"e35621a5-f615-4a20-940e-de8a84b15abc","principalId":"e45e3m7c-176e-416a-b466-0c5ec8298f8a"}}},"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","status":"Enabled","updateTriggerPayloadType":"Default"},"sourceTriggers":[{"name":"mySourceTrigger","sourceRepository":{"branch":"master","repositoryUrl":"https://github.com/Azure/azure-rest-api-specs","sourceControlType":"Github"},"sourceTriggerEvents":["commit"],"status":"Enabled"}],"timerTriggers":[{"name":"myTimerTrigger","schedule":"30 9 * * 1-5","status":"Enabled"}]}},"tags":{"testkey":"value"},"type":"Microsoft.ContainerRegistry/registries/tasks"}},"Tasks_Create_WithUserIdentities":{"value":{"id":"/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask","identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1":{"clientId":"d3ce1bc2-f7d7-4a5b-9979-950f4e57680e","pri