SkuName Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. storage. models. SkuName
- com.
- com.
public final class SkuName
extends ExpandableStringEnum<SkuName>
The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Sku |
PREMIUM_LRS
Static value Premium_LRS for Sku |
static final
Sku |
PREMIUM_ZRS
Static value Premium_ZRS for Sku |
static final
Sku |
STANDARD_GRS
Static value Standard_GRS for Sku |
static final
Sku |
STANDARD_GZRS
Static value Standard_GZRS for Sku |
static final
Sku |
STANDARD_LRS
Static value Standard_LRS for Sku |
static final
Sku |
STANDARD_RAGRS
Static value Standard_RAGRS for Sku |
static final
Sku |
STANDARD_RAGZRS
Static value Standard_RAGZRS for Sku |
static final
Sku |
STANDARD_ZRS
Static value Standard_ZRS for Sku |
Constructor Summary
Constructor | Description |
---|---|
SkuName() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Sku |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Sku |
fromString(String name)
Creates or finds a Sku |
static
Collection<Sku |
values()
Gets known Sku |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PREMIUM_LRS
public static final SkuName PREMIUM_LRS
Static value Premium_LRS for SkuName.
PREMIUM_ZRS
public static final SkuName PREMIUM_ZRS
Static value Premium_ZRS for SkuName.
STANDARD_GRS
public static final SkuName STANDARD_GRS
Static value Standard_GRS for SkuName.
STANDARD_GZRS
public static final SkuName STANDARD_GZRS
Static value Standard_GZRS for SkuName.
STANDARD_LRS
public static final SkuName STANDARD_LRS
Static value Standard_LRS for SkuName.
STANDARD_RAGRS
public static final SkuName STANDARD_RAGRS
Static value Standard_RAGRS for SkuName.
STANDARD_RAGZRS
public static final SkuName STANDARD_RAGZRS
Static value Standard_RAGZRS for SkuName.
STANDARD_ZRS
public static final SkuName STANDARD_ZRS
Static value Standard_ZRS for SkuName.
Constructor Details
SkuName
@Deprecated
public SkuName()
Deprecated
Creates a new instance of SkuName value.
Method Details
fromString
public static SkuName fromString(String name)
Creates or finds a SkuName from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SkuName values.
Returns:
Applies to
Azure SDK for Java