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

174 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner"
name: "UsageInner"
nameWithType: "UsageInner"
summary: "Describes Compute Resource Usage."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- 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#equals-java.lang.Object-\">equals</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#hashCode--\">hashCode</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#toString--\">toString</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 **UsageInner**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.fluent.models.UsageInner?alt=com.azure.resourcemanager.compute.fluent.models.UsageInner&text=UsageInner\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.UsageInner()"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.UsageInner()"
name: "UsageInner()"
nameWithType: "UsageInner.UsageInner()"
summary: "Creates an instance of Usage<wbr>Inner class."
syntax: "public UsageInner()"
desc: "Creates an instance of UsageInner class."
methods:
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.currentValue()"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.currentValue()"
name: "currentValue()"
nameWithType: "UsageInner.currentValue()"
summary: "Get the current<wbr>Value property: The current usage of the resource."
syntax: "public int currentValue()"
desc: "Get the currentValue property: The current usage of the resource."
returns:
description: "the currentValue value."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "UsageInner.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Usage<wbr>Inner from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static UsageInner fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of UsageInner from the JsonReader."
returns:
description: "An instance of UsageInner if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
type: "<xref href=\"com.azure.resourcemanager.compute.fluent.models.UsageInner?alt=com.azure.resourcemanager.compute.fluent.models.UsageInner&text=UsageInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.limit()"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.limit()"
name: "limit()"
nameWithType: "UsageInner.limit()"
summary: "Get the limit property: The maximum permitted usage of the resource."
syntax: "public long limit()"
desc: "Get the limit property: The maximum permitted usage of the resource."
returns:
description: "the limit value."
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.name()"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.name()"
name: "name()"
nameWithType: "UsageInner.name()"
summary: "Get the name property: The name of the type of usage."
syntax: "public UsageName name()"
desc: "Get the name property: The name of the type of usage."
returns:
description: "the name value."
type: "<xref href=\"com.azure.resourcemanager.compute.models.UsageName?alt=com.azure.resourcemanager.compute.models.UsageName&text=UsageName\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "UsageInner.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.unit()"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.unit()"
name: "unit()"
nameWithType: "UsageInner.unit()"
summary: "Get the unit property: An enum describing the unit of usage measurement."
syntax: "public String unit()"
desc: "Get the unit property: An enum describing the unit of usage measurement."
returns:
description: "the unit value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.validate()"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.validate()"
name: "validate()"
nameWithType: "UsageInner.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withCurrentValue(int)"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withCurrentValue(int currentValue)"
name: "withCurrentValue(int currentValue)"
nameWithType: "UsageInner.withCurrentValue(int currentValue)"
summary: "Set the current<wbr>Value property: The current usage of the resource."
parameters:
- description: "the currentValue value to set."
name: "currentValue"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public UsageInner withCurrentValue(int currentValue)"
desc: "Set the currentValue property: The current usage of the resource."
returns:
description: "the UsageInner object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.fluent.models.UsageInner?alt=com.azure.resourcemanager.compute.fluent.models.UsageInner&text=UsageInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withLimit(long)"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withLimit(long limit)"
name: "withLimit(long limit)"
nameWithType: "UsageInner.withLimit(long limit)"
summary: "Set the limit property: The maximum permitted usage of the resource."
parameters:
- description: "the limit value to set."
name: "limit"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public UsageInner withLimit(long limit)"
desc: "Set the limit property: The maximum permitted usage of the resource."
returns:
description: "the UsageInner object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.fluent.models.UsageInner?alt=com.azure.resourcemanager.compute.fluent.models.UsageInner&text=UsageInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withName(com.azure.resourcemanager.compute.models.UsageName)"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withName(UsageName name)"
name: "withName(UsageName name)"
nameWithType: "UsageInner.withName(UsageName name)"
summary: "Set the name property: The name of the type of usage."
parameters:
- description: "the name value to set."
name: "name"
type: "<xref href=\"com.azure.resourcemanager.compute.models.UsageName?alt=com.azure.resourcemanager.compute.models.UsageName&text=UsageName\" data-throw-if-not-resolved=\"False\" />"
syntax: "public UsageInner withName(UsageName name)"
desc: "Set the name property: The name of the type of usage."
returns:
description: "the UsageInner object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.fluent.models.UsageInner?alt=com.azure.resourcemanager.compute.fluent.models.UsageInner&text=UsageInner\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withUnit(java.lang.String)"
fullName: "com.azure.resourcemanager.compute.fluent.models.UsageInner.withUnit(String unit)"
name: "withUnit(String unit)"
nameWithType: "UsageInner.withUnit(String unit)"
summary: "Set the unit property: An enum describing the unit of usage measurement."
parameters:
- description: "the unit value to set."
name: "unit"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public UsageInner withUnit(String unit)"
desc: "Set the unit property: An enum describing the unit of usage measurement."
returns:
description: "the UsageInner object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.fluent.models.UsageInner?alt=com.azure.resourcemanager.compute.fluent.models.UsageInner&text=UsageInner\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Describes Compute Resource Usage."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.compute.fluent.models.UsageInner?alt=com.azure.resourcemanager.compute.fluent.models.UsageInner&text=UsageInner\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.fluent.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0