Uses of Class
com.azure.resourcemanager.compute.models.SpotRestorePolicy
Packages that use SpotRestorePolicy
Package
Description
Package containing the inner data models for ComputeManagementClient.
Package containing the data models for ComputeManagementClient.
-
Uses of SpotRestorePolicy in com.azure.resourcemanager.compute.fluent.models
Methods in com.azure.resourcemanager.compute.fluent.models that return SpotRestorePolicyModifier and TypeMethodDescriptionVirtualMachineScaleSetInner.spotRestorePolicy()Get the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.VirtualMachineScaleSetProperties.spotRestorePolicy()Get the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.Methods in com.azure.resourcemanager.compute.fluent.models with parameters of type SpotRestorePolicyModifier and TypeMethodDescriptionVirtualMachineScaleSetInner.withSpotRestorePolicy(SpotRestorePolicy spotRestorePolicy) Set the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.VirtualMachineScaleSetProperties.withSpotRestorePolicy(SpotRestorePolicy spotRestorePolicy) Set the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set. -
Uses of SpotRestorePolicy in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return SpotRestorePolicyModifier and TypeMethodDescriptionSpotRestorePolicy.withEnabled(Boolean enabled) Set the enabled property: Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints.SpotRestorePolicy.withRestoreTimeout(String restoreTimeout) Set the restoreTimeout property: Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances.