你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Api Management Operations - List

Lists all of the available REST API operations of the Microsoft.ApiManagement provider.

GET https://management.azure.com/providers/Microsoft.ApiManagement/operations?api-version=2021-08-01

URI Parameters

Name In Required Type Description
api-version
query True

string

Version of the API to be used with the client request.

Responses

Name Type Description
200 OK

OperationListResult

Success. The response describes the list of operations.

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

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

ApiManagementListOperations

Sample request

GET https://management.azure.com/providers/Microsoft.ApiManagement/operations?api-version=2021-08-01

Sample response

{
  "value": [
    {
      "name": "Microsoft.ApiManagement/service/write",
      "display": {
        "provider": "Microsoft API Management",
        "resource": "Service",
        "operation": "Create a new instance of API Management Service",
        "description": "Create a new instance of API Management Service"
      }
    },
    {
      "name": "Microsoft.ApiManagement/service/read",
      "display": {
        "provider": "Microsoft API Management",
        "resource": "Service",
        "operation": "Read metadata for an API Management Service instance",
        "description": "Read metadata for an API Management Service instance"
      }
    },
    {
      "name": "Microsoft.ApiManagement/service/delete",
      "display": {
        "provider": "Microsoft API Management",
        "resource": "Service",
        "operation": "Delete API Management Service instance",
        "description": "Delete API Management Service instance"
      }
    },
    {
      "origin": "system",
      "name": "Microsoft.ApiManagement/service/providers/Microsoft.Insights/diagnosticSettings/write",
      "display": {
        "provider": "Microsoft API Management",
        "resource": "Service",
        "operation": "Write diagnostic setting",
        "description": "Creates or updates the diagnostic setting for API Management service"
      }
    },
    {
      "name": "Microsoft.ApiManagement/service/tenant/operationResults/read",
      "display": {
        "provider": "Microsoft API Management",
        "resource": "Results of async operations",
        "operation": "Get operation results or Get operation result",
        "description": "Get list of operation results or Get result of a specific operation"
      }
    }
  ]
}

Definitions

Name Description
Display

The object that describes the operation.

ErrorFieldContract

Error Field contract.

ErrorResponse

Error Response.

Operation

REST API operation

OperationListResult

Result of the request to list REST API operations. It contains a list of operations and a URL nextLink to get the next set of results.

Display

The object that describes the operation.

Name Type Description
description

string

Friendly name of the operation

operation

string

Operation type: read, write, delete, listKeys/action, etc.

provider

string

Friendly name of the resource provider

resource

string

Resource type on which the operation is performed.

ErrorFieldContract

Error Field contract.

Name Type Description
code

string

Property level error code.

message

string

Human-readable representation of property-level error.

target

string

Property name.

ErrorResponse

Error Response.

Name Type Description
error.code

string

Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.

error.details

ErrorFieldContract[]

The list of invalid fields send in request, in case of validation error.

error.message

string

Human-readable representation of the error.

Operation

REST API operation

Name Type Description
display

Display

The object that describes the operation.

name

string

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

origin

string

The operation origin.

OperationListResult

Result of the request to list REST API operations. It contains a list of operations and a URL nextLink 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.