102 строки
7.4 KiB
YAML
102 строки
7.4 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cosmos.models.Capacity"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Capacity"
|
|
name: "Capacity"
|
|
nameWithType: "Capacity"
|
|
summary: "The object that represents all properties related to capacity enforcement on an account."
|
|
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 **Capacity**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cosmos.models.Capacity?alt=com.azure.resourcemanager.cosmos.models.Capacity&text=Capacity\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Capacity.Capacity()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Capacity.Capacity()"
|
|
name: "Capacity()"
|
|
nameWithType: "Capacity.Capacity()"
|
|
summary: "Creates an instance of Capacity class."
|
|
syntax: "public Capacity()"
|
|
desc: "Creates an instance of Capacity class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Capacity.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Capacity.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "Capacity.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Capacity 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 Capacity fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the Capacity."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of Capacity from the JsonReader."
|
|
returns:
|
|
description: "An instance of Capacity 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.cosmos.models.Capacity?alt=com.azure.resourcemanager.cosmos.models.Capacity&text=Capacity\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Capacity.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Capacity.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "Capacity.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.cosmos.models.Capacity.totalThroughputLimit()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Capacity.totalThroughputLimit()"
|
|
name: "totalThroughputLimit()"
|
|
nameWithType: "Capacity.totalThroughputLimit()"
|
|
summary: "Get the total<wbr>Throughput<wbr>Limit property: The total throughput limit imposed on the account."
|
|
syntax: "public Integer totalThroughputLimit()"
|
|
desc: "Get the totalThroughputLimit property: The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput."
|
|
returns:
|
|
description: "the totalThroughputLimit value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Capacity.validate()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Capacity.validate()"
|
|
name: "validate()"
|
|
nameWithType: "Capacity.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cosmos.models.Capacity.withTotalThroughputLimit(java.lang.Integer)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.Capacity.withTotalThroughputLimit(Integer totalThroughputLimit)"
|
|
name: "withTotalThroughputLimit(Integer totalThroughputLimit)"
|
|
nameWithType: "Capacity.withTotalThroughputLimit(Integer totalThroughputLimit)"
|
|
summary: "Set the total<wbr>Throughput<wbr>Limit property: The total throughput limit imposed on the account."
|
|
parameters:
|
|
- description: "the totalThroughputLimit value to set."
|
|
name: "totalThroughputLimit"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public Capacity withTotalThroughputLimit(Integer totalThroughputLimit)"
|
|
desc: "Set the totalThroughputLimit property: The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput."
|
|
returns:
|
|
description: "the Capacity object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.Capacity?alt=com.azure.resourcemanager.cosmos.models.Capacity&text=Capacity\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The object that represents all properties related to capacity enforcement on an account."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cosmos.models.Capacity?alt=com.azure.resourcemanager.cosmos.models.Capacity&text=Capacity\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cosmos.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0
|