122 строки
8.3 KiB
YAML
122 строки
8.3 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability"
|
|
name: "ReadScaleCapability"
|
|
nameWithType: "ReadScaleCapability"
|
|
summary: "The read scale capability."
|
|
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 **ReadScaleCapability**</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.sql.models.ReadScaleCapability?alt=com.azure.resourcemanager.sql.models.ReadScaleCapability&text=ReadScaleCapability\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability.ReadScaleCapability()"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.ReadScaleCapability()"
|
|
name: "ReadScaleCapability()"
|
|
nameWithType: "ReadScaleCapability.ReadScaleCapability()"
|
|
summary: "Creates an instance of Read<wbr>Scale<wbr>Capability class."
|
|
syntax: "public ReadScaleCapability()"
|
|
desc: "Creates an instance of ReadScaleCapability class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "ReadScaleCapability.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Read<wbr>Scale<wbr>Capability 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 ReadScaleCapability fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the ReadScaleCapability."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of ReadScaleCapability from the JsonReader."
|
|
returns:
|
|
description: "An instance of ReadScaleCapability if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.models.ReadScaleCapability?alt=com.azure.resourcemanager.sql.models.ReadScaleCapability&text=ReadScaleCapability\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability.maxNumberOfReplicas()"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.maxNumberOfReplicas()"
|
|
name: "maxNumberOfReplicas()"
|
|
nameWithType: "ReadScaleCapability.maxNumberOfReplicas()"
|
|
summary: "Get the max<wbr>Number<wbr>OfReplicas property: The maximum number of read scale replicas."
|
|
syntax: "public Integer maxNumberOfReplicas()"
|
|
desc: "Get the maxNumberOfReplicas property: The maximum number of read scale replicas."
|
|
returns:
|
|
description: "the maxNumberOfReplicas value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability.reason()"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.reason()"
|
|
name: "reason()"
|
|
nameWithType: "ReadScaleCapability.reason()"
|
|
summary: "Get the reason property: The reason for the capability not being available."
|
|
syntax: "public String reason()"
|
|
desc: "Get the reason property: The reason for the capability not being available."
|
|
returns:
|
|
description: "the reason value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability.status()"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.status()"
|
|
name: "status()"
|
|
nameWithType: "ReadScaleCapability.status()"
|
|
summary: "Get the status property: The status of the capability."
|
|
syntax: "public CapabilityStatus status()"
|
|
desc: "Get the status property: The status of the capability."
|
|
returns:
|
|
description: "the status value."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.models.CapabilityStatus?alt=com.azure.resourcemanager.sql.models.CapabilityStatus&text=CapabilityStatus\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "ReadScaleCapability.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.sql.models.ReadScaleCapability.validate()"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.validate()"
|
|
name: "validate()"
|
|
nameWithType: "ReadScaleCapability.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.sql.models.ReadScaleCapability.withReason(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.sql.models.ReadScaleCapability.withReason(String reason)"
|
|
name: "withReason(String reason)"
|
|
nameWithType: "ReadScaleCapability.withReason(String reason)"
|
|
summary: "Set the reason property: The reason for the capability not being available."
|
|
parameters:
|
|
- description: "the reason value to set."
|
|
name: "reason"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public ReadScaleCapability withReason(String reason)"
|
|
desc: "Set the reason property: The reason for the capability not being available."
|
|
returns:
|
|
description: "the ReadScaleCapability object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.sql.models.ReadScaleCapability?alt=com.azure.resourcemanager.sql.models.ReadScaleCapability&text=ReadScaleCapability\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The read scale capability."
|
|
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.sql.models.ReadScaleCapability?alt=com.azure.resourcemanager.sql.models.ReadScaleCapability&text=ReadScaleCapability\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.sql.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-sql:2.44.0
|