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

package com.azure.resourcemanager.compute.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 image. This property is not updatable. */
public final class StorageAccountType extends ExpandableStringEnum<StorageAccountType> {
    /** Static value Standard_LRS for StorageAccountType. */
    public static final StorageAccountType STANDARD_LRS = fromString("Standard_LRS");

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

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

    /** Static value StandardSSD_LRS for StorageAccountType. */
    public static final StorageAccountType STANDARD_SSD_LRS = fromString("StandardSSD_LRS");

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

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

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