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

102 строки
7.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.UpdateResource"
fullName: "com.azure.resourcemanager.compute.models.UpdateResource"
name: "UpdateResource"
nameWithType: "UpdateResource"
summary: "The Update Resource model definition."
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 class **UpdateResource**</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.models.UpdateResource?alt=com.azure.resourcemanager.compute.models.UpdateResource&text=UpdateResource\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.compute.models.UpdateResource.UpdateResource()"
fullName: "com.azure.resourcemanager.compute.models.UpdateResource.UpdateResource()"
name: "UpdateResource()"
nameWithType: "UpdateResource.UpdateResource()"
summary: "Creates an instance of Update<wbr>Resource class."
syntax: "public UpdateResource()"
desc: "Creates an instance of UpdateResource class."
methods:
- uid: "com.azure.resourcemanager.compute.models.UpdateResource.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.compute.models.UpdateResource.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "UpdateResource.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Update<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 UpdateResource fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the UpdateResource."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of UpdateResource from the JsonReader."
returns:
description: "An instance of UpdateResource 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.compute.models.UpdateResource?alt=com.azure.resourcemanager.compute.models.UpdateResource&text=UpdateResource\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.UpdateResource.tags()"
fullName: "com.azure.resourcemanager.compute.models.UpdateResource.tags()"
name: "tags()"
nameWithType: "UpdateResource.tags()"
summary: "Get the tags property: Resource tags."
syntax: "public Map<String,String> tags()"
desc: "Get the tags property: Resource tags."
returns:
description: "the tags value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.compute.models.UpdateResource.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.compute.models.UpdateResource.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "UpdateResource.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.models.UpdateResource.validate()"
fullName: "com.azure.resourcemanager.compute.models.UpdateResource.validate()"
name: "validate()"
nameWithType: "UpdateResource.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.compute.models.UpdateResource.withTags(java.util.Map<java.lang.String,java.lang.String>)"
fullName: "com.azure.resourcemanager.compute.models.UpdateResource.withTags(Map<String,String> tags)"
name: "withTags(Map<String,String> tags)"
nameWithType: "UpdateResource.withTags(Map<String,String> tags)"
summary: "Set the tags property: Resource tags."
parameters:
- description: "the tags value to set."
name: "tags"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public UpdateResource withTags(Map<String,String> tags)"
desc: "Set the tags property: Resource tags."
returns:
description: "the UpdateResource object itself."
type: "<xref href=\"com.azure.resourcemanager.compute.models.UpdateResource?alt=com.azure.resourcemanager.compute.models.UpdateResource&text=UpdateResource\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The Update Resource model definition."
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.models.UpdateResource?alt=com.azure.resourcemanager.compute.models.UpdateResource&text=UpdateResource\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0