Class AvailabilitySetUpdate

java.lang.Object
com.microsoft.azure.management.compute.UpdateResource
com.microsoft.azure.management.compute.AvailabilitySetUpdate

public class AvailabilitySetUpdate extends UpdateResource
Specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated.
  • Constructor Details

    • AvailabilitySetUpdate

      public AvailabilitySetUpdate()
  • Method Details

    • platformUpdateDomainCount

      public Integer platformUpdateDomainCount()
      Get update Domain count.
      Returns:
      the platformUpdateDomainCount value
    • withPlatformUpdateDomainCount

      public AvailabilitySetUpdate withPlatformUpdateDomainCount(Integer platformUpdateDomainCount)
      Set update Domain count.
      Parameters:
      platformUpdateDomainCount - the platformUpdateDomainCount value to set
      Returns:
      the AvailabilitySetUpdate object itself.
    • platformFaultDomainCount

      public Integer platformFaultDomainCount()
      Get fault Domain count.
      Returns:
      the platformFaultDomainCount value
    • withPlatformFaultDomainCount

      public AvailabilitySetUpdate withPlatformFaultDomainCount(Integer platformFaultDomainCount)
      Set fault Domain count.
      Parameters:
      platformFaultDomainCount - the platformFaultDomainCount value to set
      Returns:
      the AvailabilitySetUpdate object itself.
    • virtualMachines

      public List<com.microsoft.azure.SubResource> virtualMachines()
      Get a list of references to all virtual machines in the availability set.
      Returns:
      the virtualMachines value
    • withVirtualMachines

      public AvailabilitySetUpdate withVirtualMachines(List<com.microsoft.azure.SubResource> virtualMachines)
      Set a list of references to all virtual machines in the availability set.
      Parameters:
      virtualMachines - the virtualMachines value to set
      Returns:
      the AvailabilitySetUpdate object itself.
    • proximityPlacementGroup

      public com.microsoft.azure.SubResource proximityPlacementGroup()
      Get specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
      Returns:
      the proximityPlacementGroup value
    • withProximityPlacementGroup

      public AvailabilitySetUpdate withProximityPlacementGroup(com.microsoft.azure.SubResource proximityPlacementGroup)
      Set specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
      Parameters:
      proximityPlacementGroup - the proximityPlacementGroup value to set
      Returns:
      the AvailabilitySetUpdate object itself.
    • statuses

      public List<InstanceViewStatus> statuses()
      Get the resource status information.
      Returns:
      the statuses value
    • sku

      public Sku sku()
      Get sku of the availability set.
      Returns:
      the sku value
    • withSku

      public AvailabilitySetUpdate withSku(Sku sku)
      Set sku of the availability set.
      Parameters:
      sku - the sku value to set
      Returns:
      the AvailabilitySetUpdate object itself.