Share via


AdditionalCapabilities Class

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

Implements

public final class AdditionalCapabilities
implements JsonSerializable<AdditionalCapabilities>

Enables or disables a capability on the virtual machine or virtual machine scale set.

Constructor Summary

Constructor Description
AdditionalCapabilities()

Creates an instance of AdditionalCapabilities class.

Method Summary

Modifier and Type Method and Description
Boolean enableFips1403Encryption()

Get the enableFips1403Encryption property: The flag enables the usage of FIPS 140-3 compliant cryptography on the protectedSettings of an extension.

static AdditionalCapabilities fromJson(JsonReader jsonReader)

Reads an instance of AdditionalCapabilities from the JsonReader.

Boolean hibernationEnabled()

Get the hibernationEnabled property: The flag that enables or disables hibernation capability on the VM.

JsonWriter toJson(JsonWriter jsonWriter)
Boolean ultraSsdEnabled()

Get the ultraSsdEnabled property: The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS.

void validate()

Validates the instance.

AdditionalCapabilities withEnableFips1403Encryption(Boolean enableFips1403Encryption)

Set the enableFips1403Encryption property: The flag enables the usage of FIPS 140-3 compliant cryptography on the protectedSettings of an extension.

AdditionalCapabilities withHibernationEnabled(Boolean hibernationEnabled)

Set the hibernationEnabled property: The flag that enables or disables hibernation capability on the VM.

AdditionalCapabilities withUltraSsdEnabled(Boolean ultraSsdEnabled)

Set the ultraSsdEnabled property: The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS.

Methods inherited from java.lang.Object

Constructor Details

AdditionalCapabilities

public AdditionalCapabilities()

Creates an instance of AdditionalCapabilities class.

Method Details

enableFips1403Encryption

public Boolean enableFips1403Encryption()

Get the enableFips1403Encryption property: The flag enables the usage of FIPS 140-3 compliant cryptography on the protectedSettings of an extension. Learn more at: https://aka.ms/linuxagentfipssupport.

Returns:

the enableFips1403Encryption value.

fromJson

public static AdditionalCapabilities fromJson(JsonReader jsonReader)

Reads an instance of AdditionalCapabilities from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AdditionalCapabilities 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 AdditionalCapabilities.

hibernationEnabled

public Boolean hibernationEnabled()

Get the hibernationEnabled property: The flag that enables or disables hibernation capability on the VM.

Returns:

the hibernationEnabled value.

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 one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.

Returns:

the ultraSsdEnabled value.

validate

public void validate()

Validates the instance.

withEnableFips1403Encryption

public AdditionalCapabilities withEnableFips1403Encryption(Boolean enableFips1403Encryption)

Set the enableFips1403Encryption property: The flag enables the usage of FIPS 140-3 compliant cryptography on the protectedSettings of an extension. Learn more at: https://aka.ms/linuxagentfipssupport.

Parameters:

enableFips1403Encryption - the enableFips1403Encryption value to set.

Returns:

the AdditionalCapabilities object itself.

withHibernationEnabled

public AdditionalCapabilities withHibernationEnabled(Boolean hibernationEnabled)

Set the hibernationEnabled property: The flag that enables or disables hibernation capability on the VM.

Parameters:

hibernationEnabled - the hibernationEnabled value to set.

Returns:

the AdditionalCapabilities object itself.

withUltraSsdEnabled

public AdditionalCapabilities withUltraSsdEnabled(Boolean ultraSsdEnabled)

Set the ultraSsdEnabled property: The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.

Parameters:

ultraSsdEnabled - the ultraSsdEnabled value to set.

Returns:

the AdditionalCapabilities object itself.

Applies to