SkuName Class

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 SkuName PREMIUM_LRS

Static value Premium_LRS for SkuName.

static final SkuName PREMIUM_ZRS

Static value Premium_ZRS for SkuName.

static final SkuName STANDARD_GRS

Static value Standard_GRS for SkuName.

static final SkuName STANDARD_GZRS

Static value Standard_GZRS for SkuName.

static final SkuName STANDARD_LRS

Static value Standard_LRS for SkuName.

static final SkuName STANDARD_RAGRS

Static value Standard_RAGRS for SkuName.

static final SkuName STANDARD_RAGZRS

Static value Standard_RAGZRS for SkuName.

static final SkuName STANDARD_ZRS

Static value Standard_ZRS for SkuName.

Constructor Summary

Constructor Description
SkuName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SkuName value.

Method Summary

Modifier and Type Method and Description
static SkuName fromString(String name)

Creates or finds a SkuName from its string representation.

static Collection<SkuName> values()

Gets known SkuName values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding SkuName.

values

public static Collection values()

Gets known SkuName values.

Returns:

known SkuName values.

Applies to