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

package com.azure.resourcemanager.imagebuilder.models;

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

/** Specifies the storage account type to be used to store the Azure Compute Gallery image version in. */
public final class SharedImageStorageAccountType extends ExpandableStringEnum<SharedImageStorageAccountType> {
    /** Static value Standard_LRS for SharedImageStorageAccountType. */
    public static final SharedImageStorageAccountType STANDARD_LRS = fromString("Standard_LRS");

    /** Static value Standard_ZRS for SharedImageStorageAccountType. */
    public static final SharedImageStorageAccountType STANDARD_ZRS = fromString("Standard_ZRS");

    /** Static value Premium_LRS for SharedImageStorageAccountType. */
    public static final SharedImageStorageAccountType PREMIUM_LRS = fromString("Premium_LRS");

    /**
     * Creates a new instance of SharedImageStorageAccountType value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public SharedImageStorageAccountType() {
    }

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

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