Disallowed Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. Disallowed
- com.
Implements
public final class Disallowed
implements JsonSerializable<Disallowed>
Describes the disallowed disk types.
Constructor Summary
| Constructor | Description |
|---|---|
| Disallowed() |
Creates an instance of Disallowed class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
diskTypes()
Get the disk |
| static Disallowed |
fromJson(JsonReader jsonReader)
Reads an instance of Disallowed from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Disallowed |
withDiskTypes(List<String> diskTypes)
Set the disk |
Methods inherited from java.lang.Object
Constructor Details
Disallowed
public Disallowed()
Creates an instance of Disallowed class.
Method Details
diskTypes
public List<String> diskTypes()
Get the diskTypes property: A list of disk types.
Returns:
fromJson
public static Disallowed fromJson(JsonReader jsonReader)
Reads an instance of Disallowed from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withDiskTypes
public Disallowed withDiskTypes(List<String> diskTypes)
Set the diskTypes property: A list of disk types.
Parameters:
Returns: