Class DisallowedConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.DisallowedConfiguration
-
public final class DisallowedConfiguration extends Object
Specifies the disallowed configuration for a virtual machine image.
-
-
Constructor Summary
Constructors Constructor Description DisallowedConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.VmDiskTypesvmDiskType()Get the vmDiskType property: VM disk types which are disallowed.DisallowedConfigurationwithVmDiskType(VmDiskTypes vmDiskType)Set the vmDiskType property: VM disk types which are disallowed.
-
-
-
Method Detail
-
vmDiskType
public VmDiskTypes vmDiskType()
Get the vmDiskType property: VM disk types which are disallowed.- Returns:
- the vmDiskType value.
-
withVmDiskType
public DisallowedConfiguration withVmDiskType(VmDiskTypes vmDiskType)
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.
-
-