Uses of Class
com.azure.compute.batch.models.RollingUpgradePolicy
Packages that use RollingUpgradePolicy
-
Uses of RollingUpgradePolicy in com.azure.compute.batch.models
Methods in com.azure.compute.batch.models that return RollingUpgradePolicyModifier and TypeMethodDescriptionstatic RollingUpgradePolicy
RollingUpgradePolicy.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of RollingUpgradePolicy from the JsonReader.UpgradePolicy.getRollingUpgradePolicy()
Get the rollingUpgradePolicy property: The configuration parameters used while performing a rolling upgrade.RollingUpgradePolicy.setEnableCrossZoneUpgrade
(Boolean enableCrossZoneUpgrade) Set the enableCrossZoneUpgrade property: Allow VMSS to ignore AZ boundaries when constructing upgrade batches.RollingUpgradePolicy.setMaxBatchInstancePercent
(Integer maxBatchInstancePercent) Set the maxBatchInstancePercent property: The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch.RollingUpgradePolicy.setMaxUnhealthyInstancePercent
(Integer maxUnhealthyInstancePercent) Set the maxUnhealthyInstancePercent property: The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts.RollingUpgradePolicy.setMaxUnhealthyUpgradedInstancePercent
(Integer maxUnhealthyUpgradedInstancePercent) Set the maxUnhealthyUpgradedInstancePercent property: The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state.RollingUpgradePolicy.setPauseTimeBetweenBatches
(Duration pauseTimeBetweenBatches) Set the pauseTimeBetweenBatches property: The wait time between completing the update for all virtual machines in one batch and starting the next batch.RollingUpgradePolicy.setPrioritizeUnhealthyInstances
(Boolean prioritizeUnhealthyInstances) Set the prioritizeUnhealthyInstances property: Upgrade all unhealthy instances in a scale set before any healthy instances.RollingUpgradePolicy.setRollbackFailedInstancesOnPolicyBreach
(Boolean rollbackFailedInstancesOnPolicyBreach) Set the rollbackFailedInstancesOnPolicyBreach property: Rollback failed instances to previous model if the Rolling Upgrade policy is violated.Methods in com.azure.compute.batch.models with parameters of type RollingUpgradePolicyModifier and TypeMethodDescriptionUpgradePolicy.setRollingUpgradePolicy
(RollingUpgradePolicy rollingUpgradePolicy) Set the rollingUpgradePolicy property: The configuration parameters used while performing a rolling upgrade.