Share via


Operations - List

List the operations for the provider

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

URI Parameters

Name In Required Type Description
api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

OperationListResult

Azure operation completed successfully.

Other Status Codes

CloudError

An unexpected error response.

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

Operations_List_MaximumSet_Gen
Operations_List_MinimumSet_Gen

Operations_List_MaximumSet_Gen

Sample request

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

Sample response

{
  "value": [
    {
      "origin": "aaaaa",
      "name": "aaaaaaaaaaaa",
      "display": {
        "operation": "aaaaaaaaaaaaaaaaaaaaaa",
        "resource": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "description": "aaaaaaaaaaaaaaaaaaaaaa",
        "provider": "aaaaaaaaaaaaaaaaaa"
      }
    }
  ]
}

Operations_List_MinimumSet_Gen

Sample request

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

Sample response

{}

Definitions

Name Description
ActionType

Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

ApiError

Api error.

ApiErrorBase

Api error base.

CloudError

An error response from the Compute service.

Display

Localized display information for this particular operation.

InnerError

Inner error details.

Operation

REST API Operation

OperationListResult

A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

ActionType

Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

Value Description
Internal

ApiError

Api error.

Name Type Description
code

string

The error code.

details

ApiErrorBase[]

The Api error details

innererror

InnerError

The Api inner error

message

string

The error message.

target

string

The target of the particular error.

ApiErrorBase

Api error base.

Name Type Description
code

string

The error code.

message

string

The error message.

target

string

The target of the particular error.

CloudError

An error response from the Compute service.

Name Type Description
error

ApiError

Api error.

Display

Localized display information for this particular operation.

Name Type Description
description

string

The short, localized friendly description of the operation; suitable for tool tips and detailed views.

operation

string

The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".

provider

string

The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".

resource

string

The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".

InnerError

Inner error details.

Name Type Description
errordetail

string

The internal error message or exception dump.

exceptiontype

string

The exception type.

Operation

REST API Operation

Name Type Description
actionType

ActionType

Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

display

Display

Localized display information for this particular operation.

isDataAction

boolean

Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.

name

string

The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"

origin

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

OperationListResult

A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.

Name Type Description
nextLink

string

URL to get the next set of operation list results (if there are any).

value

Operation[]

List of operations supported by the resource provider

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

Value Description
user
system
user,system