Searched refs:current_upgrade_policy (Results 1 – 2 of 2) sorted by relevance
234 def _set_uprade_policy(current_upgrade_policy, argument249 if current_upgrade_policy is None:250 current_upgrade_policy = ApplicationUpgradePolicy()253 current_upgrade_policy.force_restart = force_restart258 if current_upgrade_policy.rolling_upgrade_monitoring_policy is None:260 current_upgrade_policy.rolling_upgrade_monitoring_policy \269 current_upgrade_policy.rolling_upgrade_monitoring_policy.failure_action = failure_action282 if current_upgrade_policy.application_health_policy is None:283 current_upgrade_policy.application_health_policy = ArmApplicationHealthPolicy()286 current_upgrade_policy.application_health_policy.consider_warning_as_error = True[all …]
570 def _set_upgrade_policy(current_upgrade_policy, argument588 if current_upgrade_policy is None:589 current_upgrade_policy = ApplicationUpgradePolicy()592 current_upgrade_policy.force_restart = force_restart594 current_upgrade_policy.recreate_application = recreate_application596 current_upgrade_policy.upgrade_mode = upgrade_mode603 if current_upgrade_policy.rolling_upgrade_monitoring_policy is None:626 if current_upgrade_policy.application_health_policy is None:627 current_upgrade_policy.application_health_policy = ApplicationHealthPolicy(633 current_upgrade_policy.application_health_policy.consider_warning_as_error = True[all …]