UpgradeErrorCode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.store.partnercenter.models.subscriptions.UpgradeErrorCode

public enum UpgradeErrorCode extends Enum<UpgradeErrorCode>

Fields

CONCURRENCY_CONFLICTS

Upgrade cannot be performed due to concurrent subscription restrictions.

CONFLICTING_SERVICE_TYPES

Upgrade cannot be performed because of conflicting source service types.

DELEGATED_ADMIN_PERMISSIONS_DISABLED

Upgrade cannot be performed because administrative permissions have been removed.

OTHER

The type of errors that prevent subscription upgrading from happening General error.

SUBSCRIPTION_ADD_ONS_PRESENT

Upgrade cannot be performed because the source subscription has previously purchased add-ons.

SUBSCRIPTION_DOES_NOT_HAVE_ANY_UPGRADE_PATHS

Upgrade cannot be performed because the source subscription does not have upgrade paths.

SUBSCRIPTION_NOT_PROVISIONED

The subscription is not provisioned yet.

SUBSCRIPTION_STATUS_NOT_ACTIVE

Upgrade cannot be performed because the subscription status is suspended or deleted.

SUBSCRIPTION_TARGET_OFFER_NOT_FOUND

Upgrade cannot be performed because the specified upgrade path is not an available upgrade path.

USER_CONTEXT_REQUIRED

Upgrade cannot be performed because the current request is using app context.

Inherited Members

java.lang.Enum.<T>valueOf(java.lang.Class<T>,java.lang.String) java.lang.Enum.clone() java.lang.Enum.compareTo(E) java.lang.Enum.equals(java.lang.Object) java.lang.Enum.finalize() java.lang.Enum.getDeclaringClass() java.lang.Enum.hashCode() java.lang.Enum.name() java.lang.Enum.ordinal() java.lang.Enum.toString() java.lang.Object.getClass() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Methods

toString()

public String toString()

Converts the object to a string.

Returns

java.lang.String
A string that represents this object.
Overrides
java.lang.Enum.toString()

valueOf(String name)

public static UpgradeErrorCode valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static UpgradeErrorCode[] values()

Returns

Applies to