Class LogSizeUnit
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LogSizeUnit>
com.azure.resourcemanager.sql.models.LogSizeUnit
The units that the limit is expressed in.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LogSizeUnitStatic value Gigabytes for LogSizeUnit.static final LogSizeUnitStatic value Megabytes for LogSizeUnit.static final LogSizeUnitStatic value Percent for LogSizeUnit.static final LogSizeUnitStatic value Petabytes for LogSizeUnit.static final LogSizeUnitStatic value Terabytes for LogSizeUnit. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LogSizeUnitfromString(String name) Creates or finds a LogSizeUnit from its string representation.static Collection<LogSizeUnit>values()Gets known LogSizeUnit values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
MEGABYTES
Static value Megabytes for LogSizeUnit. -
GIGABYTES
Static value Gigabytes for LogSizeUnit. -
TERABYTES
Static value Terabytes for LogSizeUnit. -
PETABYTES
Static value Petabytes for LogSizeUnit. -
PERCENT
Static value Percent for LogSizeUnit.
-
-
Constructor Details
-
LogSizeUnit
public LogSizeUnit()
-
-
Method Details
-
fromString
Creates or finds a LogSizeUnit from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LogSizeUnit.
-
values
Gets known LogSizeUnit values.- Returns:
- known LogSizeUnit values.
-