All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.storage.models.SkuName Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.storage.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called
 * accountType.
 */
public final class SkuName extends ExpandableStringEnum {
    /**
     * Static value Standard_LRS for SkuName.
     */
    public static final SkuName STANDARD_LRS = fromString("Standard_LRS");

    /**
     * Static value Standard_GRS for SkuName.
     */
    public static final SkuName STANDARD_GRS = fromString("Standard_GRS");

    /**
     * Static value Standard_RAGRS for SkuName.
     */
    public static final SkuName STANDARD_RAGRS = fromString("Standard_RAGRS");

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

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

    /**
     * Static value Premium_ZRS for SkuName.
     */
    public static final SkuName PREMIUM_ZRS = fromString("Premium_ZRS");

    /**
     * Static value Standard_GZRS for SkuName.
     */
    public static final SkuName STANDARD_GZRS = fromString("Standard_GZRS");

    /**
     * Static value Standard_RAGZRS for SkuName.
     */
    public static final SkuName STANDARD_RAGZRS = fromString("Standard_RAGZRS");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy