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

public final class Disk extends Object
Azure Managed Disk to attach to the Disk Pool.
  • Constructor Details

    • Disk

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

    • id

      public String id()
      Get the id property: Unique Azure Resource ID of the Managed Disk.
      Returns:
      the id value.
    • withId

      public Disk withId(String id)
      Set the id property: Unique Azure Resource ID of the Managed Disk.
      Parameters:
      id - the id value to set.
      Returns:
      the Disk object itself.
    • validate

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