Class DiskPoolUpdate

java.lang.Object
com.azure.resourcemanager.storagepool.models.DiskPoolUpdate

public final class DiskPoolUpdate extends Object
Request payload for Update Disk Pool request.
  • Constructor Details

    • DiskPoolUpdate

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

    • managedBy

      public String managedBy()
      Get the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
      Returns:
      the managedBy value.
    • withManagedBy

      public DiskPoolUpdate withManagedBy(String managedBy)
      Set the managedBy property: Azure resource id. Indicates if this resource is managed by another Azure resource.
      Parameters:
      managedBy - the managedBy value to set.
      Returns:
      the DiskPoolUpdate object itself.
    • managedByExtended

      public List<String> managedByExtended()
      Get the managedByExtended property: List of Azure resource ids that manage this resource.
      Returns:
      the managedByExtended value.
    • withManagedByExtended

      public DiskPoolUpdate withManagedByExtended(List<String> managedByExtended)
      Set the managedByExtended property: List of Azure resource ids that manage this resource.
      Parameters:
      managedByExtended - the managedByExtended value to set.
      Returns:
      the DiskPoolUpdate object itself.
    • sku

      public Sku sku()
      Get the sku property: Determines the SKU of the Disk Pool.
      Returns:
      the sku value.
    • withSku

      public DiskPoolUpdate withSku(Sku sku)
      Set the sku property: Determines the SKU of the Disk Pool.
      Parameters:
      sku - the sku value to set.
      Returns:
      the DiskPoolUpdate object itself.
    • tags

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

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

      public List<Disk> disks()
      Get the disks property: List of Azure Managed Disks to attach to a Disk Pool.
      Returns:
      the disks value.
    • withDisks

      public DiskPoolUpdate withDisks(List<Disk> disks)
      Set the disks property: List of Azure Managed Disks to attach to a Disk Pool.
      Parameters:
      disks - the disks value to set.
      Returns:
      the DiskPoolUpdate object itself.
    • validate

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