Class UpdateResource

java.lang.Object
com.azure.resourcemanager.compute.models.UpdateResource
Direct Known Subclasses:
AvailabilitySetUpdate, CapacityReservationGroupUpdate, CapacityReservationUpdate, DedicatedHostGroupUpdate, DedicatedHostUpdate, ImageUpdate, ProximityPlacementGroupUpdate, RestorePointCollectionUpdate, SshPublicKeyUpdateResource, VirtualMachineExtensionUpdate, VirtualMachineRunCommandUpdate, VirtualMachineScaleSetUpdate, VirtualMachineUpdateInner

public class UpdateResource extends Object
The Update Resource model definition.
  • Constructor Details

    • UpdateResource

      public UpdateResource()
      Creates an instance of UpdateResource class.
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public UpdateResource withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the UpdateResource object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.