azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

158 строки
9.4 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.UnitType"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType"
name: "UnitType"
nameWithType: "UnitType"
summary: "The unit of the metric."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **UnitType**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.UnitType()"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.UnitType()"
name: "UnitType()"
nameWithType: "UnitType.UnitType()"
summary: "Creates a new instance of Unit<wbr>Type value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.cosmos.models.UnitType.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public UnitType()"
desc: "Creates a new instance of UnitType value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.BYTES"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.BYTES"
name: "BYTES"
nameWithType: "UnitType.BYTES"
summary: "Static value Bytes for Unit<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final UnitType BYTES"
desc: "Static value Bytes for UnitType."
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.BYTES_PER_SECOND"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.BYTES_PER_SECOND"
name: "BYTES_PER_SECOND"
nameWithType: "UnitType.BYTES_PER_SECOND"
summary: "Static value Bytes<wbr>Per<wbr>Second for Unit<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final UnitType BYTES_PER_SECOND"
desc: "Static value BytesPerSecond for UnitType."
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.COUNT"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.COUNT"
name: "COUNT"
nameWithType: "UnitType.COUNT"
summary: "Static value Count for Unit<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final UnitType COUNT"
desc: "Static value Count for UnitType."
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.COUNT_PER_SECOND"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.COUNT_PER_SECOND"
name: "COUNT_PER_SECOND"
nameWithType: "UnitType.COUNT_PER_SECOND"
summary: "Static value Count<wbr>Per<wbr>Second for Unit<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final UnitType COUNT_PER_SECOND"
desc: "Static value CountPerSecond for UnitType."
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.MILLISECONDS"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.MILLISECONDS"
name: "MILLISECONDS"
nameWithType: "UnitType.MILLISECONDS"
summary: "Static value Milliseconds for Unit<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final UnitType MILLISECONDS"
desc: "Static value Milliseconds for UnitType."
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.PERCENT"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.PERCENT"
name: "PERCENT"
nameWithType: "UnitType.PERCENT"
summary: "Static value Percent for Unit<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final UnitType PERCENT"
desc: "Static value Percent for UnitType."
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.SECONDS"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.SECONDS"
name: "SECONDS"
nameWithType: "UnitType.SECONDS"
summary: "Static value Seconds for Unit<wbr>Type."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final UnitType SECONDS"
desc: "Static value Seconds for UnitType."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.fromString(String name)"
name: "fromString(String name)"
nameWithType: "UnitType.fromString(String name)"
summary: "Creates or finds a Unit<wbr>Type from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static UnitType fromString(String name)"
desc: "Creates or finds a UnitType from its string representation."
returns:
description: "the corresponding UnitType."
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.UnitType.values()"
fullName: "com.azure.resourcemanager.cosmos.models.UnitType.values()"
name: "values()"
nameWithType: "UnitType.values()"
summary: "Gets known Unit<wbr>Type values."
modifiers:
- "static"
syntax: "public static Collection<UnitType> values()"
desc: "Gets known UnitType values."
returns:
description: "known UnitType values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.UnitType?alt=com.azure.resourcemanager.cosmos.models.UnitType&text=UnitType\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "The unit of the metric."
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.42.0