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.VirtualMachineScaleSetUpdateProperties.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.VirtualMachineScaleSetUpdateProperties.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 TypeMethodDescriptionstatic SpotRestorePolicySpotRestorePolicy.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SpotRestorePolicy from the JsonReader.VirtualMachineScaleSetUpdate.spotRestorePolicy()Get the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.SpotRestorePolicy.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.Methods in com.azure.resourcemanager.compute.models with parameters of type SpotRestorePolicyModifier and TypeMethodDescriptionVirtualMachineScaleSetUpdate.withSpotRestorePolicy(SpotRestorePolicy spotRestorePolicy) Set the spotRestorePolicy property: Specifies the Spot Restore properties for the virtual machine scale set.