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/preview/2018-09-01-preview/graphquery.json b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/graphquery.json index a9962a07564c..ce2579b061a1 100644 --- a/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/graphquery.json +++ b/specification/resourcegraph/resource-manager/Microsoft.ResourceGraph/preview/2018-09-01-preview/graphquery.json @@ -240,36 +240,6 @@ } } } - }, - "/providers/Microsoft.ResourceGraph/operations": { - "get": { - "tags": [ - "Operations" - ], - "description": "Lists all of the available REST API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "OperationsList": { - "$ref": "./examples/OperationsList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request has succeeded.", - "schema": { - "$ref": "resourcegraph.json#/definitions/OperationListResult" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } } }, "definitions": { 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",