diff --git a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/UpdateRuns.json b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/UpdateRuns.json index 178de82929e0..bfb8f931173c 100644 --- a/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/UpdateRuns.json +++ b/specification/azsadmin/resource-manager/update/Microsoft.Update.Admin/preview/2016-05-01/UpdateRuns.json @@ -19,7 +19,7 @@ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates/{updateName}/updateRuns": { "get": { "x-ms-examples": { - "Get the list of update run.": { + "Get the list of update runs.": { "$ref": "./examples/UpdateRuns/List.json" } }, @@ -68,7 +68,7 @@ "tags": [ "UpdateRuns" ], - "description": "Get the list of update locations", + "description": "Get an instance of update run using the ID.", "operationId": "UpdateRuns_Get", "parameters": [ { @@ -100,6 +100,84 @@ } } }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updateRuns": { + "get": { + "x-ms-examples": { + "Get the list of update runs.": { + "$ref": "./examples/UpdateRuns/List.json" + } + }, + "tags": [ + "UpdateRuns" + ], + "description": "Get the list of update runs.", + "operationId": "UpdateRuns_ListTopLevel", + "parameters": [ + { + "$ref": "Update.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Update.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "UpdateLocations.json#/parameters/UpdateLocationParameter" + }, + { + "$ref": "Update.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateRunList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updateRuns/{runName}": { + "get": { + "x-ms-examples": { + "Get an update run.": { + "$ref": "./examples/UpdateRuns/Get.json" + } + }, + "tags": [ + "UpdateRuns" + ], + "description": "Get an instance of update run using the ID.", + "operationId": "UpdateRuns_GetTopLevel", + "parameters": [ + { + "$ref": "Update.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Update.json#/parameters/ResourceGroupParameter" + }, + { + "$ref": "UpdateLocations.json#/parameters/UpdateLocationParameter" + }, + { + "$ref": "#/parameters/UpdateRunParameter" + }, + { + "$ref": "Update.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UpdateRun" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates/{updateName}/updateRuns/{runName}/rerun": { "post": { "x-ms-examples": {