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

150 строки
9.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.avs.models.ClusterUpdate"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate"
name: "ClusterUpdate"
nameWithType: "ClusterUpdate"
summary: "An update of a cluster resource."
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 **ClusterUpdate**</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.avs.models.ClusterUpdate?alt=com.azure.resourcemanager.avs.models.ClusterUpdate&text=ClusterUpdate\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.ClusterUpdate()"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.ClusterUpdate()"
name: "ClusterUpdate()"
nameWithType: "ClusterUpdate.ClusterUpdate()"
summary: "Creates an instance of Cluster<wbr>Update class."
syntax: "public ClusterUpdate()"
desc: "Creates an instance of ClusterUpdate class."
methods:
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.clusterSize()"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.clusterSize()"
name: "clusterSize()"
nameWithType: "ClusterUpdate.clusterSize()"
summary: "Get the cluster<wbr>Size property: The cluster size."
syntax: "public Integer clusterSize()"
desc: "Get the clusterSize property: The cluster size."
returns:
description: "the clusterSize value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ClusterUpdate.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Cluster<wbr>Update 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 ClusterUpdate fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ClusterUpdate."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ClusterUpdate from the JsonReader."
returns:
description: "An instance of ClusterUpdate 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.avs.models.ClusterUpdate?alt=com.azure.resourcemanager.avs.models.ClusterUpdate&text=ClusterUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.hosts()"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.hosts()"
name: "hosts()"
nameWithType: "ClusterUpdate.hosts()"
summary: "Get the hosts property: The hosts."
syntax: "public List<String> hosts()"
desc: "Get the hosts property: The hosts."
returns:
description: "the hosts value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.sku()"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.sku()"
name: "sku()"
nameWithType: "ClusterUpdate.sku()"
summary: "Get the sku property: The SKU (Stock Keeping Unit) assigned to this resource."
syntax: "public Sku sku()"
desc: "Get the sku property: The SKU (Stock Keeping Unit) assigned to this resource."
returns:
description: "the sku value."
type: "<xref href=\"com.azure.resourcemanager.avs.models.Sku?alt=com.azure.resourcemanager.avs.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ClusterUpdate.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.avs.models.ClusterUpdate.validate()"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.validate()"
name: "validate()"
nameWithType: "ClusterUpdate.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.withClusterSize(java.lang.Integer)"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.withClusterSize(Integer clusterSize)"
name: "withClusterSize(Integer clusterSize)"
nameWithType: "ClusterUpdate.withClusterSize(Integer clusterSize)"
summary: "Set the cluster<wbr>Size property: The cluster size."
parameters:
- description: "the clusterSize value to set."
name: "clusterSize"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ClusterUpdate withClusterSize(Integer clusterSize)"
desc: "Set the clusterSize property: The cluster size."
returns:
description: "the ClusterUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.avs.models.ClusterUpdate?alt=com.azure.resourcemanager.avs.models.ClusterUpdate&text=ClusterUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.withHosts(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.withHosts(List<String> hosts)"
name: "withHosts(List<String> hosts)"
nameWithType: "ClusterUpdate.withHosts(List<String> hosts)"
summary: "Set the hosts property: The hosts."
parameters:
- description: "the hosts value to set."
name: "hosts"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public ClusterUpdate withHosts(List<String> hosts)"
desc: "Set the hosts property: The hosts."
returns:
description: "the ClusterUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.avs.models.ClusterUpdate?alt=com.azure.resourcemanager.avs.models.ClusterUpdate&text=ClusterUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.avs.models.ClusterUpdate.withSku(com.azure.resourcemanager.avs.models.Sku)"
fullName: "com.azure.resourcemanager.avs.models.ClusterUpdate.withSku(Sku sku)"
name: "withSku(Sku sku)"
nameWithType: "ClusterUpdate.withSku(Sku sku)"
summary: "Set the sku property: The SKU (Stock Keeping Unit) assigned to this resource."
parameters:
- description: "the sku value to set."
name: "sku"
type: "<xref href=\"com.azure.resourcemanager.avs.models.Sku?alt=com.azure.resourcemanager.avs.models.Sku&text=Sku\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ClusterUpdate withSku(Sku sku)"
desc: "Set the sku property: The SKU (Stock Keeping Unit) assigned to this resource."
returns:
description: "the ClusterUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.avs.models.ClusterUpdate?alt=com.azure.resourcemanager.avs.models.ClusterUpdate&text=ClusterUpdate\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "An update of a cluster resource."
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.avs.models.ClusterUpdate?alt=com.azure.resourcemanager.avs.models.ClusterUpdate&text=ClusterUpdate\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.avs.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-avs:1.2.0