Class Disallowed
java.lang.Object
com.azure.resourcemanager.compute.models.Disallowed
Describes the disallowed disk types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the diskTypes property: A list of disk types.voidvalidate()Validates the instance.withDiskTypes(List<String> diskTypes) Set the diskTypes property: A list of disk types.
-
Constructor Details
-
Disallowed
public Disallowed()Creates an instance of Disallowed class.
-
-
Method Details
-
diskTypes
Get the diskTypes property: A list of disk types.- Returns:
- the diskTypes value.
-
withDiskTypes
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.
-