Class DedicatedHostGroupPropertiesAdditionalCapabilities
java.lang.Object
com.azure.resourcemanager.compute.models.DedicatedHostGroupPropertiesAdditionalCapabilities
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DedicatedHostGroupPropertiesAdditionalCapabilities>
public final class DedicatedHostGroupPropertiesAdditionalCapabilities
extends Object
implements com.azure.json.JsonSerializable<DedicatedHostGroupPropertiesAdditionalCapabilities>
Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DedicatedHostGroupPropertiesAdditionalCapabilities class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DedicatedHostGroupPropertiesAdditionalCapabilities from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the ultraSsdEnabled property: The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group.voidvalidate()Validates the instance.withUltraSsdEnabled(Boolean ultraSsdEnabled) Set the ultraSsdEnabled property: The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DedicatedHostGroupPropertiesAdditionalCapabilities
public DedicatedHostGroupPropertiesAdditionalCapabilities()Creates an instance of DedicatedHostGroupPropertiesAdditionalCapabilities class.
-
-
Method Details
-
ultraSsdEnabled
Get the ultraSsdEnabled property: The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01.- Returns:
- the ultraSsdEnabled value.
-
withUltraSsdEnabled
public DedicatedHostGroupPropertiesAdditionalCapabilities withUltraSsdEnabled(Boolean ultraSsdEnabled) Set the ultraSsdEnabled property: The flag that enables or disables a capability to have UltraSSD Enabled Virtual Machines on Dedicated Hosts of the Dedicated Host Group. For the Virtual Machines to be UltraSSD Enabled, UltraSSDEnabled flag for the resource needs to be set true as well. The value is defaulted to 'false' when not provided. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/disks-enable-ultra-ssd for more details on Ultra SSD feature. **Note:** The ultraSSDEnabled setting can only be enabled for Host Groups that are created as zonal. Minimum api-version: 2022-03-01.- Parameters:
ultraSsdEnabled- the ultraSsdEnabled value to set.- Returns:
- the DedicatedHostGroupPropertiesAdditionalCapabilities object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DedicatedHostGroupPropertiesAdditionalCapabilities>- Throws:
IOException
-
fromJson
public static DedicatedHostGroupPropertiesAdditionalCapabilities fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DedicatedHostGroupPropertiesAdditionalCapabilities from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DedicatedHostGroupPropertiesAdditionalCapabilities if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the DedicatedHostGroupPropertiesAdditionalCapabilities.
-