Partilhar via


BackupStorageRedundancy Class

public final class BackupStorageRedundancy
extends ExpandableStringEnum<BackupStorageRedundancy>

The storage account type used to store backups for this database.

Field Summary

Modifier and Type Field and Description
static final BackupStorageRedundancy GEO

Static value Geo for BackupStorageRedundancy.

static final BackupStorageRedundancy GEO_ZONE

Static value GeoZone for BackupStorageRedundancy.

static final BackupStorageRedundancy LOCAL

Static value Local for BackupStorageRedundancy.

static final BackupStorageRedundancy ZONE

Static value Zone for BackupStorageRedundancy.

Constructor Summary

Constructor Description
BackupStorageRedundancy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackupStorageRedundancy value.

Method Summary

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

Creates or finds a BackupStorageRedundancy from its string representation.

static Collection<BackupStorageRedundancy> values()

Gets known BackupStorageRedundancy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GEO

public static final BackupStorageRedundancy GEO

Static value Geo for BackupStorageRedundancy.

GEO_ZONE

public static final BackupStorageRedundancy GEO_ZONE

Static value GeoZone for BackupStorageRedundancy.

LOCAL

public static final BackupStorageRedundancy LOCAL

Static value Local for BackupStorageRedundancy.

ZONE

public static final BackupStorageRedundancy ZONE

Static value Zone for BackupStorageRedundancy.

Constructor Details

BackupStorageRedundancy

@Deprecated
public BackupStorageRedundancy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of BackupStorageRedundancy value.

Method Details

fromString

public static BackupStorageRedundancy fromString(String name)

Creates or finds a BackupStorageRedundancy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding BackupStorageRedundancy.

values

public static Collection values()

Gets known BackupStorageRedundancy values.

Returns:

known BackupStorageRedundancy values.

Applies to