Partager via


DedicatedHostGroupPropertiesAdditionalCapabilities Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.DedicatedHostGroupPropertiesAdditionalCapabilities

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 DedicatedHostGroupPropertiesAdditionalCapabilities class.

Method Summary

Modifier and Type Method and Description
static DedicatedHostGroupPropertiesAdditionalCapabilities fromJson(JsonReader jsonReader)

Reads an instance of DedicatedHostGroupPropertiesAdditionalCapabilities from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
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.

void validate()

Validates the instance.

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.

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:

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

the ultraSsdEnabled value.

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:

ultraSsdEnabled - the ultraSsdEnabled value to set.

Returns:

the DedicatedHostGroupPropertiesAdditionalCapabilities object itself.

Applies to