From 0fd1592d728b2260fea814589028e0e75ce930ae Mon Sep 17 00:00:00 2001 From: Eric Chong Date: Mon, 29 Apr 2019 13:47:11 -0700 Subject: [PATCH] Create new resource type: Microsoft.ResourceGraph/queries (#5478) * Adding Workbooks resource type. * Rename workbookDelete.json to WorkbookDelete.json * Fixed undefiend parameter issue with Delete verb. * Update swagger to add subscriptionId * Fixed duplicated operation id issue * Removed links endpoint * Removed unused samples * Revert "Removed unused samples" This reverts commit bed6bc30d4bc4bd5716fb9f907ac74f224b4b81d. * Revert "Removed links endpoint" This reverts commit c245a85973ec62e036c09efc7375f77a5c4cf758. * Removed link logic and added get by resourceid * Applied PR comments * Added Resource Group parameter for GET. Removed get by sourceId since we are not using sourceId anymore * Resolved the merge conflicts with readme.md * Remove a location parameter since ARM routes it as we are using an tracted resource type * Created newer version (2018-04-01-preview) for workbook resource type. * Added Microsoft/Insights/Operations * Added Microsoft/Insights/Operations * Corrected the api version. * Made properties of PATCH operation as not required. Updated the version number to reflect the actual production one. * Updated Resource properties with the correct fields. Created new definition for PATCH operation since location is not required field * Update readme file * Uses plural for operation group name * Removed x-ms-mutability settings * Removed the location settings for PATCH * Added Microsoft.ResourceGraph/SavedQuery resource type * Fixed various validation errors * Updated ARG/resources to add a saved query support along with examples * Updated ARM/resources based on the feedback * Prepared for Swagger submittion * Added saved query entry in readme.md * Changed HTTP status code of 201 to 200 for DELETE * Removed a name from payload since it is already specified in url * Removed location since it is a global resource and added eTag * Moved savedquery.json along with all examples into 2018-09-01-preview folder * Update saved query metadata in OperationsList.json * Updated readme.md file to address a version * Fixed a version for saved query * Fixed indentation of -input-file in readme * Renamed Saved => Graph * Applied PR comments * Restored extended enum value in ResultKind since we are using it * Removed the extended enum value again * Apply ARM API team comments * Fix examples * Fix examples * Added nextLinkName * add Go SDK build * make descriptions match * Added nextLink definition in OperationListResult * Removed a duplicated OperationListResult and reference to resourcegraph.json * Added nextLinkName: nextLink for x-ms-pageable in operations * fix formatting and description * Removed extended from enum --- .../preview/2018-09-01-preview/examples/OperationsList.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/OperationsList.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/OperationsList.json index 5944d80fcfc5..21cf8b809c60 100644 --- a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/OperationsList.json +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/examples/OperationsList.json @@ -5,6 +5,7 @@ "responses": { "200": { "body": { + "nextLink": "https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.ResourceGraph/?api-version=2019-09-01-preview&$top=10&$skiptoken=skiptoken", "value": [ { "name": "Microsoft.ResourceGraph/resources/action",