Dela via


Operation - List

Hämta åtgärder.
Visa en lista över alla åtgärder.

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

URI-parametrar

Name I Obligatorisk Typ Description
api-version
query True

string

Version som stöds.

Svar

Name Typ Description
200 OK

OperationList

Visa en lista över alla åtgärder.

Other Status Codes

Error

Oväntat fel

Exempel

GetOperations

Exempelbegäran

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

Exempelsvar

{
  "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."
      }
    }
  ]
}

Definitioner

Name Description
Error

Felinformation

ErrorResponseCode

Felkod som beskriver orsaken till att tjänsten inte kan bearbeta den inkommande begäran

ExtendedErrorInfo

Utökad felinformation inklusive felkod och felmeddelande

OperationDisplay

Information om en åtgärd

OperationList

Sidnumrerad lista över åtgärder

OperationResponse

Svaret som innehåller åtgärdsinformation

Error

Felinformation

Name Typ Description
error

ExtendedErrorInfo

Utökad felinformation inklusive felkod och felmeddelande

ErrorResponseCode

Felkod som beskriver orsaken till att tjänsten inte kan bearbeta den inkommande begäran

Name Typ Description
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

Utökad felinformation inklusive felkod och felmeddelande

Name Typ Description
code

ErrorResponseCode

Felkod som beskriver orsaken till att tjänsten inte kan bearbeta den inkommande begäran

message

string

OperationDisplay

Information om en åtgärd

Name Typ Description
description

string

operation

string

provider

string

resource

string

OperationList

Sidnumrerad lista över åtgärder

Name Typ Description
nextLink

string

Url för att hämta nästa sida med objekt.

value

OperationResponse[]

Svaret som innehåller åtgärdsinformation

OperationResponse

Svaret som innehåller åtgärdsinformation

Name Typ Description
display

OperationDisplay

Visning av åtgärden

isDataAction

boolean

Anger om åtgärden är en dataåtgärd

name

string

Namnet på åtgärden

origin

string

Åtgärdens ursprung