Class DisallowedConfiguration
java.lang.Object
com.azure.resourcemanager.compute.models.DisallowedConfiguration
Specifies the disallowed configuration for a virtual machine image.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DisallowedConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates the instance.Get the vmDiskType property: VM disk types which are disallowed.withVmDiskType(VmDiskTypes vmDiskType) Set the vmDiskType property: VM disk types which are disallowed.
-
Constructor Details
-
DisallowedConfiguration
public DisallowedConfiguration()Creates an instance of DisallowedConfiguration class.
-
-
Method Details
-
vmDiskType
Get the vmDiskType property: VM disk types which are disallowed.- Returns:
- the vmDiskType value.
-
withVmDiskType
Set the vmDiskType property: VM disk types which are disallowed.- Parameters:
vmDiskType- the vmDiskType value to set.- Returns:
- the DisallowedConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-