Class ErrorResponseCode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ErrorResponseCode>
com.azure.resourcemanager.reservations.models.ErrorResponseCode
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ErrorResponseCode extends com.azure.core.util.ExpandableStringEnum<ErrorResponseCode>
Error code describing the reason that service is not able to process the incoming request.
  • Field Details

    • NOT_SPECIFIED

      public static final ErrorResponseCode NOT_SPECIFIED
      Static value NotSpecified for ErrorResponseCode.
    • INTERNAL_SERVER_ERROR

      public static final ErrorResponseCode INTERNAL_SERVER_ERROR
      Static value InternalServerError for ErrorResponseCode.
    • SERVER_TIMEOUT

      public static final ErrorResponseCode SERVER_TIMEOUT
      Static value ServerTimeout for ErrorResponseCode.
    • AUTHORIZATION_FAILED

      public static final ErrorResponseCode AUTHORIZATION_FAILED
      Static value AuthorizationFailed for ErrorResponseCode.
    • BAD_REQUEST

      public static final ErrorResponseCode BAD_REQUEST
      Static value BadRequest for ErrorResponseCode.
    • CLIENT_CERTIFICATE_THUMBPRINT_NOT_SET

      public static final ErrorResponseCode CLIENT_CERTIFICATE_THUMBPRINT_NOT_SET
      Static value ClientCertificateThumbprintNotSet for ErrorResponseCode.
    • INVALID_REQUEST_CONTENT

      public static final ErrorResponseCode INVALID_REQUEST_CONTENT
      Static value InvalidRequestContent for ErrorResponseCode.
    • OPERATION_FAILED

      public static final ErrorResponseCode OPERATION_FAILED
      Static value OperationFailed for ErrorResponseCode.
    • HTTP_METHOD_NOT_SUPPORTED

      public static final ErrorResponseCode HTTP_METHOD_NOT_SUPPORTED
      Static value HttpMethodNotSupported for ErrorResponseCode.
    • INVALID_REQUEST_URI

      public static final ErrorResponseCode INVALID_REQUEST_URI
      Static value InvalidRequestUri for ErrorResponseCode.
    • MISSING_TENANT_ID

      public static final ErrorResponseCode MISSING_TENANT_ID
      Static value MissingTenantId for ErrorResponseCode.
    • INVALID_TENANT_ID

      public static final ErrorResponseCode INVALID_TENANT_ID
      Static value InvalidTenantId for ErrorResponseCode.
    • INVALID_RESERVATION_ORDER_ID

      public static final ErrorResponseCode INVALID_RESERVATION_ORDER_ID
      Static value InvalidReservationOrderId for ErrorResponseCode.
    • INVALID_RESERVATION_ID

      public static final ErrorResponseCode INVALID_RESERVATION_ID
      Static value InvalidReservationId for ErrorResponseCode.
    • RESERVATION_ID_NOT_IN_RESERVATION_ORDER

      public static final ErrorResponseCode RESERVATION_ID_NOT_IN_RESERVATION_ORDER
      Static value ReservationIdNotInReservationOrder for ErrorResponseCode.
    • RESERVATION_ORDER_NOT_FOUND

      public static final ErrorResponseCode RESERVATION_ORDER_NOT_FOUND
      Static value ReservationOrderNotFound for ErrorResponseCode.
    • INVALID_SUBSCRIPTION_ID

      public static final ErrorResponseCode INVALID_SUBSCRIPTION_ID
      Static value InvalidSubscriptionId for ErrorResponseCode.
    • INVALID_ACCESS_TOKEN

      public static final ErrorResponseCode INVALID_ACCESS_TOKEN
      Static value InvalidAccessToken for ErrorResponseCode.
    • INVALID_LOCATION_ID

      public static final ErrorResponseCode INVALID_LOCATION_ID
      Static value InvalidLocationId for ErrorResponseCode.
    • UNAUTHENTICATED_REQUESTS_THROTTLED

      public static final ErrorResponseCode UNAUTHENTICATED_REQUESTS_THROTTLED
      Static value UnauthenticatedRequestsThrottled for ErrorResponseCode.
    • INVALID_HEALTH_CHECK_TYPE

      public static final ErrorResponseCode INVALID_HEALTH_CHECK_TYPE
      Static value InvalidHealthCheckType for ErrorResponseCode.
    • FORBIDDEN

      public static final ErrorResponseCode FORBIDDEN
      Static value Forbidden for ErrorResponseCode.
    • BILLING_SCOPE_ID_CANNOT_BE_CHANGED

      public static final ErrorResponseCode BILLING_SCOPE_ID_CANNOT_BE_CHANGED
      Static value BillingScopeIdCannotBeChanged for ErrorResponseCode.
    • APPLIED_SCOPES_NOT_ASSOCIATED_WITH_COMMERCE_ACCOUNT

      public static final ErrorResponseCode APPLIED_SCOPES_NOT_ASSOCIATED_WITH_COMMERCE_ACCOUNT
      Static value AppliedScopesNotAssociatedWithCommerceAccount for ErrorResponseCode.
    • PATCH_VALUES_SAME_AS_EXISTING

      public static final ErrorResponseCode PATCH_VALUES_SAME_AS_EXISTING
      Static value PatchValuesSameAsExisting for ErrorResponseCode.
    • ROLE_ASSIGNMENT_CREATION_FAILED

      public static final ErrorResponseCode ROLE_ASSIGNMENT_CREATION_FAILED
      Static value RoleAssignmentCreationFailed for ErrorResponseCode.
    • RESERVATION_ORDER_CREATION_FAILED

      public static final ErrorResponseCode RESERVATION_ORDER_CREATION_FAILED
      Static value ReservationOrderCreationFailed for ErrorResponseCode.
    • RESERVATION_ORDER_NOT_ENABLED

      public static final ErrorResponseCode RESERVATION_ORDER_NOT_ENABLED
      Static value ReservationOrderNotEnabled for ErrorResponseCode.
    • CAPACITY_UPDATE_SCOPES_FAILED

      public static final ErrorResponseCode CAPACITY_UPDATE_SCOPES_FAILED
      Static value CapacityUpdateScopesFailed for ErrorResponseCode.
    • UNSUPPORTED_RESERVATION_TERM

      public static final ErrorResponseCode UNSUPPORTED_RESERVATION_TERM
      Static value UnsupportedReservationTerm for ErrorResponseCode.
    • RESERVATION_ORDER_ID_ALREADY_EXISTS

      public static final ErrorResponseCode RESERVATION_ORDER_ID_ALREADY_EXISTS
      Static value ReservationOrderIdAlreadyExists for ErrorResponseCode.
    • RISK_CHECK_FAILED

      public static final ErrorResponseCode RISK_CHECK_FAILED
      Static value RiskCheckFailed for ErrorResponseCode.
    • CREATE_QUOTE_FAILED

      public static final ErrorResponseCode CREATE_QUOTE_FAILED
      Static value CreateQuoteFailed for ErrorResponseCode.
    • ACTIVATE_QUOTE_FAILED

      public static final ErrorResponseCode ACTIVATE_QUOTE_FAILED
      Static value ActivateQuoteFailed for ErrorResponseCode.
    • NONSUPPORTED_ACCOUNT_ID

      public static final ErrorResponseCode NONSUPPORTED_ACCOUNT_ID
      Static value NonsupportedAccountId for ErrorResponseCode.
    • PAYMENT_INSTRUMENT_NOT_FOUND

      public static final ErrorResponseCode PAYMENT_INSTRUMENT_NOT_FOUND
      Static value PaymentInstrumentNotFound for ErrorResponseCode.
    • MISSING_APPLIED_SCOPES_FOR_SINGLE

      public static final ErrorResponseCode MISSING_APPLIED_SCOPES_FOR_SINGLE
      Static value MissingAppliedScopesForSingle for ErrorResponseCode.
    • NO_VALID_RESERVATIONS_TO_RE_RATE

      public static final ErrorResponseCode NO_VALID_RESERVATIONS_TO_RE_RATE
      Static value NoValidReservationsToReRate for ErrorResponseCode.
    • RE_RATE_ONLY_ALLOWED_FOR_EA

      public static final ErrorResponseCode RE_RATE_ONLY_ALLOWED_FOR_EA
      Static value ReRateOnlyAllowedForEA for ErrorResponseCode.
    • OPERATION_CANNOT_BE_PERFORMED_IN_CURRENT_STATE

      public static final ErrorResponseCode OPERATION_CANNOT_BE_PERFORMED_IN_CURRENT_STATE
      Static value OperationCannotBePerformedInCurrentState for ErrorResponseCode.
    • INVALID_SINGLE_APPLIED_SCOPES_COUNT

      public static final ErrorResponseCode INVALID_SINGLE_APPLIED_SCOPES_COUNT
      Static value InvalidSingleAppliedScopesCount for ErrorResponseCode.
    • INVALID_FULFILLMENT_REQUEST_PARAMETERS

      public static final ErrorResponseCode INVALID_FULFILLMENT_REQUEST_PARAMETERS
      Static value InvalidFulfillmentRequestParameters for ErrorResponseCode.
    • NOT_SUPPORTED_COUNTRY

      public static final ErrorResponseCode NOT_SUPPORTED_COUNTRY
      Static value NotSupportedCountry for ErrorResponseCode.
    • INVALID_REFUND_QUANTITY

      public static final ErrorResponseCode INVALID_REFUND_QUANTITY
      Static value InvalidRefundQuantity for ErrorResponseCode.
    • PURCHASE_ERROR

      public static final ErrorResponseCode PURCHASE_ERROR
      Static value PurchaseError for ErrorResponseCode.
    • BILLING_CUSTOMER_INPUT_ERROR

      public static final ErrorResponseCode BILLING_CUSTOMER_INPUT_ERROR
      Static value BillingCustomerInputError for ErrorResponseCode.
    • BILLING_PAYMENT_INSTRUMENT_SOFT_ERROR

      public static final ErrorResponseCode BILLING_PAYMENT_INSTRUMENT_SOFT_ERROR
      Static value BillingPaymentInstrumentSoftError for ErrorResponseCode.
    • BILLING_PAYMENT_INSTRUMENT_HARD_ERROR

      public static final ErrorResponseCode BILLING_PAYMENT_INSTRUMENT_HARD_ERROR
      Static value BillingPaymentInstrumentHardError for ErrorResponseCode.
    • BILLING_TRANSIENT_ERROR

      public static final ErrorResponseCode BILLING_TRANSIENT_ERROR
      Static value BillingTransientError for ErrorResponseCode.
    • BILLING_ERROR

      public static final ErrorResponseCode BILLING_ERROR
      Static value BillingError for ErrorResponseCode.
    • FULFILLMENT_CONFIGURATION_ERROR

      public static final ErrorResponseCode FULFILLMENT_CONFIGURATION_ERROR
      Static value FulfillmentConfigurationError for ErrorResponseCode.
    • FULFILLMENT_OUT_OF_STOCK_ERROR

      public static final ErrorResponseCode FULFILLMENT_OUT_OF_STOCK_ERROR
      Static value FulfillmentOutOfStockError for ErrorResponseCode.
    • FULFILLMENT_TRANSIENT_ERROR

      public static final ErrorResponseCode FULFILLMENT_TRANSIENT_ERROR
      Static value FulfillmentTransientError for ErrorResponseCode.
    • FULFILLMENT_ERROR

      public static final ErrorResponseCode FULFILLMENT_ERROR
      Static value FulfillmentError for ErrorResponseCode.
    • CALCULATE_PRICE_FAILED

      public static final ErrorResponseCode CALCULATE_PRICE_FAILED
      Static value CalculatePriceFailed for ErrorResponseCode.
    • APPLIED_SCOPES_SAME_AS_EXISTING

      public static final ErrorResponseCode APPLIED_SCOPES_SAME_AS_EXISTING
      Static value AppliedScopesSameAsExisting for ErrorResponseCode.
    • SELF_SERVICE_REFUND_NOT_SUPPORTED

      public static final ErrorResponseCode SELF_SERVICE_REFUND_NOT_SUPPORTED
      Static value SelfServiceRefundNotSupported for ErrorResponseCode.
    • REFUND_LIMIT_EXCEEDED

      public static final ErrorResponseCode REFUND_LIMIT_EXCEEDED
      Static value RefundLimitExceeded for ErrorResponseCode.
  • Constructor Details

    • ErrorResponseCode

      @Deprecated public ErrorResponseCode()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ErrorResponseCode value.
  • Method Details

    • fromString

      public static ErrorResponseCode fromString(String name)
      Creates or finds a ErrorResponseCode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ErrorResponseCode.
    • values

      public static Collection<ErrorResponseCode> values()
      Gets known ErrorResponseCode values.
      Returns:
      known ErrorResponseCode values.