136 строки
11 KiB
YAML
136 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource"
|
|
name: "AutoscaleSettingsResource"
|
|
nameWithType: "AutoscaleSettingsResource"
|
|
summary: "Cosmos DB provisioned throughput settings object."
|
|
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 **AutoscaleSettingsResource**</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.AutoscaleSettingsResource?alt=com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource&text=AutoscaleSettingsResource\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.AutoscaleSettingsResource()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.AutoscaleSettingsResource()"
|
|
name: "AutoscaleSettingsResource()"
|
|
nameWithType: "AutoscaleSettingsResource.AutoscaleSettingsResource()"
|
|
summary: "Creates an instance of Autoscale<wbr>Settings<wbr>Resource class."
|
|
syntax: "public AutoscaleSettingsResource()"
|
|
desc: "Creates an instance of AutoscaleSettingsResource class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.autoUpgradePolicy()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.autoUpgradePolicy()"
|
|
name: "autoUpgradePolicy()"
|
|
nameWithType: "AutoscaleSettingsResource.autoUpgradePolicy()"
|
|
summary: "Get the auto<wbr>Upgrade<wbr>Policy property: Cosmos DB resource auto-upgrade policy."
|
|
syntax: "public AutoUpgradePolicyResource autoUpgradePolicy()"
|
|
desc: "Get the autoUpgradePolicy property: Cosmos DB resource auto-upgrade policy."
|
|
returns:
|
|
description: "the autoUpgradePolicy value."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AutoUpgradePolicyResource?alt=com.azure.resourcemanager.cosmos.models.AutoUpgradePolicyResource&text=AutoUpgradePolicyResource\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "AutoscaleSettingsResource.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Autoscale<wbr>Settings<wbr>Resource 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 AutoscaleSettingsResource 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 AutoscaleSettingsResource from the JsonReader."
|
|
returns:
|
|
description: "An instance of AutoscaleSettingsResource if the JsonReader was pointing to an instance of it, or null if\n it was pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource?alt=com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource&text=AutoscaleSettingsResource\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.maxThroughput()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.maxThroughput()"
|
|
name: "maxThroughput()"
|
|
nameWithType: "AutoscaleSettingsResource.maxThroughput()"
|
|
summary: "Get the max<wbr>Throughput property: Represents maximum throughput container can scale up to."
|
|
syntax: "public int maxThroughput()"
|
|
desc: "Get the maxThroughput property: Represents maximum throughput container can scale up to."
|
|
returns:
|
|
description: "the maxThroughput value."
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.targetMaxThroughput()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.targetMaxThroughput()"
|
|
name: "targetMaxThroughput()"
|
|
nameWithType: "AutoscaleSettingsResource.targetMaxThroughput()"
|
|
summary: "Get the target<wbr>Max<wbr>Throughput property: Represents target maximum throughput container can scale up to once offer is no longer in pending state."
|
|
syntax: "public Integer targetMaxThroughput()"
|
|
desc: "Get the targetMaxThroughput property: Represents target maximum throughput container can scale up to once offer is no longer in pending state."
|
|
returns:
|
|
description: "the targetMaxThroughput value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "AutoscaleSettingsResource.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.AutoscaleSettingsResource.validate()"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.validate()"
|
|
name: "validate()"
|
|
nameWithType: "AutoscaleSettingsResource.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.withAutoUpgradePolicy(com.azure.resourcemanager.cosmos.models.AutoUpgradePolicyResource)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.withAutoUpgradePolicy(AutoUpgradePolicyResource autoUpgradePolicy)"
|
|
name: "withAutoUpgradePolicy(AutoUpgradePolicyResource autoUpgradePolicy)"
|
|
nameWithType: "AutoscaleSettingsResource.withAutoUpgradePolicy(AutoUpgradePolicyResource autoUpgradePolicy)"
|
|
summary: "Set the auto<wbr>Upgrade<wbr>Policy property: Cosmos DB resource auto-upgrade policy."
|
|
parameters:
|
|
- description: "the autoUpgradePolicy value to set."
|
|
name: "autoUpgradePolicy"
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AutoUpgradePolicyResource?alt=com.azure.resourcemanager.cosmos.models.AutoUpgradePolicyResource&text=AutoUpgradePolicyResource\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public AutoscaleSettingsResource withAutoUpgradePolicy(AutoUpgradePolicyResource autoUpgradePolicy)"
|
|
desc: "Set the autoUpgradePolicy property: Cosmos DB resource auto-upgrade policy."
|
|
returns:
|
|
description: "the AutoscaleSettingsResource object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource?alt=com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource&text=AutoscaleSettingsResource\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.withMaxThroughput(int)"
|
|
fullName: "com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource.withMaxThroughput(int maxThroughput)"
|
|
name: "withMaxThroughput(int maxThroughput)"
|
|
nameWithType: "AutoscaleSettingsResource.withMaxThroughput(int maxThroughput)"
|
|
summary: "Set the max<wbr>Throughput property: Represents maximum throughput container can scale up to."
|
|
parameters:
|
|
- description: "the maxThroughput value to set."
|
|
name: "maxThroughput"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public AutoscaleSettingsResource withMaxThroughput(int maxThroughput)"
|
|
desc: "Set the maxThroughput property: Represents maximum throughput container can scale up to."
|
|
returns:
|
|
description: "the AutoscaleSettingsResource object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource?alt=com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource&text=AutoscaleSettingsResource\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Cosmos DB provisioned throughput settings object."
|
|
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.AutoscaleSettingsResource?alt=com.azure.resourcemanager.cosmos.models.AutoscaleSettingsResource&text=AutoscaleSettingsResource\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cosmos.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.0
|