Class Disallowed

java.lang.Object
com.azure.resourcemanager.compute.models.Disallowed

public final class Disallowed extends Object
Describes the disallowed disk types.
  • Constructor Details

    • Disallowed

      public Disallowed()
  • Method Details

    • diskTypes

      public List<String> diskTypes()
      Get the diskTypes property: A list of disk types.
      Returns:
      the diskTypes value.
    • withDiskTypes

      public Disallowed withDiskTypes(List<String> diskTypes)
      Set the diskTypes property: A list of disk types.
      Parameters:
      diskTypes - the diskTypes value to set.
      Returns:
      the Disallowed object itself.
    • validate

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