Class GalleryInVMAccessControlProfileUpdate
java.lang.Object
com.azure.resourcemanager.compute.models.UpdateResourceDefinition
com.azure.resourcemanager.compute.models.GalleryInVMAccessControlProfileUpdate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UpdateResourceDefinition>
Specifies information about the gallery inVMAccessControlProfile that you want to update.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GalleryInVMAccessControlProfileUpdate class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GalleryInVMAccessControlProfileUpdate from the JsonReader.id()Get the id property: Resource Id.name()Get the name property: Resource name.Get the properties property: Describes the properties of a gallery inVMAccessControlProfile.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Resource type.voidvalidate()Validates the instance.Set the properties property: Describes the properties of a gallery inVMAccessControlProfile.Set the tags property: Resource tags.Methods inherited from class UpdateResourceDefinition
tagsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
GalleryInVMAccessControlProfileUpdate
public GalleryInVMAccessControlProfileUpdate()Creates an instance of GalleryInVMAccessControlProfileUpdate class.
-
-
Method Details
-
properties
Get the properties property: Describes the properties of a gallery inVMAccessControlProfile.- Returns:
- the properties value.
-
withProperties
public GalleryInVMAccessControlProfileUpdate withProperties(GalleryInVMAccessControlProfileProperties properties) Set the properties property: Describes the properties of a gallery inVMAccessControlProfile.- Parameters:
properties- the properties value to set.- Returns:
- the GalleryInVMAccessControlProfileUpdate object itself.
-
type
Get the type property: Resource type.- Overrides:
typein classUpdateResourceDefinition- Returns:
- the type value.
-
name
Get the name property: Resource name.- Overrides:
namein classUpdateResourceDefinition- Returns:
- the name value.
-
id
Get the id property: Resource Id.- Overrides:
idin classUpdateResourceDefinition- Returns:
- the id value.
-
withTags
Set the tags property: Resource tags.- Overrides:
withTagsin classUpdateResourceDefinition- Parameters:
tags- the tags value to set.- Returns:
- the UpdateResourceDefinition object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classUpdateResourceDefinition- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<UpdateResourceDefinition>- Overrides:
toJsonin classUpdateResourceDefinition- Throws:
IOException
-
fromJson
public static GalleryInVMAccessControlProfileUpdate fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of GalleryInVMAccessControlProfileUpdate from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of GalleryInVMAccessControlProfileUpdate if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the GalleryInVMAccessControlProfileUpdate.
-