DedicatedHostGroupPropertiesAdditionalCapabilities Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DedicatedHostGroupPropertiesAdditionalCapabilities
- com.
Implements
public final class DedicatedHostGroupPropertiesAdditionalCapabilities
implements JsonSerializable<DedicatedHostGroupPropertiesAdditionalCapabilities>
Enables or disables a capability on the dedicated host group. Minimum api-version: 2022-03-01.
Constructor Summary
Constructor | Description |
---|---|
DedicatedHostGroupPropertiesAdditionalCapabilities() |
Creates an instance of Dedicated |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Dedicated |
fromJson(JsonReader jsonReader)
Reads an instance of Dedicated |
Json |
toJson(JsonWriter jsonWriter) |
Boolean |
ultraSsdEnabled()
Get the ultra |
void |
validate()
Validates the instance. |
Dedicated |
withUltraSsdEnabled(Boolean ultraSsdEnabled)
Set the ultra |
Methods inherited from java.lang.Object
Constructor Details
DedicatedHostGroupPropertiesAdditionalCapabilities
public DedicatedHostGroupPropertiesAdditionalCapabilities()
Creates an instance of DedicatedHostGroupPropertiesAdditionalCapabilities class.
Method Details
fromJson
public static DedicatedHostGroupPropertiesAdditionalCapabilities fromJson(JsonReader jsonReader)
Reads an instance of DedicatedHostGroupPropertiesAdditionalCapabilities from the JsonReader.
Parameters:
Returns:
Throws:
toJson
ultraSsdEnabled
public Boolean 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:
validate
public void validate()
Validates the instance.
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:
Returns:
Applies to
Azure SDK for Java