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

Operation - List

获取操作。
列出所有操作。

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

URI 参数

名称 必需 类型 说明
api-version
query True

string

受支持的版本。

响应

名称 类型 说明
200 OK

OperationList

列出所有操作。

Other Status Codes

Error

错误

示例

GetOperations

Sample Request

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

Sample Response

{
  "value": [
    {
      "name": "Microsoft.Capacity/reservationorders/read",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Get Reservations",
        "description": "Read All Reservations"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/write",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Create Reservations",
        "description": "Create any Reservation"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/action",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Update Reservations",
        "description": "Update any Reservation"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/delete",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Delete Reservations",
        "description": "Delete any Reservation"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/reservations/read",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Get Reservations",
        "description": "Read All Reservations"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/reservations/write",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Create Reservations",
        "description": "Create any Reservation"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/reservations/action",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Update Reservations",
        "description": "Update any Reservation"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/reservations/delete",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Delete Reservations",
        "description": "Delete any Reservation"
      }
    },
    {
      "name": "Microsoft.Capacity/reservationorders/reservations/revisions/read",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Get Reservations",
        "description": "Read All Reservations"
      }
    },
    {
      "name": "Microsoft.Capacity/register/action",
      "display": {
        "provider": "Microsoft Capacity",
        "resource": "Reservations",
        "operation": "Registers the Capacity Resource Provider.",
        "description": "Registers the Capacity resource provider and enables the creation of Capacity resources."
      }
    }
  ]
}

定义

名称 说明
Error

错误信息

ErrorResponseCode

描述服务无法处理传入请求的原因的错误代码

ExtendedErrorInfo

扩展的错误信息,包括错误代码和错误消息

OperationDisplay

有关操作的信息

OperationList

操作的分页列表

OperationResponse

包含操作信息的响应

Error

错误信息

名称 类型 说明
error

ExtendedErrorInfo

扩展的错误信息,包括错误代码和错误消息

ErrorResponseCode

描述服务无法处理传入请求的原因的错误代码

名称 类型 说明
ActivateQuoteFailed

string

AppliedScopesNotAssociatedWithCommerceAccount

string

AppliedScopesSameAsExisting

string

AuthorizationFailed

string

BadRequest

string

BillingCustomerInputError

string

BillingError

string

BillingPaymentInstrumentHardError

string

BillingPaymentInstrumentSoftError

string

BillingScopeIdCannotBeChanged

string

BillingTransientError

string

CalculatePriceFailed

string

CapacityUpdateScopesFailed

string

ClientCertificateThumbprintNotSet

string

CreateQuoteFailed

string

Forbidden

string

FulfillmentConfigurationError

string

FulfillmentError

string

FulfillmentOutOfStockError

string

FulfillmentTransientError

string

HttpMethodNotSupported

string

InternalServerError

string

InvalidAccessToken

string

InvalidFulfillmentRequestParameters

string

InvalidHealthCheckType

string

InvalidLocationId

string

InvalidRefundQuantity

string

InvalidRequestContent

string

InvalidRequestUri

string

InvalidReservationId

string

InvalidReservationOrderId

string

InvalidSingleAppliedScopesCount

string

InvalidSubscriptionId

string

InvalidTenantId

string

MissingAppliedScopesForSingle

string

MissingTenantId

string

NoValidReservationsToReRate

string

NonsupportedAccountId

string

NotSpecified

string

NotSupportedCountry

string

OperationCannotBePerformedInCurrentState

string

OperationFailed

string

PatchValuesSameAsExisting

string

PaymentInstrumentNotFound

string

PurchaseError

string

ReRateOnlyAllowedForEA

string

RefundLimitExceeded

string

ReservationIdNotInReservationOrder

string

ReservationOrderCreationFailed

string

ReservationOrderIdAlreadyExists

string

ReservationOrderNotEnabled

string

ReservationOrderNotFound

string

RiskCheckFailed

string

RoleAssignmentCreationFailed

string

SelfServiceRefundNotSupported

string

ServerTimeout

string

UnauthenticatedRequestsThrottled

string

UnsupportedReservationTerm

string

ExtendedErrorInfo

扩展的错误信息,包括错误代码和错误消息

名称 类型 说明
code

ErrorResponseCode

描述服务无法处理传入请求的原因的错误代码

message

string

OperationDisplay

有关操作的信息

名称 类型 说明
description

string

operation

string

provider

string

resource

string

OperationList

操作的分页列表

名称 类型 说明
nextLink

string

用于获取项的下一页的 URL。

value

OperationResponse[]

包含操作信息的响应

OperationResponse

包含操作信息的响应

名称 类型 说明
display

OperationDisplay

操作的显示

isDataAction

boolean

指示操作是否为数据操作

name

string

操作的名称

origin

string

操作的源