Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.storage; import java.util.Collection; import com.fasterxml.jackson.annotation.JsonCreator; import com.microsoft.rest.ExpandableStringEnum;
Defines values for ReasonCode.
/** * Defines values for ReasonCode. */
public final class ReasonCode extends ExpandableStringEnum<ReasonCode> {
Static value QuotaId for ReasonCode.
/** Static value QuotaId for ReasonCode. */
public static final ReasonCode QUOTA_ID = fromString("QuotaId");
Static value NotAvailableForSubscription for ReasonCode.
/** Static value NotAvailableForSubscription for ReasonCode. */
public static final ReasonCode NOT_AVAILABLE_FOR_SUBSCRIPTION = fromString("NotAvailableForSubscription");
Creates or finds a ReasonCode from its string representation.
Params:
  • name – a name to look for
Returns:the corresponding ReasonCode
/** * Creates or finds a ReasonCode from its string representation. * @param name a name to look for * @return the corresponding ReasonCode */
@JsonCreator public static ReasonCode fromString(String name) { return fromString(name, ReasonCode.class); }
Returns:known ReasonCode values
/** * @return known ReasonCode values */
public static Collection<ReasonCode> values() { return values(ReasonCode.class); } }