def create_upgrade_health_policy(delta_unhealthy_nodes,
    ud_delta_unhealthy_nodes):
    """Create an upgrade node health policy"""
    from azure.servicefabric.models import ClusterUpgradeHealthPolicyObject
    if not any([delta_unhealthy_nodes, ud_delta_unhealthy_nodes]):
        return None
    return ClusterUpgradeHealthPolicyObject(max_percent_delta_unhealthy_nodes
        =delta_unhealthy_nodes,
        max_percent_upgrade_domain_delta_unhealthy_nodes=
        ud_delta_unhealthy_nodes)
