StorageAccountType Class

public final class StorageAccountType
extends ExpandableStringEnum<StorageAccountType>

The storage account type used to store backups for this sql pool.

Field Summary

Modifier and Type Field and Description
static final StorageAccountType GRS

Static value GRS for StorageAccountType.

static final StorageAccountType LRS

Static value LRS for StorageAccountType.

Constructor Summary

Constructor Description
StorageAccountType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageAccountType value.

Method Summary

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

Creates or finds a StorageAccountType from its string representation.

static Collection<StorageAccountType> values()

Gets known StorageAccountType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GRS

public static final StorageAccountType GRS

Static value GRS for StorageAccountType.

LRS

public static final StorageAccountType LRS

Static value LRS for StorageAccountType.

Constructor Details

StorageAccountType

@Deprecated
public StorageAccountType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of StorageAccountType value.

Method Details

fromString

public static StorageAccountType fromString(String name)

Creates or finds a StorageAccountType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding StorageAccountType.

values

public static Collection values()

Gets known StorageAccountType values.

Returns:

known StorageAccountType values.

Applies to