Home
last modified time | relevance | path

Searched refs:current_upgrade_policy (Results 1 – 2 of 2) sorted by relevance

/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/servicefabric/operations/
H A Dapplications.py234 def _set_uprade_policy(current_upgrade_policy, argument
249 if current_upgrade_policy is None:
250 current_upgrade_policy = ApplicationUpgradePolicy()
253 current_upgrade_policy.force_restart = force_restart
258 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_action
282 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 …]
H A Dmanaged_applications.py570 def _set_upgrade_policy(current_upgrade_policy, argument
588 if current_upgrade_policy is None:
589 current_upgrade_policy = ApplicationUpgradePolicy()
592 current_upgrade_policy.force_restart = force_restart
594 current_upgrade_policy.recreate_application = recreate_application
596 current_upgrade_policy.upgrade_mode = upgrade_mode
603 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 …]