Dela via


Operations - List

Lists all of the available REST API operations.

GET https://management.azure.com/providers/Microsoft.ResourceGraph/operations?api-version=2024-04-01

URI Parameters

Name In Required Type Description
api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

OperationListResult

OK. The request has succeeded.

Other Status Codes

ErrorResponse

An error occurred while processing the request. See the error.code parameter to identify the specific error.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

OperationsList

Sample request

GET https://management.azure.com/providers/Microsoft.ResourceGraph/operations?api-version=2024-04-01

Sample response

{
  "value": [
    {
      "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",
        "operation": "Query resources",
        "description": "Submits a query on resources within specified subscriptions, the specified management groups, or against all access granted in the tenant."
      }
    }
  ]
}

Definitions

Name Description
Display

Display metadata associated with the operation.

Error

Error info.

ErrorDetails

Error details.

ErrorResponse

Error response.

Operation

Resource Graph REST API operation definition.

OperationListResult

Result of the request to list Resource Graph operations. It contains a list of operations and a URL link to get the next set of results.

Display

Display metadata associated with the operation.

Name Type Description
description

string

Description for the operation.

operation

string

Type of operation: get, read, delete, etc.

provider

string

Service provider: Microsoft Resource Graph.

resource

string

Resource on which the operation is performed etc.

Error

Error info.

Name Type Description
code

string

Error code identifying the specific error.

details

ErrorDetails[]

Error details

message

string

A human readable error message.

ErrorDetails

Error details.

Name Type Description
code

string

Error code identifying the specific error.

message

string

A human readable error message.

ErrorResponse

Error response.

Name Type Description
error

Error

Error info.
Error information.

Operation

Resource Graph REST API operation definition.

Name Type Description
display

Display

Display metadata associated with the operation.

name

string

Operation name: {provider}/{resource}/{operation}

origin

string

The origin of operations.

OperationListResult

Result of the request to list Resource Graph operations. It contains a list of operations and a URL link to get the next set of results.

Name Type Description
value

Operation[]

List of Resource Graph operations supported by the Resource Graph resource provider.