AdditionalCapabilities Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. AdditionalCapabilities
- com.
public final class AdditionalCapabilities
Enables or disables a capability on the virtual machine or virtual machine scale set.
Constructor Summary
Constructor | Description |
---|---|
AdditionalCapabilities() |
Creates an instance of Additional |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
hibernationEnabled()
Get the hibernation |
Boolean |
ultraSsdEnabled()
Get the ultra |
void |
validate()
Validates the instance. |
Additional |
withHibernationEnabled(Boolean hibernationEnabled)
Set the hibernation |
Additional |
withUltraSsdEnabled(Boolean ultraSsdEnabled)
Set the ultra |
Methods inherited from java.lang.Object
Constructor Details
AdditionalCapabilities
public AdditionalCapabilities()
Creates an instance of AdditionalCapabilities class.
Method Details
hibernationEnabled
public Boolean hibernationEnabled()
Get the hibernationEnabled property: The flag that enables or disables hibernation capability on the VM.
Returns:
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:
validate
public void validate()
Validates the instance.
withHibernationEnabled
public AdditionalCapabilities withHibernationEnabled(Boolean hibernationEnabled)
Set the hibernationEnabled property: The flag that enables or disables hibernation capability on the VM.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för