// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.appservice.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem. */
public final class AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
    extends ExpandableStringEnum<
        AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem> {
    /**
     * Static value RegistrationStatusNotSupportedForRenewal for
     * AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem.
     */
    public static final AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
        REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = fromString("RegistrationStatusNotSupportedForRenewal");

    /**
     * Static value ExpirationNotInRenewalTimeRange for
     * AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem.
     */
    public static final AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
        EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = fromString("ExpirationNotInRenewalTimeRange");

    /**
     * Static value SubscriptionNotActive for
     * AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem.
     */
    public static final AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
        SUBSCRIPTION_NOT_ACTIVE = fromString("SubscriptionNotActive");

    /**
     * Creates or finds a AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
     * from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding
     *     AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem.
     */
    @JsonCreator
    public static AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
        fromString(String name) {
        return fromString(
            name, AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem.class);
    }

    /**
     * @return known AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem
     *     values.
     */
    public static Collection<
            AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem>
        values() {
        return values(
            AppServiceCertificateOrderPatchResourcePropertiesAppServiceCertificateNotRenewableReasonsItem.class);
    }
}
