DisallowedConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DisallowedConfiguration
- com.
Implements
public final class DisallowedConfiguration
implements JsonSerializable<DisallowedConfiguration>
Specifies the disallowed configuration for a virtual machine image.
Constructor Summary
Constructor | Description |
---|---|
DisallowedConfiguration() |
Creates an instance of Disallowed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Disallowed |
fromJson(JsonReader jsonReader)
Reads an instance of Disallowed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Vm |
vmDiskType()
Get the vm |
Disallowed |
withVmDiskType(VmDiskTypes vmDiskType)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
DisallowedConfiguration
public DisallowedConfiguration()
Creates an instance of DisallowedConfiguration class.
Method Details
fromJson
public static DisallowedConfiguration fromJson(JsonReader jsonReader)
Reads an instance of DisallowedConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
vmDiskType
public VmDiskTypes vmDiskType()
Get the vmDiskType property: VM disk types which are disallowed.
Returns:
withVmDiskType
public DisallowedConfiguration withVmDiskType(VmDiskTypes vmDiskType)
Set the vmDiskType property: VM disk types which are disallowed.
Parameters:
Returns:
Applies to
Azure SDK for Java