From 59c6489f835a7dad8c68c421401a102f52650a99 Mon Sep 17 00:00:00 2001 From: Chirag Gupta Date: Fri, 11 Oct 2019 08:47:39 -0700 Subject: [PATCH] Fixed operations examples as it's impacting the Help generation. --- .../examples/OperationsList.json | 55 +++++++++++++++++-- .../2019-04-01/examples/OperationsList.json | 11 +++- 2 files changed, 60 insertions(+), 6 deletions(-) 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 2970577f27fc..0d4bfecccfbb 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 @@ -7,7 +7,16 @@ "body": { "value": [ { - "name": "Microsoft.ResourceGraph/resources/action", + "name": "Microsoft.ResourceGraph/operations/read", + "display": { + "provider": "Microsoft Resource Graph", + "resource": "Operation", + "operation": "Get Operations", + "description": "Gets the list of supported operations" + } + }, + { + "name": "Microsoft.ResourceGraph/resources/read", "display": { "provider": "Microsoft Resource Graph", "resource": "Resources", @@ -16,12 +25,48 @@ } }, { - "name": "Microsoft.ResourceGraph/queries/action", + "name": "Microsoft.ResourceGraph/resourceChanges/read", + "display": { + "provider": "Microsoft Resource Graph", + "resource": "Resource Changes", + "operation": "Query resource changes", + "description": "Lists changes to a resource for a given time interval" + } + }, + { + "name": "Microsoft.ResourceGraph/resourceChangeDetails/read", + "display": { + "provider": "Microsoft Resource Graph", + "resource": "Resource Change Details", + "operation": "Query resource change details", + "description": "Gets the details of the specified resource change" + } + }, + { + "name": "Microsoft.ResourceGraph/queries/read", + "display": { + "provider": "Microsoft Resource Graph", + "resource": "Resource Graph Queries", + "operation": "Read resource graph queries", + "description": "Gets the specified graph query" + } + }, + { + "name": "Microsoft.ResourceGraph/queries/delete", + "display": { + "provider": "Microsoft Resource Graph", + "resource": "Resource Graph Queries", + "operation": "Delete resource graph queries", + "description": "Deletes the specified graph query" + } + }, + { + "name": "Microsoft.ResourceGraph/queries/write", "display": { "provider": "Microsoft Resource Graph", - "resource": "Queries", - "operation": "CRUD operations of graph queries", - "description": "Create/Update/Retrieve a query within specified subscription and resource group." + "resource": "Resource Graph Queries", + "operation": "Create/Update resource graph queries", + "description": "Creates/Updates the specified graph query" } } ] diff --git a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/stable/2019-04-01/examples/OperationsList.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/stable/2019-04-01/examples/OperationsList.json index c3d1cfb273da..290553699aa6 100644 --- a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/stable/2019-04-01/examples/OperationsList.json +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/stable/2019-04-01/examples/OperationsList.json @@ -7,7 +7,16 @@ "body": { "value": [ { - "name": "Microsoft.ResourceGraph/resources/action", + "name": "Microsoft.ResourceGraph/operations/read", + "display": { + "provider": "Microsoft Resource Graph", + "resource": "Operation", + "operation": "Get Operations", + "description": "Gets the list of supported operations" + } + }, + { + "name": "Microsoft.ResourceGraph/resources/read", "display": { "provider": "Microsoft Resource Graph", "resource": "Resources",